A grid-type converter control system and phase angle jump compensation method based on line impedance estimation

By using a control system based on line impedance estimation to calculate the steady-state power angle base value using positive and negative voltage disturbances, the problem of inaccurate phase angle jump detection in grid-type converters is solved, achieving more accurate phase angle compensation, reducing transient power surges and overcurrents, and enhancing system adaptability.

CN123121552APending Publication Date: 2026-11-17GUANGZHOU FELICITY SOLAR TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611487101.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-23
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

Existing technologies struggle to accurately separate steady-state power angle from actual grid phase angle jumps in grid-connected converters, leading to inaccurate phase angle jump detection and compensation, and an inability to effectively suppress transient power surges and output overcurrents.

Method used

A control system based on line impedance estimation is adopted. By applying positive and negative symmetrical voltage disturbances within a preset identification window, the equivalent admittance parameters are calculated. The noise impact is reduced through differential processing and recursive filtering. The line resistance and reactance are estimated, the steady-state power angle base value is calculated, and phase angle compensation is achieved.

Benefits of technology

It improves the accuracy of phase angle jump detection, reduces power surges and output overcurrent, enhances the converter's adaptability under different power grid conditions, and ensures system stability and fault ride-through capability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123121552A_ABST
    Figure CN123121552A_ABST
Patent Text Reader

Abstract

This invention discloses a phase angle jump control system and compensation method for grid-type converters based on line impedance estimation. The control system, through an active power loop, a power acquisition module, a reactive power loop, and a voltage-current loop, enters the impedance estimation window when safety conditions are met. Positive and negative symmetrical voltage amplitude disturbances are applied. The equivalent admittance parameters are calculated based on the difference between active and reactive power before and after the disturbance, and smoothed using a first-order recursive filter with parameter increment limiting to obtain the equivalent line resistance and reactance. This invention can accurately distinguish between steady-state power angle and actual phase angle jump, improving the accuracy of phase angle jump detection and compensation, suppressing transient power surges and output overcurrents, and enhancing the phase angle jump ride-through capability of grid-type converters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a phase angle compensation method, belonging to the field of power electronics technology, specifically to a phase angle jump compensation method for grid-type converters based on line impedance estimation. Background Technology

[0002] As the proportion of new energy power generation and energy storage devices in the power system continues to increase, the capacity of traditional synchronous machines is relatively decreasing, leading to a decline in system inertia, voltage support, and frequency regulation capabilities. Grid-connected converters, by actively establishing voltage amplitude and frequency, exhibit controlled voltage source characteristics when capacity constraints are not met, enabling rapid response to grid disturbances and providing active and reactive power support. However, processes such as line switching, fault clearing, and reclosing can cause sudden changes in the grid voltage phase angle, resulting in a momentary increase in the power angle between the voltage phasors inside and outside the converter, thereby generating significant transient power and inrush current. Existing control methods typically focus on overcurrent suppression, making it difficult to simultaneously address device safety, phase angle jump-through capability, and transient synchronization stability. Therefore, it is necessary to research effective phase angle compensation methods.

[0003] Currently, to address the grid voltage phase angle jump problem in grid-connected converters, existing technologies mainly consist of three approaches: direct phase angle compensation, synchronous control state compensation, and overcurrent suppression ride-through control. Sudden changes in the grid voltage phase angle cause an instantaneous change in the relative power angle between the converter's internal voltage phasor and the grid voltage phasor, resulting in active power surges, output overcurrent, and internal frequency shifts, which can lead to synchronous instability in severe cases.

[0004] Existing technologies primarily employ phase angle detection and direct internal phase compensation methods. These methods detect the phase change of the grid voltage before and after a fault or disturbance, and directly or proportionally add the detected phase angle change to the internal phase angle of the grid-connected converter. Specifically, some methods calculate the phase compensation amount based on the grid voltage phase change before and after the fault to reduce the power angle jump of the virtual synchronous generator during low-voltage ride-through; others improve the fault ride-through process by dynamically correcting the power angle of the virtual synchronous generator. These methods are simple in structure and have a fast response, but they typically determine the compensation amount directly based on the detected phase angle or a preset compensation relationship, failing to adequately distinguish between the steady-state power angle required for normal active power transmission and the actual phase angle jump of the grid. In weak grids, under heavy loads, or when line impedance changes, steady-state power angle changes may cause deviations in phase angle detection and compensation.

[0005] Existing technologies primarily employ active power, internal frequency, or synchronization state compensation methods. These methods do not directly follow changes in the phase angle of the entire power grid; instead, they alter the power angle movement after a phase angle jump by modifying the active power reference, internal angular frequency, or synchronization control state. Specifically, some propose active power compensation, internal frequency compensation, phase compensation, and integrated compensation methods to improve the recovery characteristics of grid-connected converters after phase angle jumps; others use model predictive control to optimize and correct the phase angle and active power reference online to adjust the transient trajectory after current saturation. These methods can comprehensively improve power, frequency, and power angle dynamics, but the compensation effect depends on control parameters or the system model; parameter tuning and online calculation are relatively complex, and they are quite sensitive to changes in grid strength and operating point.

[0006] Existing technologies primarily employ voltage phasor constraints or virtual impedance for overcurrent suppression. These methods do not directly aim to restore the grid transition angle; instead, they reduce the instantaneous current generated by phase angle transitions by limiting the internal voltage command phasor or increasing the equivalent output impedance. Specifically, some methods limit the allowable range of the grid voltage command based on measured output voltage phasors and verify the current-limiting effect under phase angle transition conditions; others apply threshold virtual impedance based on the voltage vector position to limit the output current of the grid-connected converter. These methods are beneficial for protecting power devices, but their main function is to suppress overcurrent and cannot directly identify the actual phase angle transition of the grid. Furthermore, voltage phasor constraints or virtual impedance can alter the equivalent output characteristics and power transmission relationship of the converter.

[0007] In summary, existing technologies still have the following shortcomings: direct phase angle compensation methods struggle to accurately separate the steady-state power angle from the actual phase jump angle from the relative angle of the voltage vectors; power or frequency compensation methods rely on control parameters and dynamic models, making engineering tuning complex; overcurrent suppression methods primarily limit the current consequences caused by phase jumps and cannot directly improve the extraction accuracy of phase jump variables. Existing technologies have not yet developed a compensation method that uses line impedance and current operating power to calculate the steady-state power angle baseline and, based on this, separates the actual power grid phase jump variables.

[0008] To address the above problems, this invention proposes a phase angle jump compensation method for grid-type converters based on line impedance estimation. Summary of the Invention

[0009] The purpose of this invention is to address the limitations of existing technologies by proposing a grid-type converter control system and a phase angle jump compensation method based on line impedance estimation.

[0010] The present invention adopts the following technical solution: The present invention discloses a grid-type converter control system based on line impedance estimation, characterized in that an inductor L is connected to the AC terminal of the inverter. f One end, inductor Lf The other end is connected to one end of the common coupling point; the other end of the common coupling point is connected to the power grid, which contains impedance Z connected in sequence. g and voltage source v gabc The common coupling point is also connected through capacitor C. f Grounding.

[0011] Furthermore, the control system also includes an active power loop, which includes: reference power P ref With actual power P val The difference is input to the inertial module to obtain the first output, and the first output and the reference angular frequency ω ref The summation is then input to the first integrator module. The output of the first integrator module is combined with the amplitude adjustment signal δ. comp The summation yields the voltage synchronization angle θ. VSG .

[0012] Furthermore, the control system also includes a power acquisition module, which includes: the voltage v at the common coupling point in coordinates abc. PCCabc and the current i of the filter inductor on the converter side sabc After undergoing a coordinate transformation from abc to dq, the data is input into the power and voltage calculation module to obtain the actual active power P. val Actual reactive power Q val The magnitude V of the voltage at the common coupling point PCC The voltage synchronization angle used in the transformation process from the abc to the dq coordinate system is θ. VSG .

[0013] Furthermore, the control system also includes a reactive power loop, which includes: a DC voltage reference value V. ref The magnitude V of the voltage at the point of common coupling PCC The difference is input to the voltage controller, and the reactive power reference value Q is... ref With actual reactive power Q val The difference is input to the reactive power controller. The output of the voltage controller is added to the output of the reactive power controller and then input to the gain module of the reactive power loop integrator. The output of the gain module of the reactive power loop integrator is connected to the input of the second integrator module. The output of the second integrator module is then compared with the DC voltage reference value V. ref The summation is used as the d-axis component, and 0 is used as the q-axis component, resulting in the voltage reference value E in the dq coordinate system. dqref Voltage reference value E dqref Subtract i sdq (R v +jX v The reference value v of the PCC voltage is obtained. PCCdq_ref .

[0014] Furthermore, the control system also includes a voltage and current loop, which includes: a reference value v for the PCC voltage. PCCdq_ref Voltage v of PCC in dq coordinate system PCCdq The difference is input to the first current controller, and the output of the first current controller is related to v. PCCdq *jω n L f After addition, the current command i is obtained as dq. sdq_cmd i sdq_cmd The dq current reference i is obtained through the current limiter sdq_ref i sdq_ref Subtract the actual dq current i sdq The input is then fed to the second current controller, and the output of the second current controller is connected to i. sdq jω n L f v PCCdq After addition, the modulation voltage v in the abc coordinate system is obtained by transforming from the dq coordinate system to the abc coordinate system. mabc The voltage synchronization angle used in the transformation process from the dq to the abc coordinate system is θ. VSG .

[0015] A phase angle jump compensation method for grid-connected converters based on line impedance estimation is characterized by the following: Based on the control system, when the grid connection point voltage is within a preset voltage range, the output current does not reach a limit, the angular frequency deviation is lower than a preset value, and no fault condition is detected, the converter enters an impedance estimation window. Positive and negative symmetrical voltage disturbances are sequentially applied within the identification window where the converter meets safety conditions. The equivalent admittance parameter is calculated based on the difference between active and reactive power under the positive and negative symmetrical voltage disturbances, and a first-order recursive filter with parameter increment limiting is used to smooth the admittance parameter.

[0016] Furthermore, the calculation of the equivalent admittance parameter includes: First, based on the steady-state active power of the positive disturbance P + and steady-state reactive power Q + Steady-state active power under negative disturbance P - and steady-state reactive power Q - The differential result of the positive disturbance power is obtained. The difference results of the negative disturbance power : definition V[k] represents the amplitude of the fundamental voltage used in this impedance estimation, which is the same as the voltage reference value V in steady state. refConsistent; ΔV[k] is the actual voltage amplitude injected this time; Construct two original identification parameters: ; z 1 and z The theoretical parameters corresponding to 2 are: ; Where x1 is the unfiltered raw admittance parameter. z x1 is the theoretical value, and x2 is the unfiltered raw admittance parameter. z The theoretical value of 2, R g X is the total equivalent resistance viewed from the filter capacitor node towards the grid side. g This is the total equivalent reactance viewed from the filter capacitor node towards the grid side.

[0017] Furthermore, the smoothing process includes: For any channel i ∈{1,2}, calculate the deviation between the original value and the previous filtered value: This represents the filtered estimate of the i-th admittance parameter after the previous estimation update; The maximum allowable increment of the i-th admittance parameter in the k-th iteration is determined by the following formula: in, η This is the relative increment coefficient. Δx i,min To be the minimum allowable increment, satisfying Δx i,min >0; Limit deviations to within acceptable limits: The limiting function is defined as: In the formula, e is the input deviation that needs to be limited; a is the positive limiting boundary. The filtered parameters are updated according to the following formula: After unfolding, the two channels are as follows: in α Let be the filter coefficients, satisfying 0 ≤ α <1.

[0018] Furthermore, using the estimated line impedance information, the steady-state power angle basis value is calculated as follows: in P ref R is the reference value for the active power of the converter. g X is the total equivalent resistance viewed from the filter capacitor node towards the grid side. g V is the total equivalent reactance viewed from the filter capacitor node towards the grid side. g It is the voltage amplitude of the power grid; the equivalent impedance of the power grid Z g The resistive component is R g X v For virtual equivalent impedance Z v The permeable component, R v For virtual equivalent impedance Z v The resistive component; E is the virtual internal potential amplitude in the grid-type converter control; The final formula for obtaining the phase angle compensation is: It is an estimated value of the grid impedance, v Cq i represents the q-axis component of the filter capacitor voltage; gq v is the q-axis network-side current; Cd The voltage across the d-axis filter capacitor; i gd This represents the current on the d-axis network side.

[0019] The beneficial effects achieved by this invention are: This invention applies positive and negative symmetrical voltage amplitude disturbances within a preset identification window. Based on the active and reactive power responses under the disturbance state, it estimates the line resistance and reactance, and reduces measurement noise and steady-state bias through differential processing and recursive filtering. After obtaining the line impedance, it calculates the steady-state power angle base value based on the line impedance, virtual impedance, internal voltage amplitude, grid voltage amplitude, and current active power. Then, it subtracts the steady-state power angle base value from the real-time relative angles of the internal and external voltages measured in the grid synchronous coordinate system to obtain the actual phase angle jump of the grid. The corresponding compensation is then superimposed on the internal phase angle of the grid-type converter (compensation is performed according to the converter control frequency by default). This improves the accuracy of phase angle jump detection and compensation under different grid impedances and power operating points, and reduces power surges and output overcurrent.

[0020] To further understand the features and technical content of the present invention, please refer to the following detailed description and drawings of the present invention. However, the drawings provided are for reference and illustration only and are not intended to limit the present invention. Attached Figure Description

[0021] Figure 1 This is a control architecture diagram of the grid-connected energy storage converter of the present invention; Figure 2This is a schematic diagram showing the converter operating in voltage control mode when the impedance estimation function is enabled in the embodiment. Figure 3 This is a schematic diagram of the time-domain waveform of the voltage disturbance injection in the embodiment; Figure 4 This is a schematic diagram illustrating the power grid phase jump mechanism analysis in the embodiment; Figure 5 This is a schematic diagram of the phase angle compensation strategy proposed in the embodiment. Detailed Implementation

[0022] The following specific embodiments illustrate the implementation of the present invention. Those skilled in the art can understand the advantages and effects of the present invention from the content disclosed in this specification. The present invention can be implemented or applied through other different specific embodiments, and various details in this specification can also be modified and changed based on different viewpoints and applications without departing from the spirit of the present invention. Furthermore, the accompanying drawings of the present invention are for simple illustrative purposes only and are not depictions of actual dimensions; this is stated in advance. The following embodiments will further describe the relevant technical content of the present invention in detail, but the disclosed content is not intended to limit the scope of protection of the present invention.

[0023] Example 1: As Figure 1 As shown, a grid-type converter control system based on line impedance estimation is characterized in that an inductor L is connected to the AC terminal of the inverter. f One end, inductor L f The other end is connected to one end of the common coupling point; the other end of the common coupling point is connected to the power grid, which contains impedance Z connected in sequence. g And voltage source (three-phase voltage of the power grid) v gabc The common coupling point is also connected through capacitor C. f Grounding. sabc This refers to the three-phase voltage output from the AC side of the converter bridge arm. Cabc Indicates the filter capacitor current; i oabc Indicates the grid-side output current; v dc This represents the DC side voltage of the inverter; the voltage and current measurements in the main circuit serve as feedback signals for the control loop below, and the control system below ultimately generates the converter modulation command. The upper and lower parts respectively represent the power circuit and control circuit of the same grid-type converter.

[0024] Furthermore, the control system also includes an active power loop, which includes: reference power P ref With actual power P val The difference is input to the inertial module to obtain the first output, and the first output and the reference angular frequency ω ref After summing, the result is input into the first integrator module and then combined with the amplitude adjustment signal δ. amp The summation yields the voltage synchronization angle θ.VSG The active swing equation is the time-domain form of the active loop.

[0025] The inertial module is (1 / (Js+D)). p The first integration module is (1 / s).

[0026] Furthermore, the control system also includes a power acquisition module, which includes the voltage v at the abc coordinate system at the point of common coupling (PCC). PCCabc (If an LC filter is used, then it is also the voltage of the filter capacitor) and the current i of the filter inductor on the converter side. sabc After undergoing a coordinate transformation from abc to dq, the data is input into the power and voltage calculation module to obtain the actual active power P. val Actual reactive power Q val The magnitude V of the voltage at the common coupling point PCC The voltage synchronization angle used in the transformation process from the dq to the abc coordinate system is θ. VSG .

[0027] Furthermore, the control system also includes a reactive power loop, which includes: a DC voltage reference value V. ref The magnitude V of the voltage at the point of common coupling PCC The difference is input to the voltage controller K. v reactive power reference value Q ref With actual reactive power Q val The difference is input to the reactive power controller K. q The output of the voltage controller is added to the output of the reactive power controller and then input to the gain module k of the reactive power loop integrator. Q The output of the gain module of the reactive power loop integrator is connected to the input of the second integrator module (1 / s), and the output of the second integrator module is connected to the DC voltage reference value V. ref After addition, the d-axis component is obtained, and the q-axis component is taken as 0. The overall voltage reference value E in the dq coordinate system is synthesized. dqref Voltage reference value E dqref Subtract i sdq (R v +jX v The reference value v of the PCC voltage is obtained. PCCdq_ref The reactive power loop generates E. dqref The virtual impedance element generates v cdq_ref .

[0028] Furthermore, the control system also includes a voltage and current loop, which includes: a reference value v for the PCC voltage. PCCdq_ref Voltage v of PCC in dq coordinate system Cdq The difference is input to the first current controller, and the output of the first current controller is related to v. PCCdq *jωn L f After addition, the current command i is obtained as dq. sdq_cmd i sdq_cmd The reference current i for dq is obtained by transforming the dq coordinate system to the abc coordinate system. sdq_ref i sdq_ref Subtract the actual dq current i sdq The input is then fed to the second current controller, and the output of the second current controller is connected to i. sdq jω n L f v PCCdq After addition, the modulation voltage v in the abc coordinate system is obtained by transforming from the dq coordinate system to the abc coordinate system. mabc The voltage synchronization angle used in the transformation process from the dq to the abc coordinate system is θ. VSG .

[0029] Furthermore, the first current controller is K. p +K i / s; the second current controller is K pc +K ic / s.

[0030] The control system consists of a power outer loop, a virtual impedance loop, and a voltage and current inner loop. The power outer loop is used to shape the voltage source output characteristics of the converter. The virtual impedance loop improves the converter's adaptability to both strong and weak grids by adjusting the amplitude and impedance characteristics. The voltage and current loop is used to achieve fast and accurate tracking of commands from the outer loop.

[0031] The active power loop / active power control loop uses a virtual synchronous generator (VSG) control method to simulate the rotor swing equation of a synchronous generator. J The equivalent virtual inertia coefficient, D p The active power-frequency droop factor is... P ref This is the reference value for the active power of the converter. P val This represents the actual active power of the converter. ω 0 is the rated angular frequency. ω The angular frequency is obtained from VSG control. Active power-frequency droop coefficient Dp: 10~50 (pu) according to national standards; J is the equivalent virtual inertia.

[0032] This embodiment uses a pure θ_VSG independently output by the active power loop (VSG) as the dq transformation phase angle reference, providing an accurate phase reference for phase angle jump detection that is unaffected by the dynamic response of the PLL. At the same time, the virtual impedance link and inner loop control provide a controllable execution environment and a complete parameter source for impedance identification and phase angle compensation, enabling the system to accurately calculate the steady-state power angle base value and separate the actual grid phase angle jump from the real-time phase deviation. In conjunction with the ring current limiter to maintain voltage source support characteristics during fault current limiting, this control architecture achieves accurate phase angle jump compensation while taking into account weak grid adaptability and fault ride-through capability, thereby suppressing transient power surges and output overcurrent.

[0033] Example 2: This example should be understood as including at least all the features of any of the foregoing examples, and further improving upon them; like Figure 2 to Figure 5 As shown, this embodiment provides a phase angle jump compensation method for grid-connected converters based on line impedance estimation. The method is characterized by being implemented based on the control system. When the grid connection point voltage is within a preset voltage range, the output current does not reach a limit, the angular frequency deviation is lower than a preset value, and no fault condition is detected, the converter enters an impedance estimation window. Positive and negative symmetrical voltage disturbances are sequentially applied within the identification window where the converter meets safety conditions. The equivalent admittance parameter is calculated based on the difference between active and reactive power under the positive and negative symmetrical voltage disturbances, and a first-order recursive filter with parameter increment limiting is used to smooth the admittance parameter.

[0034] The time-domain representation of the active power loop and the active power swing equation are defined as follows: Virtual impedance control can effectively improve the stable operation of a converter over a wide short-circuit ratio range. The virtual impedance parameter is determined by the virtual resistance. R v and virtual inductance L v Composition, internal potential E dqref Subtract machine-side current i sdq The voltage drop across the virtual impedance generates a reference command for the voltage loop. v Cdq_ref Its expression is shown in equation (2).

[0035] The current reference signal output by the voltage loop i sdq_cmd After passing through the loop current limiter, it becomes the current loop reference signal. i sdq_refand the three-phase output current of the converter i sabc The current error signal is obtained through comparison. The current loop employs a PI controller to quickly and accurately track and adjust the current error signal. The PI controller output, superimposed with the voltage feedforward term, is then converted to a natural three-phase coordinate system to obtain a three-phase modulated signal. v mabc s is the Laplace operator, and isdq*s*Lv in the formula represents Lv*(d isdq) / (dt) in the time domain, which is used to simulate the voltage drop across the virtual inductor.

[0036] The loop current limiter does not change the angle of the three-phase composite current command vector, but only compresses the length of the composite vector, limiting the fault current to the upper limit, thus achieving current limiting while preserving the grid voltage support capacity as much as possible. When the loop current limiter is triggered, the voltage control circuit cannot adjust the capacitor voltage to its reference value. v PCCdq_ref To avoid integrator overload, the voltage integral controller remains at zero during current limiting.

[0037] Impedance identification is fundamental to phase angle jump compensation strategies. Impedance identification is preferentially performed during initial grid connection, maintenance and commissioning, low-power operation, energy storage power dispatch gaps, or the operation of the upper-level energy management system. When the grid connection point voltage is within a preset voltage range, the output current does not reach the limit, the angular frequency deviation is lower than the preset value, and no fault condition is detected, the impedance estimation window is entered. Within the identification window where the converter meets safety conditions, positive and negative symmetrical voltage amplitude disturbances are applied sequentially. The equivalent admittance parameters are calculated based on the active and reactive power differential results under the positive and negative symmetrical voltage disturbances, and a first-order recursive filter with parameter increment limiting is used to smooth these admittance parameters.

[0038] After the grid-type converter enters the preset identification window, the reactive power control loop is frozen, causing the converter to operate in voltage control mode. The active power reference is set to zero to ensure the converter's power angle is at a small value, thus reducing the impact of the steady-state power angle on the impedance identification results. The specific control structure is as follows: Figure 2 As shown.

[0039] DC voltage reference value V ref The magnitude V of the voltage at the point of common coupling PCC The difference is input to the voltage controller K. v reactive power reference value Q ref With actual reactive power Q val The difference is input to the reactive power controller K. q The output of the voltage controller is added to the output of the reactive power controller and then input to the gain module k of the reactive power loop integrator. QThe output of the gain module of the reactive power loop integrator is connected to the input of the second integrator module (1 / s). After the grid-type converter enters the preset identification window, the reactive power loop is frozen, the first mode switch is switched to 0, and the output of the first mode switch is connected to V. ref After addition, the sum and 0 together constitute the first dq component. ±ΔE is the d-axis component. After the grid-type converter enters the preset identification window, the second mode switching switch is switched to ±ΔE. ±ΔE is added to the first dq component to obtain E. dqref E dqref After subtracting the output of the third mode switch, we get v. PCCdq_ref The third mode switch outputs 0 when the grid-connected converter enters the preset identification window; otherwise, it outputs i. sdq (Rv+jXv).

[0040] A positive disturbance is superimposed on the voltage amplitude reference: in The preset voltage amplitude disturbance is manifested as a fundamental frequency amplitude disturbance. This voltage disturbance is a preset percentage of the rated voltage, typically set to 1% to 5%. After applying a positive disturbance, a preset steady-state time is waited for. This allows the voltage inner loop, current inner loop, and power measurement filter to enter a stable state. The preferred frequency range is 5 to 10 fundamental cycles. Within the steady-state range of the positive disturbance, the voltage of the filter capacitor and the grid-side current are collected, and the calculated power is filtered to obtain the steady-state power under the positive disturbance.

[0041] After the forward disturbance measurement is completed, the voltage amplitude reference is restored. Wait for the preset recovery time. This allows the system to return to the identification baseline state. A period of 5 to 10 fundamental frequency cycles is preferred. Then, a negative perturbation is superimposed on the voltage amplitude reference. Furthermore, the calculation of the equivalent admittance parameter includes: First, based on the steady-state active power of the positive disturbance P + and steady-state reactive power Q + Steady-state active power under negative disturbance P - and steady-state reactive power Q - The differential result of the positive disturbance power is obtained. The difference results of the negative disturbance power : By employing positive and negative symmetrical perturbation differential processing, the effects of sensor zero drift, initial power bias, small grid voltage deviations, dead-zone errors, and steady-state power bias on impedance estimation can be effectively suppressed. Voltage command perturbation injection, such as... Figure 3 The value of k represents the update of the impedance estimate for the kth time. P + [k] represents the steady-state active power measured after applying a positive voltage disturbance in the k-th impedance estimation. Q + [k] represents the steady-state reactive power measured after applying a positive voltage disturbance in the k-th impedance estimation; P - [k] represents the steady-state active power measured after applying a negative voltage disturbance in the k-th impedance estimation, Q. - [k] represents the steady-state reactive power measured after applying a negative voltage disturbance in the k-th impedance estimation.

[0042] The disturbance injection amplitude needs to satisfy positive and negative symmetry. In practice, the injection amplitude mainly affects the signal-to-noise ratio of the identification. In addition to being affected by line parameters and load, it is also affected by sampling error. The preferred choice is 1% to 5%.

[0043] Within the identification window, since the output voltage of the grid-connected converter is approximately in phase with the grid voltage, that is: Therefore, the fundamental voltage difference between the grid-connected converter and the power grid is mainly caused by voltage amplitude disturbances. Decision. Let the equivalent impedance viewed from the filter capacitor node towards the grid side be: ; Then we have: R g [k]: The equivalent resistance from the filter capacitor node (PCC) to the grid side, obtained from the k-th impedance estimation; X g [k]: The equivalent reactance from the filter capacitor node (PCC) to the grid side obtained by the k-th impedance estimation; Power measurements are affected by ADC quantization noise, switching ripple, sensor noise, dead-zone effects, harmonics, and power pulsations caused by imbalances. Noise is amplified under light loads or small disturbances in the impedance formula, leading to jitter in the estimated value. To facilitate practical engineering applications, a first-order recursive filter based on parameter increment limiting is used to suppress the influence of noise.

[0044] definition V[k] represents the amplitude of the fundamental voltage used in this impedance estimation, which is the same as the voltage reference value V in steady state. ref Consistent; ΔV[k] is the actual voltage amplitude injected this time; Construct two original identification parameters: ; z 1 and z The theoretical parameters corresponding to 2 are: ; Where x1 is the unfiltered raw admittance parameter. z x1 is the theoretical value, and x2 is the unfiltered raw admittance parameter. z The theoretical value of 2, R g X is the total equivalent resistance viewed from the filter capacitor node towards the grid side. g This is the total equivalent reactance viewed from the filter capacitor node towards the grid side.

[0045] Furthermore, the smoothing process includes: For any channel i ∈{1,2}, calculate the deviation between the original value and the previous filtered value: This represents the filtered estimate of the i-th admittance parameter after the previous estimation update; The maximum allowable increment of the i-th admittance parameter in the k-th iteration is determined by the following formula: in, η This is the relative increment coefficient. Δx i,min To be the minimum allowable increment, satisfying Δx i,min >0; relative increment coefficient η A value of 0.2 is preferred to limit abrupt changes in the single impedance parameter; minimum allowable increment value. Δx i,min It is preferable to select 0.5% to 5% of the initial estimated parameter magnitude to avoid the filter failing to update properly when the parameter is close to zero.

[0046] Limit deviations to within acceptable limits: The limiting function is defined as: In the formula, e represents the input deviation that needs to be limited, corresponding to e i [k]; a is a positive limiting boundary, corresponding to Δx i,max [k]; The function output is restricted to the interval [-a, a].

[0047] The filtered parameters are updated according to the following formula: A smaller α results in smoother filtering and stronger noise suppression, but slower parameter tracking; a larger α results in faster parameter tracking, but also increases the fluctuation of the estimation results.

[0048] After unfolding, the two channels are as follows: in α Let be the filter coefficients, satisfying 0 ≤ α <1, α The smaller the value, the smoother the filter and the stronger the noise suppression capability, but the slower the parameter tracking speed. α The larger the value, the faster the parameter tracking speed, but the greater the fluctuation of the estimation results.

[0049] Filter coefficients α A value of 0.1 is preferred. When a faster impedance change tracking speed is required, it can be increased to 0.3~0.5. When the deviation does not trigger the limiting, the above formula is equivalent to a normal first-order exponential smoothing filter: z i [k] is a unified expression, which is z1[k] when i=1 and z2[k] when i=2.

[0050] When a valid identification result is obtained for the first time, the original parameters are used for initialization: This process avoids slow convergence from zero and prevents the denominator from being too small when calculating the impedance in the initial stage.

[0051] definition: when D x [ k [Greater than the set minimum value] D min Then, calculate the equivalent impedance from the filter capacitor terminal to the grid side: Among them, the impedance back-calculation threshold D min The value is determined based on the normal range of the admittance estimation parameters, and can generally be taken as... ~ .

[0052] The phasor relationship before and after the voltage phase angle jump in the power grid is as follows: Figure 4 As shown. Among them E Represents the internal potential vector. V g0This represents the power grid vector before the phase transition. V g1 This represents the grid vector after the phase transition. Transforming the grid voltage according to the VSG coordinates, i.e., orienting it with internal potential, then atan2( v gq , v gd The ) represents the real-time angle by which the grid voltage leads the internal electromotive force, i.e. δ step Grid-connected converters transmit power via power angle. δ base This represents the base steady-state power angle value required for steady-state power transmission. The actual phase angle of the grid transition is then... δ jump The desired compensation perspective is: Since the grid voltage cannot be directly obtained, the grid voltage is estimated using the common coupling point voltage and grid-side current as equivalents, resulting in: Because in actual control, it is impossible to sample the grid voltage, only the PCC voltage can be sampled; the capacitor voltage and grid current can be sampled, and the grid voltage can be estimated using the estimated grid impedance. This refers to the estimated value of the power grid voltage. This refers to the estimated value of the grid impedance, v. PCCdq This refers to the voltage across the capacitor, i gdq This refers to the grid-connected current. All the above physical quantities are converted to the dq coordinate system, and the angles of the dq coordinate system are provided by the active power loop of the grid control system.

[0053] Phase angle compensation strategy such as Figure 5 As shown, the actual voltage phasing angle of the power grid is compensated to the angle generated by the VSG on a cycle-by-cycle basis to reduce the instantaneous power angle deviation between the internal voltage phasor and the power grid voltage phasor. When the judgment condition is met... δ jump |>Threshold δ th At the same time | ω g - ω VSG |>Threshold△ ω th Only then can compensation be made, among which ω g The threshold is obtained from a phase-locked loop. The selection of the threshold is determined by the actual sampling error and noise; choosing an appropriate value can effectively prevent false triggering of the phase angle compensation mechanism. The preferred threshold for phase angle triggering is 7°~10°.

[0054] Furthermore, using the estimated line impedance information, the steady-state power angle basis value is calculated as follows: in P ref R is the reference value for the active power of the converter. g X is the total equivalent resistance viewed from the filter capacitor node towards the grid side. g X is the total equivalent reactance viewed from the filter capacitor node towards the grid side. g That is, the equivalent impedance Z of the power grid g The reactance component, V g It is the voltage amplitude of the power grid; the equivalent impedance of the power grid Z g The resistive component is R g X v For virtual equivalent impedance Z v The permeable component, R v For virtual equivalent impedance Z v The resistive component; for control without virtual impedance, Xv and Rv can be directly set to zero; E is the virtual internal potential amplitude in the grid-type converter control; The final formula for obtaining the phase angle compensation is: It is an estimated value of the grid impedance, v PCCq The voltage at the common coupling point v PCCdq Components on the q-axis; i gq The grid-connected current igdq is the q-axis component; v PCCd The voltage at the common coupling point v PCCdq Components on the d-axis; i gd This represents the current on the d-axis network side.

[0055] Common coupling point voltage v PCCdq For voltage v PCCabc The result after the transformation from the abc coordinate system to the dq coordinate system, where the voltage synchronization angle used in the abc to dq coordinate system transformation is θ. VSG。

[0056] Compared with existing technologies, this method applies positive and negative symmetrical voltage amplitude disturbances within a preset identification window. It estimates line resistance and reactance based on the active and reactive power responses under the disturbance state, and reduces measurement noise and steady-state bias through differential processing and recursive filtering. After obtaining the line impedance, the steady-state power angle base value is calculated based on the line impedance, virtual impedance, internal voltage amplitude, grid voltage amplitude, and current active power. Then, the steady-state power angle base value is subtracted from the real-time relative angles of the internal and external voltages measured in the grid synchronous coordinate system to obtain the actual phase angle jump of the grid. The corresponding compensation is then superimposed on the internal phase angle of the grid-type converter (compensation is performed by default according to the converter control frequency). This improves the accuracy of phase angle jump detection and compensation under different grid impedances and power operating points, and reduces power surges and output overcurrents.

[0057] like Figure 5 As shown, this embodiment sets up a line impedance estimation module on the control architecture of the grid converter. ), Phase angle jump detection module ( Figure 5 The upper part of the control block diagram shows that the detection module outputs 1 only after the condition is met, thus enabling the phase angle jump compensation output at the output terminal, and the phase angle compensation module ( Figure 5 The lower half of the control block diagram calculates the compensation amount for phase angle jumps based on the estimated impedance, enabling effective identification and accurate compensation of power grid phase angle jumps under different operating conditions.

[0058] During the line impedance identification stage, within the identification window that meets the preset safety conditions, the grid converter is switched to the preset voltage control state, and positive and negative symmetrical disturbances are sequentially superimposed on the voltage amplitude reference value. The grid connection point voltage, current, active power, and reactive power under the two disturbance states are collected, and the equivalent resistance and reactance of the line are obtained through differential calculation and recursive filtering.

[0059] The safety conditions are: initial grid connection, maintenance and commissioning, low-power operation, energy storage power scheduling gaps, or the time window during the operation of the upper-level energy management system. The impedance estimation window is entered when the grid connection point voltage is within the preset voltage range, the output current does not reach the limit, the angular frequency deviation is lower than the preset value, and no fault condition is detected. This ensures stable system operation rather than performing impedance estimation under fault conditions with significant disturbances.

[0060] The preset voltage control state refers to the state where, after entering the impedance estimation mode, the reactive power control loop is frozen, and the reactive power-voltage droop control is changed to open-loop control of the rated voltage. Since the active power loop is set to zero power reference, this is equivalent to performing closed-loop control of voltage and current only, which is called the preset voltage control state.

[0061] The safe time window is the upper-level operating time range within which impedance identification is permitted, such as initial grid connection, maintenance and commissioning, low-power operation, or power dispatch gaps. Within this time window, only when the grid connection point voltage, output current, angular frequency deviation, and fault status further meet the preset safety conditions will the specific impedance estimation window be entered and disturbance injection be performed. Therefore, the impedance estimation window is the specific execution window formed after further safety conditions are met within the safe time window.

[0062] During normal operation, the steady-state power angle base value is calculated based on line impedance, virtual impedance, internal potential amplitude, grid voltage amplitude, and active power reference value. The grid connection point voltage is transformed to the synchronous rotating coordinate system of the grid converter itself, and based on its... d , q The real-time phase deviation of the axis voltage component is calculated, and the steady-state power angle base value is subtracted to obtain the actual phase angle jump variable of the power grid.

[0063] When the phase angle jump and angular frequency deviation meet the preset trigger conditions, phase angle compensation is initiated. The phase angle compensation amount is added to the internal phase angle of the grid converter according to the preset change rate in each control cycle, so that the internal voltage phasor smoothly follows the phase angle change of the grid, thereby reducing the power surge and output overcurrent caused by sudden phase angle changes.

[0064] This embodiment solves the problem that existing grid-type converter phase angle jump compensation methods are difficult to accurately distinguish between steady-state power angle and actual grid phase angle jump variables. The method estimates the equivalent resistance and reactance of the line by positive and negative symmetrical voltage amplitude disturbances, and calculates the steady-state power angle base value by combining virtual impedance and the current active operating point. Then, it extracts the actual phase angle jump variable from the real-time relative angle of the voltage vector and implements compensation.

[0065] The present invention has the following advantages: 1. Improve the accuracy of phase angle jump detection. By calculating and subtracting the steady-state power angle base value required for normal power transmission, the steady-state power angle is avoided from being misjudged as a phase angle jump in the power grid, which is especially suitable for weak power grids and heavy load operation conditions.

[0066] 2. Enhance adaptability under different power grid conditions. The calculation of phase angle jump variables comprehensively considers line impedance, virtual impedance, and the current active power operating point, and can be adjusted according to changes in power grid impedance and operating status, reducing errors caused by fixed compensation parameters.

[0067] 3. Reduce transient impact caused by phase angle jumps. Compensating the extracted phase angle jump variable to the internal phase angle of the grid-type converter can reduce the instantaneous power angle deviation between the internal and external voltage phasors, suppress active power surges and output overcurrents, and improve the phase angle jump ride-through capability.

[0068] The content disclosed above is only a preferred and feasible embodiment of the present invention, and is not intended to limit the scope of protection of the present invention. Therefore, all equivalent technical changes made based on the content of the present invention specification and drawings are included within the scope of protection of the present invention. Furthermore, the elements therein can be updated as technology develops.

Claims

1. A grid-type converter control system based on line impedance estimation, characterized in that, Inductor L is connected to the AC terminal of the inverter. f One end, inductor L f The other end is connected to one end of the common coupling point; the other end of the common coupling point is connected to the power grid, which contains impedance Z connected in sequence. g and voltage source v gabc The common coupling point is also connected through capacitor C. f Grounding.

2. The grid-type converter control system based on line impedance estimation as described in claim 1, characterized in that, The control system also includes an active power loop, which includes: reference power P ref With actual power P val The difference is input to the inertial module to obtain the first output, and the first output and the reference angular frequency ω ref The summation is then input to the first integrator module. The output of the first integrator module is combined with the amplitude adjustment signal δ. comp The summation yields the voltage synchronization angle θ. VSG .

3. The grid-type converter control system based on line impedance estimation as described in claim 2, characterized in that, The control system also includes a power acquisition module, which includes the voltage v at the common coupling point in coordinates abc. PCCabc and the current i of the filter inductor on the converter side sabc After undergoing a coordinate transformation from abc to dq, the data is input into the power and voltage calculation module to obtain the actual active power P. val Actual reactive power Q val The magnitude V of the voltage at the common coupling point PCC The voltage synchronization angle used in the transformation process from the abc to the dq coordinate system is θ. VSG .

4. A grid-type converter control system based on line impedance estimation as described in claim 3, characterized in that, The control system also includes a reactive power loop, which includes: DC voltage reference value V ref The magnitude V of the voltage at the point of common coupling PCC The difference is input to the voltage controller, and the reactive power reference value Q is... ref With actual reactive power Q val The difference is input to the reactive power controller. The output of the voltage controller is added to the output of the reactive power controller and then input to the gain module of the reactive power loop integrator. The output of the gain module of the reactive power loop integrator is connected to the input of the second integrator module. The output of the second integrator module is then compared with the DC voltage reference value V. ref The summation is used as the d-axis component, and 0 is used as the q-axis component, resulting in the voltage reference value E in the dq coordinate system. dqref Voltage reference value E dqref Subtract i sdq (R v +jX v The reference value v of the PCC voltage is obtained. PCCdq_ref .

5. A grid-type converter control system based on line impedance estimation as described in claim 4, characterized in that, The control system also includes a voltage and current loop, which includes: a reference value v for the PCC voltage. PCCdq_ref The voltage v of PCC in the dq coordinate system PCCdq The difference is input to the first current controller, and the output of the first current controller is related to v. PCCdq *jω n L f After addition, the current command i is obtained as dq. sdq_cmd i sdq_cmd The dq current reference i is obtained through the current limiter sdq_ref i sdq_ref Subtract the actual dq current i sdq The input is then fed to the second current controller, and the output of the second current controller is connected to i. sdq jω n L f v PCCdq After addition, the modulation voltage v in the abc coordinate system is obtained by transforming from the dq coordinate system to the abc coordinate system. mabc The voltage synchronization angle used in the transformation process from the dq to the abc coordinate system is θ. VSG .

6. A method for compensating phase angle jumps in a grid-type converter based on line impedance estimation, characterized in that, Based on the control system described in claim 5, when the grid connection point voltage is within the preset voltage range, the output current does not reach the limit, the angular frequency deviation is lower than the preset value, and no fault condition is detected, the converter enters the impedance estimation window. Positive and negative symmetrical voltage disturbances are applied sequentially within the identification window where the converter meets the safety conditions. The equivalent admittance parameter is calculated based on the difference results of active and reactive power under the positive and negative symmetrical voltage disturbances, and the admittance parameter is smoothed by a first-order recursive filter with parameter increment limiting.

7. The method for compensating phase angle jump in a grid-type converter based on line impedance estimation as described in claim 6, characterized in that, The calculation of the equivalent admittance parameter includes: First, based on the steady-state active power of the positive disturbance P + and steady-state reactive power Q + Steady-state active power under negative disturbance P - and steady-state reactive power Q - The differential result of the positive disturbance power is obtained. The difference results of the negative disturbance power : definition V[k] represents the amplitude of the fundamental voltage used in this impedance estimation, which is the same as the voltage reference value V in steady state. ref Consistent; ΔV[k] is the actual voltage amplitude injected this time; Construct two original identification parameters: ; z 1 and z The theoretical parameters corresponding to 2 are: ; Where x1 is the unfiltered raw admittance parameter. z x1 is the theoretical value, and x2 is the unfiltered raw admittance parameter. z The theoretical value of 2, R g X is the total equivalent resistance viewed from the filter capacitor node towards the grid side. g This is the total equivalent reactance viewed from the filter capacitor node towards the grid side.

8. The method for compensating phase angle jump in a grid-type converter based on line impedance estimation as described in claim 7, characterized in that, The smoothing process includes: For any channel i ∈{1,2}, calculate the deviation between the original value and the previous filtered value: This represents the filtered estimate of the i-th admittance parameter after the previous estimation update; The maximum allowable increment of the i-th admittance parameter in the k-th iteration is determined by the following formula: in, η This is the relative increment coefficient. Δx i,min To be the minimum allowable increment, satisfying Δx i,min >0; Limit deviations to within acceptable limits: The limiting function is defined as: In the formula, e is the input deviation that needs to be limited; a is the positive limiting boundary. The filtered parameters are updated according to the following formula: After unfolding, the two channels are as follows: in α Let be the filter coefficients, satisfying 0 ≤ α <1.

9. The method for compensating phase angle jump in a grid-type converter based on line impedance estimation as described in claim 8, characterized in that, Using the estimated line impedance information, the steady-state power angle basis value is calculated as follows: in P ref R is the reference value for the active power of the converter. g X is the total equivalent resistance viewed from the filter capacitor node towards the grid side. g V is the total equivalent reactance viewed from the filter capacitor node towards the grid side. g It is the voltage amplitude of the power grid; the equivalent impedance of the power grid Z g The resistive component is R g X v For virtual equivalent impedance Z v The permeable component, R v For virtual equivalent impedance Z v The resistive component; E is the virtual internal potential amplitude in the grid-type converter control; The final formula for obtaining the phase angle compensation is: It is an estimated value of the grid impedance, v Cq i represents the q-axis component of the filter capacitor voltage; gq v is the q-axis network-side current; Cd The voltage across the d-axis filter capacitor; i gd This represents the current on the d-axis network side.