A method for identifying the AC side impedance of a grid-connected inverter
By using the Longberg perturbation observer in the grid-connected inverter for online identification of grid impedance and filter inductance, the control accuracy problem caused by grid impedance changes is solved, and the stability and adaptability of the system are improved.
Patent Information
- Application Number
- CN202410323688.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-21
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-03-21
AI Technical Summary
In renewable energy power generation systems, real-time changes in grid impedance lead to reduced stability problems and control accuracy of grid-connected inverters. The existing online grid impedance identification method has poor accuracy and ignores the impact of changes in filter inductance parameters.
The Longberg disturbance observer is used to identify the grid impedance and filter inductor on the AC side of the grid-connected inverter. By establishing a mathematical model of the LCL type three-level grid-connected inverter, and using the Longberg disturbance observer Perform state variable calculation and control algorithm correction.
It improves the control accuracy and stability of the grid-connected inverter, enhances the real-time monitoring ability of grid impedance and filter inductance changes, and improves the system's adaptability and power quality.
Smart Images

Figure CN118232405B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of power electronics, and in particular to a method for identifying impedance on an AC side of a grid-connected inverter. Background Art
[0002] The vigorous development of renewable energy power generation systems is an important measure to achieve energy transformation. With the continuous grid connection of renewable energy power generation systems, the access of long-distance transmission and nonlinear loads makes the power grid present the characteristics of a weak grid. The non-negligible grid impedance is one of the characteristics of a weak grid. When the photovoltaic grid-connected inverter is connected to a weak grid, the real-time change of the grid impedance will cause the resonance point of the grid-connected inverter to shift, which will cause stability problems of the grid-connected inverter. The accuracy of the filter inductor will also lead to reduced control accuracy, affecting power generation and other issues.
[0003] When upgrading photovoltaic grid-connected inverters under weak power grids, online identification of grid impedance is a must. At present, among the online identification methods for grid impedance, the more mature ones are harmonic injection methods. By injecting non-characteristic subharmonics or pulse signals, the impedance measurement at a single frequency or a wide range of frequencies can be measured, but the accuracy is poor. In addition, there are some methods such as exciting LCL resonance, power disturbance injection, voltage and current dual-mode disturbance injection for online detection of grid impedance, and the injection method is not conducive to the improvement of power quality. The grid impedance detection method based on artificial intelligence algorithm lacks practicality due to its large amount of calculation. On the contrary, the application of parameter online identification methods in the field of motor control is relatively mature. In recent years, the extended Kalman filter method has been applied to grid impedance detection and has fully demonstrated its advantages in the field of grid impedance detection. However, the existing methods all detect the grid impedance and ignore the impact of the change of the inductance parameters of the filter itself. In the field of grid-connected inverters, the control of grid current control, zero-sequence circulating current suppression, weak grid adaptive capability, etc. all require online estimation of inductance parameters and grid impedance.
[0004] As the industries with the largest share of carbon emissions in my country, electricity and heating require reducing total energy consumption, improving energy utilization, and using negative carbon emission technologies and natural carbon sinks as important ways in this process, while developing a high proportion of renewable energy is the main path.
[0005] With the large-scale grid connection of renewable energy power generation systems and the access of a large number of power electronic equipment, the power grid is showing a trend of weak grid. The change of grid impedance is one of the manifestations of the electrical characteristics of weak grids. Online estimation of grid impedance is the only way to deal with weak grids. When the grid impedance is large, the overall damping of the grid-connected inverter is insufficient, which will affect the stability of the entire system. At the same time, the grid-connected inverter needs to be equipped with a filter to filter out harmonics. The inductance in the filter will cause the theoretical inductance parameters to not match the actual values due to external factors such as production process, magnetic circuit saturation, temperature changes, and aging, resulting in control accuracy problems. Summary of the invention
[0006] The technical problem to be solved by the present invention is to provide a method for identifying the AC side impedance of a grid-connected inverter, apply a Lumberg disturbance observer to the online identification of the AC side impedance of the grid-connected inverter, design a specific implementation process of the Lumberg disturbance observer to identify the AC side impedance, take the inverter output voltage and the ideal grid voltage as input state quantities, the grid current as the output state quantity, the grid impedance and the filter inductance as the observed state quantities, so as to realize the joint identification of the grid impedance and the filter inductance.
[0007] In order to solve the above technical problems, the present invention provides a method for identifying the AC side impedance of a grid-connected inverter, comprising the following steps:
[0008] Step 1: Establish a mathematical model of the AC side of an LCL type three-level grid-connected inverter;
[0009] Step 2, establish the Romberg disturbance observer form of the AC side mathematical model in step 1;
[0010] Step 3: Using the Romberg disturbance observer, according to the AC side mathematical model, the relevant state variables are obtained: x is the observed state variable, u is the input state variable, and y is the output state variable;
[0011] Step 4: Use the Romberg disturbance observer to identify the AC side impedance online and modify the grid-connected inverter control algorithm.
[0012] Furthermore, the specific steps of establishing the AC side mathematical model of the LCL type three-level grid-connected inverter in step 1 are as follows:
[0013] Step 1.1: The AC side filter in the three-level grid-connected inverter is LCL type, U dc is the DC side voltage, L x1 , L x2 and C fx It is a component of the LCL filter; u xo represents the x-phase inverter output voltage, i x1 and i x2 Respectively represent L x1 and Lx2 The x-phase current; U PCCx Indicates the x-phase grid voltage, L xg and R xg The grid impedance, e x represents the x-phase ideal grid voltage; where x = a, b, c;
[0014] Step 1.2: According to Kirchhoff's voltage law, the mathematical model of the AC side is obtained as Formula 1:
[0015]
[0016] Among them, U Rx is the voltage across the resistor in the grid impedance;
[0017] Step 1.3: Write the above mathematical model into matrix form as Formula 2:
[0018]
[0019] Among them, u αo and u βo Represent the inverter output voltage under α-axis and β-axis respectively; e α and e β Represent the ideal grid voltage under α-axis and β-axis respectively; i 1α and i 2β Represent the inverter grid-connected current under the α-axis and β-axis respectively.
[0020] Furthermore, the specific steps of establishing the Romberg disturbance observer form of the AC side mathematical model in step 1 in step 2 are as follows:
[0021] If the changes of AC side inductance and grid impedance are regarded as a disturbance to the system, the Romberg disturbance observer can be used to perform online identification of AC side grid impedance and inductance.
[0022] Formula 2 can be written as the perturbation form of Formula 3:
[0023]
[0024] In formula 3, the disturbance amount is expressed as formula 4:
[0025]
[0026] Among them, ΔL and ΔR are the inductance and resistance corresponding to the disturbance respectively;
[0027] The mathematical model obtained is Formula 5:
[0028]
[0029] Furthermore, the specific steps of obtaining the state variables in step 3 are as follows:
[0030] Select i 2α 、i 2β 、f α 、f β As the state variable, the equation is obtained as formula 6:
[0031]
[0032] Where x = [i 2α i 2β f α f β ] T , y=[i 2α i 2β i 2α i 2β ] T ,u=[u αo -e α u βo -e β ] T ,
[0033]
[0034]
[0035] The principle of the Romberg disturbance observer is to compare the output of the observer with the actual value based on the mathematical model of the target to obtain the target estimate when the error is within an acceptable range; based on the mathematical model of the controlled object, the state equation is obtained as Formula 7:
[0036]
[0037] Where x is the observed state variable, u is the input state variable, and y is the output state variable.
[0038] Furthermore, the specific steps of online identification of the AC side impedance using the Romberg disturbance observer in step 4 are as follows:
[0039] Step 4.1: Calculate and obtain the state equation of the Romberg disturbance observer;
[0040] Step 4.2: Calculate the estimation error of the Romberg disturbance observer;
[0041] Step 4.3: The convergence speed of the Romberg disturbance observer will be determined by the eigenvalue of D-GN, so the stability of the Romberg observer is judged to obtain the conditions that need to be met and the value range of related parameters;
[0042] Step 4.4: According to the obtained AC side impedance value, the grid-connected inverter control algorithm is modified to improve the control accuracy.
[0043] Furthermore, the specific steps of calculating the state equation of the Lumberg disturbance observer in step 4.1 are as follows: using a feedback matrix G to introduce the error of the output state variable into formula 7, the state equation of the Lumberg disturbance observer can be obtained as formula 8:
[0044]
[0045] Furthermore, the specific steps of calculating the estimation error of the Romberg disturbance observer in step 4.2 are as follows:
[0046] According to the structure of the Romberg disturbance observer, the estimated error of the Romberg disturbance observer is derived as Formula 9:
[0047]
[0048] The equation of state Substituting into the above-mentioned Romberg disturbance observer, we can get Formula 10:
[0049]
[0050] In the formula,
[0051] Discretizing Formula 9, we can get Formula 11:
[0052]
[0053] in,
[0054] Formula 11 is rewritten as Formula 12:
[0055]
[0056] Furthermore, the specific steps of judging the stability of the Romberg observer in step 4.3 and obtaining the conditions that need to be met and the value range of the relevant parameters are as follows:
[0057] The convergence speed of the Romberg disturbance observer will be determined by the eigenvalue of D-GN. If the Romberg observer is to be stable, then Formula 13 must be satisfied:
[0058]
[0059] Where a0 = G2b2T s (G2b2T s -b1T s -G1), a1=G2b2Ts (b1T s -G1-1), a1=G2b2T s b1=R g / L g b2=1 / L g ;
[0060] The above stability is judged by Routh criterion, and the following condition, namely formula 14, is obtained:
[0061]
[0062] By substituting the calculation, we can get the parameter value range in the feedback matrix as Formula 15:
[0063]
[0064] Furthermore, in step 4.4, the specific steps of correcting the grid-connected inverter control algorithm according to the obtained AC side impedance value to improve the control accuracy are as follows:
[0065] Since the zero-sequence circulating current does not flow through the filter capacitor, the AC side filter is equivalent to an inductor, so the voltage on the AC side inductor is expressed as Formula 16:
[0066]
[0067] Since the given current of each inverter is the same, it is only necessary to compensate the circulating voltage in the circuit. The compensation measure is to add the corresponding component to the duty cycle, that is, Formula 17:
[0068]
[0069] From the above formula, we can see that the control of zero-sequence circulating current compensation voltage is related to the AC side inductance L xm Therefore, the inductance value can be accurately determined through the AC side inductor Lxm, making the control more precise.
[0070] The beneficial effects of the present invention are:
[0071] The present invention provides an AC side impedance identification method for a grid-connected inverter. The impedance mathematical model of the AC side of the grid-connected inverter is established through step 1, and then rewritten into the form of a Romberg disturbance observer in step 2. The AC side impedance is accurately identified using the Romberg disturbance observer in step 3, thereby solving the problem of poor control accuracy when the filter inductance and the grid impedance change in the prior art. The method can improve the control performance of the grid-connected inverter. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] Figure 1 is a flow chart of the present invention;
[0073] Figure 2 It is a structural diagram of a grid-connected inverter system under a weak power grid in a specific embodiment;
[0074] Figure 3 It is a structural schematic diagram of the Romberg disturbance observer in a specific embodiment;
[0075] Figure 4 It is a simulation waveform diagram of the AC impedance online identification method based on the Romberg disturbance observer in a specific embodiment;
[0076] Figure 5 It is a single-phase equivalent circuit diagram in a specific embodiment;
[0077] Figure 6 It is a single-phase equivalent circuit diagram divided in a specific embodiment. DETAILED DESCRIPTION
[0078] like Figure 1 As shown, the present invention provides a method for identifying the AC side impedance of a grid-connected inverter, comprising the following steps:
[0079] Step 1: Establish a mathematical model of the AC side of an LCL type three-level grid-connected inverter;
[0080] The specific steps of establishing the AC side mathematical model of the LCL type three-level grid-connected inverter in step 1 are as follows:
[0081] Step 1.1: The AC side filter in the three-level grid-connected inverter is LCL type, U dc is the DC side voltage, L x1 , L x2 and C fx It is a component of the LCL filter; u xo represents the x-phase inverter output voltage, i x1 and i x2 Respectively represent L x1 and L x2 The x-phase current; U PCCx Indicates the x-phase grid voltage, L xg and R xg The grid impedance, e x represents the x-phase ideal grid voltage; where x = a, b, c;
[0082] Step 1.2: According to Kirchhoff's voltage law, the mathematical model of the AC side is obtained as Formula 1:
[0083]
[0084] Among them, U Rx is the voltage across the resistor in the grid impedance;
[0085] Step 1.3: Write the above mathematical model into matrix form as Formula 2:
[0086]
[0087] Among them, u αo and u βo Represent the inverter output voltage under α-axis and β-axis respectively; e α and e β Represent the ideal grid voltage under α-axis and β-axis respectively; i 1α and i 2β Represent the inverter grid-connected current under the α-axis and β-axis respectively.
[0088] Step 2, establish the Romberg disturbance observer form of the AC side mathematical model in step 1;
[0089] The specific steps of establishing the Romberg disturbance observer form of the AC side mathematical model in step 1 in step 2 are as follows:
[0090] If the changes of AC side inductance and grid impedance are regarded as a disturbance to the system, the Romberg disturbance observer can be used to perform online identification of AC side grid impedance and inductance.
[0091] Formula 2 can be written as the perturbation form of Formula 3:
[0092]
[0093] In formula 3, the disturbance amount is expressed as formula 4:
[0094]
[0095] Among them, ΔL and ΔR are the inductance and resistance corresponding to the disturbance respectively;
[0096] The mathematical model obtained is Formula 5:
[0097]
[0098] Step 3: Using the Romberg disturbance observer, according to the AC side mathematical model, the relevant state variables are obtained: x is the observed state variable, u is the input state variable, and y is the output state variable;
[0099] The specific steps of obtaining the state variable in step 3 are as follows:
[0100] Select i 2α 、i 2β 、f α 、f β As the state variable, the equation is obtained as formula 6:
[0101]
[0102] Where x = [i 2α i 2β f α f β ] T , y=[i 2α i 2β i 2α i 2β ] T ,u=[u αo -e α u βo -e β ] T ,
[0103]
[0104]
[0105] The principle of the Romberg disturbance observer is to compare the output of the observer with the actual value based on the mathematical model of the target to obtain the target estimate when the error is within an acceptable range; based on the mathematical model of the controlled object, the state equation is obtained as Formula 7:
[0106]
[0107] Where x is the observed state variable, u is the input state variable, and y is the output state variable.
[0108] Step 4: Use the Romberg disturbance observer to identify the AC side impedance online and modify the grid-connected inverter control algorithm.
[0109] The specific steps of using the Romberg disturbance observer to identify the AC side impedance online in step 4 are as follows:
[0110] Step 4.1: Calculate and obtain the state equation of the Romberg disturbance observer;
[0111] By using a feedback matrix G to introduce the error of the output state variable into Formula 7, the state equation of the Romberg disturbance observer can be obtained as Formula 8:
[0112]
[0113] Step 4.2: Calculate the estimation error of the Romberg disturbance observer;
[0114] According to the structure of the Romberg disturbance observer, the estimated error of the Romberg disturbance observer is derived as Formula 9:
[0115]
[0116] The equation of state Substituting into the above-mentioned Romberg disturbance observer, we can get Formula 10:
[0117]
[0118] In the formula,
[0119] Discretizing Formula 9, we can get Formula 11:
[0120]
[0121] in,
[0122] Formula 11 is rewritten as Formula 12:
[0123]
[0124] Step 4.3: The convergence speed of the Romberg disturbance observer will be determined by the eigenvalue of D-GN, so the stability of the Romberg observer is judged to obtain the conditions that need to be met and the value range of related parameters;
[0125] The convergence speed of the Romberg disturbance observer will be determined by the eigenvalue of D-GN. If the Romberg observer is to be stable, then Formula 13 must be satisfied:
[0126]
[0127] Where a0 = G2b2T s (G2b2T s -b1T s -G1), a1=G2b2T s (b1T s -G1-1), a1=G2b2T s b1=R g / L g , b2=1 / L g ;
[0128] The above stability is judged by Routh criterion, and the following condition, namely formula 14, is obtained:
[0129]
[0130] By substituting the calculation, we can get the parameter value range in the feedback matrix as Formula 15:
[0131]
[0132] Step 4.4: According to the obtained AC side impedance value, the grid-connected inverter control algorithm is modified to improve the control accuracy;
[0133] For example, when optimizing the circulating current suppression method of multiple grid-connected inverters, since the zero-sequence circulating current does not flow through the filter capacitor, the AC side filter can be equivalent to an inductor. Its single-phase equivalent circuit is as follows: Figure 5 As shown; it can be divided into the superposition of grid-connected current and zero-sequence circulating current, and the above figure can be split into Figure 6 Two circuits are shown.
[0134] Therefore, the voltage on the AC side inductor can be expressed as:
[0135]
[0136] Since the given current of each inverter is the same, it is only necessary to compensate the circulating voltage in the circuit. The compensation measure is to add the corresponding component to the duty cycle:
[0137]
[0138] It can be seen from the above formula that the control of zero-sequence circulating current compensation voltage is related to the AC side inductance L xm In addition, the present invention can be used to accurately determine the inductance value, making the control more precise.
Claims
1. A method for identifying the AC side impedance of a grid-connected inverter, characterized in that: The steps include: Step 1: Establish a mathematical model of the AC side of an LCL type three-level grid-connected inverter; Step 2, establish the Romberg disturbance observer form of the AC side mathematical model in step 1; Step 3: Using the Romberg disturbance observer, according to the AC side mathematical model, the relevant state variables are obtained: x is the observed state variable, u is the input state variable, and y is the output state variable; Step 4: Use the Romberg disturbance observer to identify the AC side impedance online and modify the grid-connected inverter control algorithm; The specific steps of establishing the AC side mathematical model of the LCL type three-level grid-connected inverter in step 1 are as follows: Step 1.1: The AC side filter in the three-level grid-connected inverter is LCL type, U dc is the DC side voltage, L x1 , L x2 and C fx It is a component of the LCL filter; u xo represents the x-phase inverter output voltage, i x1 and i x2 Respectively represent L x1 and L x2 The x-phase current; U PCCx Indicates the x-phase grid voltage, L xg and R xg The grid impedance, e x represents the x-phase ideal grid voltage; where x = a, b, c; Step 1.2: According to Kirchhoff's voltage law, the mathematical model of the AC side is obtained as Formula 1: Among them, U Rx is the voltage across the resistor in the grid impedance; Step 1.3: Write the above mathematical model into matrix form as Formula 2: Among them, u αo and u βo Represent the inverter output voltage under α-axis and β-axis respectively; e α and e β Represent the ideal grid voltage under α-axis and β-axis respectively; i 1α and i 2β Represent the inverter grid-connected current under the α-axis and β-axis respectively; The specific steps of establishing the Romberg disturbance observer form of the AC side mathematical model in step 1 in step 2 are as follows: The changes of AC side inductance and grid impedance are regarded as a disturbance to the system, and the impedance and inductance of the AC side grid are identified online using the Romberg disturbance observer. Formula 2 can be written as the perturbation form of Formula 3: In formula 3, the disturbance amount is expressed as formula 4: Among them, ΔL and ΔR are the inductance and resistance corresponding to the disturbance respectively; The mathematical model obtained is Formula 5:
2. A method for identifying the AC side impedance of a grid-connected inverter according to claim 1, characterized in that: The specific steps of obtaining the state variable in step 1 are as follows: Select i 2α 、i 2β 、f α 、f β As the state variable, the equation is obtained as formula 6: where x = [i 2α i 2β f α f β T , y = [i 2α i 2β i 2α i 2β T , u = [u αo -e α u βo -e β T , The principle of the Romberg disturbance observer is to compare the output of the observer with the actual value based on the mathematical model of the target to obtain the target estimate when the error is within an acceptable range; based on the mathematical model of the controlled object, the state equation is obtained as Formula 7: Where x is the observed state variable, u is the input state variable, and y is the output state variable.
3. The method for identifying the AC side impedance of a grid-connected inverter according to claim 1, characterized in that: The specific steps of using the Romberg disturbance observer to identify the AC side impedance online in step 2 are as follows: Step 4.1: Calculate and obtain the state equation of the Romberg disturbance observer; Step 4.2: Calculate the estimation error of the Romberg disturbance observer; Step 4.3: The convergence speed of the Romberg disturbance observer will be determined by the eigenvalue of D-GN, so the stability of the Romberg observer is judged to obtain the conditions that need to be met and the value range of related parameters; Step 4.4: According to the obtained AC side impedance value, the grid-connected inverter control algorithm is modified to improve the control accuracy.
4. A method for identifying the AC side impedance of a grid-connected inverter according to claim 3, characterized in that: The specific steps of calculating the state equation of the Romberg disturbance observer in step 4.1 are as follows: Using a feedback matrix G, the error of the output state variable is introduced into Formula 7, and the state equation of the Romberg disturbance observer is obtained as Formula 8:
5. The method for identifying the AC side impedance of a grid-connected inverter according to claim 3, characterized in that: The specific steps of calculating the estimation error of the Romberg disturbance observer in step 4.2 are as follows: According to the structure of the Romberg disturbance observer, the estimated error of the Romberg disturbance observer is derived as Formula 9: The equation of state Substituting into the above-mentioned Romberg disturbance observer, we get Formula 10: In the formula, Discretizing Formula 9, we can get Formula 11: in, Formula 11 is rewritten as Formula 12:
6. The method for identifying the AC side impedance of a grid-connected inverter according to claim 3, characterized in that: The specific steps for judging the stability of the Romberg observer in step 4.3 and obtaining the conditions to be met and the value range of the relevant parameters are as follows: The convergence speed of the Romberg disturbance observer will be determined by the eigenvalue of D-GN. If the Romberg observer is to be stable, then Formula 13 must be satisfied: Where a0 = G2b2T s (G2b2T s -b1T s -G1), a1=G2b2T s (b1T s -G1-1), a1=G2b2T s b1=R g / L g b2=1 / L g ; The above stability is judged by Routh criterion, and the following condition, namely formula 14, is obtained: By substituting the calculation, we can get the parameter value range in the feedback matrix as Formula 15:
7. The method for identifying the AC side impedance of a grid-connected inverter according to claim 3, characterized in that: In step 4.4, the specific steps of correcting the grid-connected inverter control algorithm according to the obtained AC side impedance value to improve the control accuracy are as follows: Since the zero-sequence circulating current does not flow through the filter capacitor, the AC side filter is equivalent to an inductor, so the voltage on the AC side inductor is expressed as Formula 16: Since the given current of each inverter is the same, it is only necessary to compensate the circulating voltage in the circuit. The compensation measure is to add the corresponding component to the duty cycle, that is, Formula 17: From the above formula, we can see that the control of zero-sequence circulating current compensation voltage is related to the AC side inductance L xm Therefore, the inductance value can be accurately determined through the AC side inductor Lxm, making the control more precise.
Citation Information
Patent Citations
Single-phase bridge-type inverter back electromotive force identification method
CN107154767A
Power grid impedance measuring device and method
CN111435141A
Single-phase LCL type inverter predictive control method based on parameter online identification
CN113972690A
Nonlinear control method for micro-grid inverter with Anti-disturbance
US20190288611A1
