Time-lag stability margin solving method of grid-forming inverter grid-connected system

Through the solution of time delay stability margin of grid-connected inverter system, the problems of phase margin reduction and system bandwidth reduction caused by controlling time delay in large-scale grid-connected power systems of traditional converters are solved. The maximum time lag that the system can withstand and ensure the safe and stable operation of the system.

CN118965725APending Publication Date: 2024-11-15CHINA THREE GORGES UNIV
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410991935.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

Traditional converters have reduced phase margin and reduced system bandwidth due to control delay in large-scale grid-connected power systems, which may lead to system instability in severe cases.

Method used

The time-delay stability margin solution method of grid-connected inverter system is adopted, and the state space model is established through modular modeling, and the state space equations between modules are established, and the Lyapunov-Krasovskii functional and second-order Bessel-Legendre are used. Inequality, solve the time delay stability margin and determine the maximum time delay that the system can withstand.

Benefits of technology

It clarifies the time lag range required for the system to operate stably, provides a reference for the safe and stable operation of the system, reduces the phase margin of the control loop, increases the system bandwidth, and avoids system instability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118965725A_ABST
    Figure CN118965725A_ABST
Patent Text Reader

Abstract

The invention relates to a time-lag stability margin solving method for a network-building type inverter grid-connected system. The method comprises the following steps: step 1, establishing a state space model of each link of the network-building type inverter grid-connected system; 2, according to the state space model of each link established in the step 1, combining the state space models into two state space modules, and recording the two state space modules as a module 1 and a module 2; 3, the state space equations of the module 1 and the module 2 are simultaneously established and substituted into the input and output relation between the module 1 and the module 2, an equation of a time delay system is obtained, and the equation is represented by matrixes A and Ad; and 4, according to the matrixes A and Ad obtained in the step 3, based on a time-delay stability criterion, solving a time-delay stability margin. The time-delay stability margin solving method provided by the invention is not only suitable for a network-forming inverter grid-connected system, but also suitable for other time-delay power systems, and only the time-delay system equation of the system needs to be established and substituted into the time-delay stability criterion for solving.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of power system stability control, and in particular relates to a method for solving the time-delay stability margin of a grid-connected inverter system. Background Art

[0002] Traditional converters adopt a grid-following control strategy, which is based on a phase-locked loop to follow the grid operation. It can achieve good operating results in large power grids and is the earliest and most widely used new energy grid-connected equipment. However, with the increase in the scale of grid connection, the scale of grid-following converters has increased, and the degree of power electronics in the power system has been greatly improved, resulting in a series of new problems such as a decrease in the inertia level and a decrease in voltage stability in the system. As a type of grid-connected control, virtual synchronous machine technology simulates the operating characteristics of traditional synchronous generators and can solve problems such as insufficient grid inertia caused by the large-scale grid connection of new energy, and has therefore received widespread attention. However, virtual synchronous machine control technology is implemented using digital control technology, and there is a delay problem inherent in digital control. The control delay in the digitization process affects the phase margin of the control loop, reduces the bandwidth of the system, and can cause the system to become unstable in severe cases. The time-delay stability margin is the maximum time delay that the power system can withstand to maintain stable operation. Solving the time-delay stability margin and clarifying the delay interval that the system must ensure in a stable operating state are of certain significance for ensuring the stable operation of the system. Summary of the invention

[0003] In order to solve the problem that control time lag affects the phase margin of the control loop, reduces the system bandwidth, and even causes system instability in severe cases, the purpose of the present invention is to provide a method for solving the time lag stability margin of a grid-connected inverter system, so as to determine the maximum time lag that the grid-connected inverter system can withstand to maintain stable operation, thereby providing a certain reference for the safe and stable operation of the system.

[0004] The technical solution adopted by the present invention is:

[0005] A method for solving the time-delay stability margin of a grid-connected inverter system includes the following steps:

[0006] Step 1: Based on the modular modeling concept, the state space model of each link of the grid-connected inverter system is established respectively;

[0007] Step 2: Based on the state space models of each link established in step 1, merge them into two state space modules, denoted as module 1 and module 2;

[0008] Step 3: Combine the state space equations of module 1 and module 2, substitute the input-output relationship between module 1 and module 2, and obtain the equation of the time-delay system, which is expressed by matrices A and A d express;

[0009] Step 4: Based on the matrices A and A obtained in step 3 d , based on the time-delay stability criterion, the time-delay stability margin is solved.

[0010] In the step 1, the grid-connected inverter grid-connected system adopts a virtual synchronous machine control technology, and the control time lag specifically includes a PWM time lag and a time lag in digital circuit acquisition.

[0011] In the step 1, based on the modular modeling concept, a state space model of the grid-connected inverter system is established, including the state space models of the active control link, reactive control link, virtual impedance link, power calculation link, voltage and current dual closed-loop control link, and line link.

[0012] 1) The state space model of the active power control link is:

[0013]

[0014] Where: J is the inertia time constant; D is the damping coefficient; △w is the small signal change of the VSG output angular velocity; is the derivative of △ω; w n is the rated angular velocity; △P e is the small signal change of the active power output from the grid connection point after the filter; [1] is the first-order unit matrix;

[0015] 2) The state space model of the reactive power control link is:

[0016]

[0017] Where: △E ref is the small signal variation of the VSG output voltage, = △E ref The derivative of K q is the reactive integral coefficient; △Q e is the small signal change of the reactive power output from the grid connection point after the filter; [0] is the first-order zero matrix;

[0018] 3) The state space model of the virtual impedance link is:

[0019]

[0020] Where: are the small signal changes of the d-axis and q-axis components of the voltage reference value of the voltage loop; △E dref , △E qref are the small signal changes of the d-axis and q-axis components of the VSG output voltage respectively; △i Ld , △i Lqis the small signal variation of the d-axis and q-axis components of the inverter output voltage; R v is a virtual resistor; L v is the virtual reactance.

[0021] 4) The state space model of the power calculation link is:

[0022]

[0023] Where: w c is the cutoff frequency of the low-pass filter; u od0 、u oq0 are the steady-state values ​​of the d-axis and q-axis components of the grid-connected point voltage respectively; i od0 、i oq0 are the steady-state values ​​of the d-axis and q-axis components of the grid-connected point current respectively; △u od , △u oq are the small signal changes of the d-axis and q-axis components of the grid-connected point voltage respectively; △i od , △i oq They are the small signal changes of the d-axis and q-axis components of the grid-connected point current respectively.

[0024] 5) The state space model of the voltage and current dual closed-loop control link is:

[0025]

[0026] Where: △X v1 , △X v2 is the small signal change of the state variables corresponding to the two integral links of the voltage outer loop, They are △X v1 , △X v2 The derivative of △X c1 , △X c2 is the small signal change of the state variables corresponding to the two integral links of the current outer loop, They are △X c1 , △X c2 The derivative of is the voltage control signal; K pv is the proportional coefficient of the voltage outer loop; K iv is the integral coefficient of the voltage outer loop; K pc is the proportional coefficient of the inner current loop; K ic is the integral coefficient of the inner current loop; C f For the filter capacitor.

[0027] 6) The state space model of the line link is:

[0028]

[0029] Where: R fis the line resistance; L f is the line inductance; w0 is the steady-state value of the VSG output angular velocity; R c is the line resistance; L c is the line inductance; △u id , △u iq They are the small signal changes of the d-axis and q-axis components of the inverter port output voltage respectively.

[0030] In step 2, there is a control time lag when the voltage control signal output by the voltage and current dual closed-loop control link is transmitted to the PWM. Based on this, the voltage and current dual closed-loop control link and the rest of the system are separated by the control time lag to form two modules:

[0031] Module 1 includes a voltage and current dual closed-loop control link, and module 2 includes an active power control link, a reactive power control link, a virtual impedance link, a power calculation link, and a line link.

[0032] The state space representation of module 1 is:

[0033]

[0034] Where x1(t) is the column vector of all state variables of module 1, including △x v1 , △x v2 , △x c1 , △x c2 ; is the derivative of x1(t); u1(t) is the input variable of module 1, including △i od , △i oq , △i Ld , △i Lq , △u od , △u oq ; y1(t) is the output variable of module 1, including A1 is the state matrix of module 1; B1 is the input matrix of module 1; C1 is the output matrix of module 1; D1 is the feedforward matrix of module 1.

[0035] The state space representation of module 2 is as follows:

[0036]

[0037] Where x2(t) is the column vector of all state variables of module 2, including △P e , △Q e , △w, △E ref , △u od , △u oq , △i od , △i oq; y2(t) is the output variable of module 2, including △u od , △u oq , △i od , △i oq ; is the derivative of x2(t); u2(t) is the input variable of module 2, including △u idq ; A2 is the state matrix of module 2; B2 is the input matrix of module 2; C2 is the output matrix of module 2.

[0038] In step 3, the input and output variables of the two modules have the following relationship: the input variable of module 2 is equal to the output variable of module 1 after the control time lag, and the input variable of module 1 is equal to the output variable of module 2;

[0039] In step 3, the state space equations of module 1 and module 2 are combined, and the input-output relationship between the two modules is combined to further obtain the equation of the time-delay system.

[0040] Module 1 and module 2 have the following relationship, where τ represents the time lag:

[0041] u2(t)=y1(t-τ)

[0042] y2(t)=u1(t)

[0043] Connect module 1 and module 2 in series to form a closed-loop structure with time delay. Combining the above formula, we can get the state space expression of the entire closed-loop structure:

[0044]

[0045] In the formula, x(t) represents the column vector composed of all state variables of the system, is the derivative of x(t); x(t-τ) represents the state variable after time lag; A represents the matrix associated with the conventional state variable, A d Represents the matrix related to the time-delay state variable. The specific matrix expression is as follows:

[0046]

[0047] In step 4, a suitable Lyapunov-Krasovskii functional is constructed, and the integral term generated in the derivation process of the Lyapunov-Krasovskii functional is processed based on the second-order Bessel-Legendre inequality, and the Lyapunov stability theorem is used to obtain a more conservative time-delay stability criterion; the matrices A and A d Substituting it into the time-delay stability criterion, the time-delay stability margin of the system can be solved.

[0048] In step 4, the Lyapunov-Krasovskii functional is constructed using the quadratic method as shown below:

[0049]

[0050] Where: V(t) represents the constructed Lyapunov-Krasovskii functional; the superscript T represents the transpose of the matrix; P and Q are symmetric positive definite matrices, R is a symmetric semi-positive definite matrix, so V(t) is positive definite.

[0051] Solving the time derivative of the Lyapunov-Krasovskii functional is as follows:

[0052]

[0053] Where: represents the derivative of the constructed Lyapunov-Krasovskii functional; x T (t) represents the transpose of the state variable; x T (t-τ) represents the transpose of the state variable after the time lag;

[0054] Introduce the second-order Bessel-Legendre inequality to process the integral term in the above formula:

[0055]

[0056] Where: ε is a 3n×1 matrix.

[0057] Substituting formula (9) into formula (8), we have According to the Lyapunov stability theorem, the system is asymptotically stable at this time.

[0058] In step 4, the linear matrix inequality method is used to express the system stability criterion:

[0059] The single-delay stability criterion for the grid-type inverter system expressed by linear matrix inequality is as follows: If there exists a 3n-order symmetric matrix P, n-order symmetric positive definite matrices S and R (n is A and A d The order of ), so that the following linear matrix inequality holds, then the system is asymptotically stable:

[0060]

[0061] Where: θ N (τ) is a 3n-order matrix; f(τ) is a 4n-order matrix.

[0062] The matrices in formula (10) are defined as follows:

[0063]

[0064] Γ=[Γ0Γ1Γ2];Γ0=[I n -I n 0 n 0 n ]

[0065] Γ1=[I n I n -2I n 0 n ]; Γ2=[I n -I n 0 n -6I n ]

[0066] H=[F T Γ T (0)Γ T (1)] T ; F = [AA d 0 n,2n ]

[0067] Where: f0(τ) is a 4n-order matrix; G(τ) is a 3n×4n matrix; is a diagonal matrix of order 4n; is a 3n-order diagonal matrix; Γ0, Γ1, Γ2 are n×4n matrices; Γ is an n×12n matrix; F is an n×4n matrix; H is a 3n×4n matrix; I n Represents the n-order identity matrix; 0 n Represents the n-order zero matrix; 0 m,n represents an m×n zero matrix; He represents the sum of a matrix and a transposed matrix; diag represents a diagonal matrix; and T represents the transpose of a matrix.

[0068] Then the system is asymptotically stable for the time delay τ; according to the established time-delay system equation, replace A and A d Substituting it into the time-delay stability criterion based on the second-order Bessel-Legendre inequality, the time-delay stability margin is obtained.

[0069] The present invention provides a method for solving the time-delay stability margin of a grid-connected inverter system, which has the following beneficial effects:

[0070] 1) The present invention proposes a method for solving the time-delay stability margin of a grid-connected inverter system, clarifies the time-delay interval for maintaining stable operation of the system, and is conducive to the safe and stable operation of the system.

[0071] 2) The present invention obtains a time-delay stability criterion based on the second-order Bessel-Legendre inequality, which is less conservative and the solved time-delay stability margin is closer to the maximum time-delay that the system can withstand in actual operation.

[0072] 3) The method for solving the time-delay stability margin proposed in the present invention is not only applicable to the grid-connected inverter system, but also to other time-delay power systems. It only needs to establish the time-delay system equation of the system and substitute it into the time-delay stability criterion to solve it. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:

[0074] Figure 1 This is a reference diagram of the workflow of the present invention.

[0075] Figure 2 This is a system topology diagram in an embodiment of the present invention.

[0076] Figure 3 1 is a structural diagram of module 1 in an embodiment of the present invention.

[0077] Figure 4 2 is a structural diagram of module 2 in an embodiment of the present invention.

[0078] Figure 5 1 is a connection diagram between module 1 and module 2 in an embodiment of the present invention.

[0079] FIG6 (1) is an output power waveform diagram of an embodiment of the present invention with a time delay of 0 us;

[0080] FIG6 (2) is an output power waveform diagram with a time delay of 50 us in an embodiment of the present invention;

[0081] FIG6 (3) is an output power waveform diagram with a time delay of 100 us in an embodiment of the present invention;

[0082] FIG6 (4) is an output power waveform diagram with a time delay of 200 us in an embodiment of the present invention;

[0083] FIG6 (5) is an output power waveform diagram with a time delay of 230 us in an embodiment of the present invention;

[0084] FIG6 (6) is an output power waveform diagram with a time delay of 235 us in an embodiment of the present invention. DETAILED DESCRIPTION

[0085] The technical solution of the present invention is further specifically described below through embodiments and in conjunction with the accompanying drawings.

[0086] A method for solving the time-delay stability margin of a grid-connected inverter system. The grid-connected control technology is based on digital control and has a control time-delay problem. The method is specifically as follows:

[0087] Firstly, a full-order state space model of the grid-connected inverter system is established, and then a system model considering the control delay is constructed. Then, the Lyapunov-Krasovskii functional is constructed. The integral term generated in the derivation process of the LK functional is processed based on the second-order Bessel-Legendre inequality. The Lyapunov stability theorem is used to obtain a less conservative time-delay stability criterion. The time-delay stability margin of the system is solved based on the linear matrix inequality, and the maximum time delay that the system can withstand to maintain stable operation is obtained, which provides a guarantee for the stable operation of the grid-connected inverter system.

[0088] The grid-connected inverter system topology is as follows: Figure 1 As shown in the figure, the grid-connected system adopts the virtual synchronous machine control strategy, the source end is replaced by an ideal voltage source, and connected to the infinite grid through an LC filter circuit. Figure 2 As shown, the following is a detailed description of the method steps:

[0089] Step 1: Based on the modular modeling concept, the state space model of each sub-module of the grid-connected inverter system is established, including the active control link, reactive control link, virtual impedance link, power calculation link, voltage and current dual closed-loop control link and line link.

[0090] The state space of the active control link is:

[0091]

[0092] Where: J is the inertia time constant; D is the damping coefficient; w is the VSG output angular velocity; P e is the active power output of the grid-connected point after passing through the filter; △ represents the change of small signal.

[0093] The state space of the reactive power control link is:

[0094]

[0095] Where: K q is the reactive integral coefficient; Q e The reactive power output of the grid connection point after the filter; E ref is the VSG output voltage; △ represents the small signal change; △E ref is the small signal variation of the VSG output voltage, = △E ref The derivative of △Q eis the small signal change of the reactive power output by the grid connection point after passing through the filter; [0] is the first-order zero matrix.

[0096] The state space of the virtual impedance link is:

[0097]

[0098] Where: are the small signal changes of the d-axis and q-axis components of the voltage reference value of the voltage loop; △E dref , △E qref are the small signal changes of the d-axis and q-axis components of the VSG output voltage respectively; △i Ld , △i Lq is the small signal variation of the d-axis and q-axis components of the inverter output voltage; R v is a virtual resistor; L v is the virtual reactance.

[0099] The state space of the power calculation link is:

[0100]

[0101] Where: w c is the cutoff frequency of the low-pass filter; u od0 、u oq0 are the steady-state values ​​of the d-axis and q-axis components of the grid-connected point voltage respectively; i od0 、i oq0 are the steady-state values ​​of the d-axis and q-axis components of the grid-connected point current respectively; △u od , △u oq are the small signal changes of the d-axis and q-axis components of the grid-connected point voltage respectively; △i od , △i oq They are the small signal changes of the d-axis and q-axis components of the grid-connected point current respectively.

[0102] The state space of the voltage and current double closed-loop control link is:

[0103]

[0104] Where: △X v1 , △X v2 is the small signal change of the state variables corresponding to the two integral links of the voltage outer loop, They are △X v1 , △X v2 The derivative of △X c1 , △X c2 is the small signal change of the state variables corresponding to the two integral links of the current outer loop, They are △X c1 , △X c2 The derivative of is the voltage control signal; K pv is the proportional coefficient of the voltage outer loop; K iv is the integral coefficient of the voltage outer loop; K pc is the proportional coefficient of the inner current loop; K ic is the integral coefficient of the inner current loop; C f For the filter capacitor.

[0105] The state space model of the line link is:

[0106]

[0107] Where: R f is the line resistance; L f is the line inductance; w0 is the steady-state value of the VSG output angular velocity; R c is the line resistance; L c is the line inductance; △u id , △u iq They are the small signal changes of the d-axis and q-axis components of the inverter port output voltage respectively.

[0108] Step 2: Based on the state space models of each submodule established in step 1, according to the input-output relationship between each submodule, merge them into two state space modules, which are recorded as module 1 and module 2;

[0109] Module 1 includes a voltage and current double closed-loop control link, and its specific structure is as follows Figure 3 As shown:

[0110] The state space of module 1 can be expressed as

[0111]

[0112] Among them, x1(t) is the column vector of all state variables of module 1, including △x v1 , △x v2 , △x c1 , △x c2 ; is the derivative of x1(t); u1(t) is the input variable of module 1, including △i od , △i oq , △i L d、△i Lq , △u od , △u oq ; y1(t) is the output variable of module 1, including A1 is the state matrix of module 1; B1 is the input matrix of module 1; C1 is the output matrix of module 1; D1 is the feedforward matrix of module 1;

[0113] The specific matrices of A1, B1, C1, D1 are as follows:

[0114]

[0115] Module 2 includes all sub-modules except the voltage / current control link: active control link, reactive power control link, virtual impedance link, power calculation link, and grid side link. The specific structure of each sub-module of module 2 is as follows: Figure 4 As shown:

[0116] The state space representation of module 2 is as follows:

[0117]

[0118] Among them, x2(t) is the column vector of all state variables of module 2, including △P e , △Q e , △w, △E ref , △u od , △u oq , △i od , △i oq ; y2(t) is the output variable of module 2, including △u od , △u oq , △i od , △i oq ; is the derivative of x2(t); u2(t) is the input variable of module 2, including △u idq ; A2 is the state matrix of module 2; B2 is the input matrix of module 2; C2 is the output matrix of module 2;

[0119] The expressions of A2, B2, and C2 are as follows:

[0120]

[0121]

[0122] Step 3: Combine the state space equations of module 1 and module 2, substitute the input-output relationship between module 1 and module 2, and obtain the state space form with time delay, and use matrices A and A d express.

[0123] In step 3, the input-output relationship between module 1 and module 2 is as follows: Figure 5 As shown:

[0124] The state space of module 1 can be expressed as:

[0125]

[0126] The state space of module 2 can be expressed as:

[0127]

[0128] Assume the time lag is d(t), then:

[0129] u2(t)=y1(td(t))

[0130] y2(t)=u1(t)

[0131] Module 1 and module 2 are connected in series to form a closed-loop structure with time delay.

[0132] Combining the above formula, we can get the state space expression of the entire closed-loop structure:

[0133]

[0134] here,

[0135] Substituting the matrix obtained in step 3, we get:

[0136]

[0137] Step 4: Construct a suitable Lyapunov-Krasovskii functional, deal with the integral term generated in the derivation process of the Lyapunov-Krasovskii functional based on the second-order Bessel-Legendre inequality, and use the Lyapunov stability theorem to obtain a less conservative time-delay stability criterion, and solve the time-delay stability margin of the system based on the linear matrix inequality.

[0138] When the system does not consider time delay, the stability of the system is judged by directly establishing a state space model and solving the characteristic root of the system. For the time-delay system, the present invention analyzes the stability of the time-delay system based on the Lyapunov stability theorem, using the second-order Bessel-Legendre inequality and combining the linear matrix inequality.

[0139] The Lyapunov-Krasovskii functional is constructed using the quadratic method as shown below:

[0140]

[0141] Where: V(t) represents the constructed Lyapunov-Krasovskii functional; the superscript T represents the transpose of the matrix; P and Q are symmetric positive definite matrices, R is a symmetric semi-positive definite matrix, so V(t) is positive definite.

[0142] Solving the time derivative of the Lyapunov-Krasovskii functional is as follows:

[0143]

[0144] Where: represents the derivative of the constructed Lyapunov-Krasovskii functional; x T (t) represents the transpose of the state variable; x T (t-τ) represents the transpose of the state variable after the time lag;

[0145] Introduce the second-order Bessel-Legendre inequality to process the integral term in the above formula:

[0146]

[0147] Substituting formula (9) into formula (8), we have According to the Lyapunov stability theorem, the system is asymptotically stable at this time.

[0148] The present invention further utilizes a linear matrix inequality method to represent the system stability criterion.

[0149] The single-delay stability criterion for grid-connected inverter systems is: For a given integer N and a fixed time delay τ, assume that there exists P N ∈S (N+1)n and This makes the following linear matrix inequality:

[0150]

[0151] Where: θ N (τ) is a 3n-order matrix; f(τ) is a 4n-order matrix.

[0152] The matrices in formula (10) are defined as follows:

[0153]

[0154] Γ=[Γ0Γ1Γ2];Γ0=[I n -I n 0 n 0 n ]

[0155] Γ1=[I n I n -2I n 0 n ]; Γ2=[I n -I n 0 n -6I n ]

[0156] H=[FT Γ T (0)Γ T (1)] T ; F = [AA d 0 n,2n ]

[0157] Where: f0(τ) is a 4n-order matrix; G(τ) is a 3n×4n matrix; is a diagonal matrix of order 4n; is a 3n-order diagonal matrix; Γ0, Γ1, Γ2 are n×4n matrices; Γ is an n×12n matrix; F is an n×4n matrix; H is a 3n×4n matrix; I n Represents the n-order identity matrix; 0 n Represents the n-order zero matrix; 0 m,n represents an m×n zero matrix; He represents the sum of a matrix and a transposed matrix; diag represents a diagonal matrix; and T represents the transpose of a matrix.

[0158] The system is asymptotically stable for the time delay τ. According to the established time-delay system equation, A and A d Substituting into the time-delay stability criterion based on the second-order Bessel-Legendre inequality, the time-delay stability margin is obtained to be 232.32us.

[0159] In order to verify the correctness and effectiveness of the solution of the time-delay stability margin, a corresponding simulation model is built in MATLAB / SIMULINK. The output active power and reactive power waveforms obtained by simulation are shown in Figure 2 when the control time delay is 0us, 50us, 100us, 200us, 230us, and 235us. Figure 6(1) to Figure 6(6) shown.

[0160] Figure 6 (1) is an output power waveform diagram of the embodiment of the present invention when the time lag is 0us. It can be seen from Figure 6 (1) that when the time lag is 0us, the active power and reactive power output by the system quickly track to the reference value.

[0161] Figure 6 (2) is an output power waveform diagram with a time delay of 50us in an embodiment of the present invention. As shown in Figure 6 (2), as the time delay increases to 50us, the active power and reactive power can still quickly enter a steady state, but there are slight fluctuations compared to the case without time delay.

[0162] Figure 6 (3) is an output power waveform diagram with a time lag of 100us in the embodiment of the present invention. As shown in Figure 6 (3), as the time lag increases to 100us, the active power and reactive power begin to oscillate slightly before entering a steady state.

[0163] Figure 6 (4) is an output power waveform diagram with a time delay of 200us in an embodiment of the present invention. As shown in Figure 6 (4), as the time delay increases to 200us, the amplitude of the active power and reactive power oscillations begins to increase, and the speed of oscillation convergence begins to slow down.

[0164] Figure 6 (5) is an output power waveform diagram with a time delay of 230us in an embodiment of the present invention. As shown in Figure 6 (5), as the time delay increases to 200us, the amplitude of the active power and reactive power oscillations becomes larger, and the speed of oscillation convergence becomes slower.

[0165] Figure 6 (6) is an output power waveform diagram of the embodiment of the present invention with a time delay of 235us. As shown in Figure 6 (6), as the time delay increases to 235us, it has exceeded the time delay stability margin of the system, and the output active power and reactive power show divergent oscillations, indicating that the system is unstable.

[0166] In summary, before the time delay exceeds the time delay stability margin, as the time delay continues to increase, the amplitude of the oscillation gradually increases, and the speed of oscillation convergence gradually slows down. At this time, since the time delay still does not exceed the time delay stability margin, the output power can eventually tend to be stable. When the time delay exceeds the time delay stability margin, the output power oscillates divergently and the system becomes unstable. Based on this, the correctness of the solution to the time delay stability margin is verified.

Claims

1. A method for solving the time-delay stability margin of a grid-connected inverter system, characterized in that The following steps are involved: Step 1: Establish the state space model of each link of the grid-connected inverter system; Step 2: Based on the state space models of each link established in step 1, merge them into two state space modules, denoted as module 1 and module 2; Step 3: Combine the state space equations of module 1 and module 2, substitute the input-output relationship between module 1 and module 2, and obtain the equation of the time-delay system, which is expressed by matrices A and A d express; Step 4: Based on the matrices A and A obtained in step 3 d , based on the time-delay stability criterion, the time-delay stability margin is solved.

2. The method for solving the time-delay stability margin of a grid-connected inverter system according to claim 1, characterized in that: In the step 1, the grid-connected inverter grid-connected system adopts a virtual synchronous machine control technology, and the control time lag specifically includes a PWM time lag and a time lag in digital circuit acquisition.

3. The method for solving the time-delay stability margin of a grid-connected inverter system according to claim 2, characterized in that: In the step 1, based on the modular modeling concept, a state space model of the grid-connected inverter system is established, including the state space models of the active control link, reactive power control link, virtual impedance link, power calculation link, voltage and current double closed-loop control link, and line link; 1) The state space model of the active power control link is: Δw=[1]Δw (1); Where: J is the inertia time constant; D is the damping coefficient; Δw is the small signal change of the VSG output angular velocity; is the derivative of Δω; w n is the rated angular velocity; ΔP e is the small signal change of the active power output from the grid connection point after the filter; [1] is the first-order unit matrix; 2) The state space model of the reactive power control link is: ΔE ref =[1]ΔE ref Where: ΔE ref is the small signal variation of the VSG output voltage, = ΔE ref The derivative of K q is the reactive integral coefficient; ΔQ e is the small signal change of the reactive power output from the grid connection point after the filter; [0] is the first-order zero matrix; 3) The state space model of the virtual impedance link is: Where: are the small signal changes of the d-axis and q-axis components of the voltage reference value of the voltage loop; ΔE dref , ΔE qref are the small signal changes of the d-axis and q-axis components of the VSG output voltage respectively; Δi Ld , Δi Lq is the small signal variation of the d-axis and q-axis components of the inverter output voltage; R v is a virtual resistor; L v is the virtual reactance; 4) The state space model of the power calculation link is: Where: w c is the cut-off frequency of the low-pass filter; u od0 、u oq0 are the steady-state values ​​of the d-axis and q-axis components of the grid-connected point voltage respectively; i od0 、i oq0 are the steady-state values ​​of the d-axis and q-axis components of the grid-connected point current, respectively; Δu od , Δu oq are the small signal changes of the d-axis and q-axis components of the grid-connected point voltage respectively; Δi od , Δi oq are the small signal changes of the d-axis and q-axis components of the grid-connected point current respectively; 5) The state space model of the voltage and current dual closed-loop control link is: Where: ΔX v1 , ΔX v2 is the small signal change of the state variables corresponding to the two integral links of the voltage outer loop, are ΔX v1 , ΔX v2 The derivative of ΔX c1 , ΔX c2 is the small signal change of the state variables corresponding to the two integral links of the current outer loop, are ΔX c1 , ΔX c2 The derivative of is the voltage control signal; K pv is the proportional coefficient of the voltage outer loop; K iv is the integral coefficient of the voltage outer loop; K pc is the proportional coefficient of the inner current loop; K ic is the integral coefficient of the inner current loop; C f is the filter capacitor; 6) The state space model of the line link is: Where: R f is the line resistance; L f is the line inductance; w0 is the steady-state value of the VSG output angular velocity; R c is the line resistance; L c is the line inductance; Δu id , Δu iq They are the small signal changes of the d-axis and q-axis components of the inverter port output voltage respectively.

4. The method for solving the time-delay stability margin of a grid-connected inverter system according to claim 1, characterized in that: In step 2, there is a control time lag when the voltage control signal output by the voltage and current dual closed-loop control link is transmitted to the PWM. Based on this, the voltage and current dual closed-loop control link is separated from the rest of the system based on the control time lag. It consists of two modules: Module 1 includes voltage and current double closed-loop control links, and module 2 includes active power control links, reactive power control links, virtual impedance links, power calculation links, and line links; The state space representation of module 1 is: Where x1(t) is the column vector of all state variables of module 1, including Δx v1 , Δx v2 , Δx c1 , Δx c2 ; is the derivative of x1(t); u1(t) is the input variable of module 1, including Δi od , Δi oq , Δi Ld , Δi Lq , Δu od , Δu oq ; y1(t) is the output variable of module 1, including A1 is the state matrix of module 1; B1 is the input matrix of module 1; C1 is the output matrix of module 1; D1 is the feedforward matrix of module 1; The state space representation of module 2 is as follows: Where x2(t) is the column vector of all state variables of module 2, including ΔP e , ΔQ e , Δw, ΔE ref , Δu od , Δu oq , Δi od , Δi oq ; y2(t) is the output variable of module 2, including Δu od , Δu oq , Δi od , Δi oq ; is the derivative of x2(t); u2(t) is the input variable of module 2, including Δu idq ; A2 is the state matrix of module 2; B2 is the input matrix of module 2; C2 is the output matrix of module 2.

5. The method for solving the time-delay stability margin of a grid-connected inverter system according to claim 1, characterized in that: In step 3, the input and output variables of the two modules have the following relationship: the input variable of module 2 is equal to the output variable of module 1 after the control time lag, and the input variable of module 1 is equal to the output variable of module 2.

6. The method for solving the time-delay stability margin of a grid-connected inverter system according to claim 5, characterized in that: In step 3, the state space equations of module 1 and module 2 are combined, and the input-output relationship between the two modules is combined to further obtain the equation of the time-delay system; Module 1 and module 2 have the following relationship, where τ represents the time lag: u2(t)=y1(t-τ) y2(t)=u1(t) Connect module 1 and module 2 in series to form a closed-loop structure with time delay; combine the above formula to obtain the state space expression of the entire closed-loop structure: In the formula, x(t) represents the column vector composed of all state variables of the system, is the derivative of x(t); x(t-τ) represents the state variable after time lag; A represents the matrix associated with the conventional state variable, A d Represents the matrix related to the time-delay state variable. The specific matrix expression is as follows:

7. The method for solving the time-delay stability margin of a grid-connected inverter system according to claim 1, characterized in that: In step 4, a suitable Lyapunov-Krasovskii functional is constructed, and the integral term generated in the derivation process of the Lyapunov-Krasovskii functional is processed based on the second-order Bessel-Legendre inequality, and the Lyapunov stability theorem is used to obtain a more conservative time-delay stability criterion; the matrices A and A d Substituting it into the time-delay stability criterion, the time-delay stability margin of the system can be solved.

8. The method for solving the time-delay stability margin of a grid-connected inverter system according to claim 7, characterized in that: In step 4, the Lyapunov-Krasovskii functional is constructed using the quadratic method as shown below: Where: V(t) represents the constructed Lyapunov-Krasovskii functional; superscript T represents the transpose of the matrix; P and Q are symmetric positive definite matrices, R is a symmetric semi-positive definite matrix, so V(t) is positive definite; Solving the time derivative of the Lyapunov-Krasovskii functional is as follows: Where: represents the derivative of the constructed Lyapunov-Krasovskii functional; x T (t) represents the transpose of the state variable; x T (t-τ) represents the transpose of the state variable after the time lag; Introduce the second-order Bessel-Legendre inequality to process the integral term in the above formula: Where: ε is a 3n×1 matrix; Substituting formula (9) into formula (8), we have According to the Lyapunov stability theorem, the system is asymptotically stable at this time.

9. The method for solving the time-delay stability margin of a grid-connected inverter system according to claim 8, characterized in that: In step 4, the single-delay stability criterion for the grid-type inverter system expressed by the linear matrix inequality is as follows: if there exists a 3n-order symmetric matrix P, n-order symmetric positive definite matrices S and R, such that the following linear matrix inequality holds, then the system is asymptotically stable: Where: θ N (τ) is a 3n-order matrix; f(τ) is a 4n-order matrix; The matrices in formula (10) are defined as follows: C=[C0 C1 C2];C0=[I n -I n 0 n 0 n ] Γ1=[I n I n -2I n 0 n ];Γ2=[I n -I n 0 n -6I n ] H=[F T C T (0) C T (1)] T ;F=[AA d 0 n,2n ] Where: f0(τ) is a 4n-order matrix; G(τ) is a 3n×4n matrix; is a diagonal matrix of order 4n; is a 3n-order diagonal matrix; Γ0, Γ1, Γ2 are n×4n matrices; Γ is an n×12n matrix; F is an n×4n matrix; H is a 3n×4n matrix; I n represents the n-th order identity matrix; 0 n represents the n-th order zero matrix; 0 m,n represents an m×n zero matrix; He represents the sum of a matrix and a transposed matrix; diag represents a diagonal matrix; T represents the transpose of the matrix; The system is asymptotically stable for the time delay τ. According to the established time-delay system equation, A and A d Substituting it into the time-delay stability criterion based on the second-order Bessel-Legendre inequality, the time-delay stability margin is obtained.

Citation Information

Cited By

  • Distributed energy storage cooperative control system and device for intelligent power distribution network

    CN120710071A

  • A distributed energy storage collaborative control system and device for a smart power distribution network

    CN120710071B

  • Wind storage aggregation system virtual network construction control method and device suitable for operation under weak network

    CN121863572A

  • Automatic driving vehicle system stability analysis and control method with external interference

    CN122593113A