Resonance suppression and disturbance suppression method based on model predictive control
Through the method based on model predictive control, we design full-state and total disturbance observers and optimize the controller gain, which solves the problem of poor resonance and disturbance suppression performance caused by changes in grid impedance in voltage-free sensing control, and achieves high-performance current control. and system robustness.
Patent Information
- Application Number
- CN202410900933.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-10-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing grid-connected inverters without voltage sensing control have poor resonance and disturbance suppression performance when faced with changes in grid impedance, and the adjustment of control parameters is complex, making it difficult to achieve high-performance current control and system robustness.
Using a model-based predictive control method, the full-state and total disturbance observers are designed through Park transform and Luenberger observer, and combined with the gradient steepest descent method, a steady-state model is established and the controller gain is optimized to achieve robustness against changes in grid impedance. Tracking and perturbation suppression.
When considering changes in grid impedance, it achieves excellent tracking performance without steady-state errors, effectively suppresses the resonance and unknown disturbance of the LCL filter, and improves the system's robustness and current control performance.
Smart Images

Figure CN118868092A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of power electronics technology and grid-connected inverter control, and discloses a method for resonance suppression and disturbance suppression based on model predictive control. Background Art
[0002] As the key interface between renewable energy and the grid, the grid-connected inverter (GCI) must be connected to the grid in practical applications to filter the high switching harmonics generated by the inverter to meet the grid connection standards. Compared with other filters, the inductor-capacitor-inductor (LCL) filter has advantages in cost and size and is quite popular. However, if the controller is not designed properly, the LCL filter may resonate at the natural resonant frequency, resulting in system instability. In addition, there is grid impedance in the actual grid, and the grid-side current performance will be affected by the uncertain grid impedance. In particular, the grid impedance may change the grid-side inductance of the LCL filter, thereby introducing model uncertainty in the voltage-unaware control, and even in the case of voltage sensor-assisted control, it will cause voltage distortion at the point of common coupling (PCC). Therefore, the controller of the GCI system should be guaranteed to effectively suppress the filter resonance and eliminate the influence of grid impedance changes.
[0003] The reason for using voltage-insensitive control for grid-connected inverters is that, in practical applications, compared with traditional control, it has the advantages of eliminating grid-side voltage sensors, reducing hardware complexity and saving costs. In addition, voltage-insensitive control can ensure stable and continuous operation of the system in the event of a voltage sensor failure. In voltage-insensitive control, the adaptive law can be applied to estimate the grid voltage, which is used for phase angle synchronization between the inverter system and the grid, and predictive current control is used to achieve current control. In addition, some studies have proposed grid estimation methods based on virtual flux. Although these methods can operate under unbalanced and distorted grid conditions and perform well in estimating grid voltage and grid-side current tracking, these methods do not consider changes in grid impedance. Several strategies for dealing with grid impedance changes have been proposed. For example, a model predictive control (MPC) was proposed in a study. Based on the Lyapunov stability theory, a full-state observer and a grid voltage observer were designed to obtain accurate grid voltage estimates, and the grid-side current showed good performance. Although this scheme has a certain ability to handle grid impedance changes, its design is affected by grid impedance changes in order to obtain robust controller gain, and has limitations.
[0004] To overcome this limitation, some studies have estimated the impact of total disturbances including grid impedance changes, LCL parameter uncertainty and grid voltage, and extracted the fundamental frequency of the grid voltage based on a pre-noise filter. In addition, the full state and grid voltage can be estimated by an extended state observer, and then the total disturbance is estimated, and the total disturbance observer output is updated to the controller, thereby enhancing the current tracking performance and eliminating steady-state errors. However, since this scheme considers all possible vertex angles when obtaining the total disturbance observer gain using the linear matrix inequality (LMI), it leads to a very conservative solution to the LMI problem. Another idea is to use the gradient steepest descent method to estimate the total disturbance, but this is more conservative than the above method. Some studies have developed an active disturbance suppression control method, designing a resonant extended state observer and a harmonic compensator to eliminate the negative effects of grid voltage disturbances and LCL parameter uncertainty. Although this method shows good tracking and disturbance suppression performance, the parameter adjustment is too complicated.
[0005] Therefore, it is necessary to propose a GCI voltage-free sensing control scheme that can exhibit good tracking performance, achieve high-performance current control, effectively suppress LCL resonance and unknown disturbances, and have strong robustness when considering grid impedance changes. Summary of the invention
[0006] Technical problem: The current control scheme for grid-connected inverters without voltage sensing control is not mature. Most of them do not take into account the change of grid impedance and show poor resonance and disturbance suppression performance. Even if they show good suppression performance, the adjustment of control parameters is relatively complicated. In order to achieve high-performance current control, effectively suppress LCL filter resonance and unknown disturbances, improve system robustness, and enable GCI to operate without grid voltage sensors when responding to grid impedance changes, the present invention proposes a method of resonance suppression and disturbance suppression based on model predictive control.
[0007] Technical solution:
[0008] The technical solution adopted by the present invention to solve the technical problem is: a method for resonance suppression and disturbance suppression based on model predictive control is proposed, which specifically includes the following contents:
[0009] The present invention provides a method for resonance suppression and disturbance suppression based on model predictive control, comprising the following steps:
[0010] S1. By performing Park transformation and integration on the differential equations of the GCI system in the natural reference coordinate system, the system state space model is established, and the discrete nominal model of the system is obtained by combining discretization and nominalization;
[0011] S2, measure the system output and determine the observer gain based on the Luenberger observer theory, establish a full-state observer; introduce the estimated grid-side current, determine the key regulation parameters through the steepest descent method, and design the total disturbance observer;
[0012] S3, using the total disturbance observer output to replace the total disturbance to establish a steady-state model, thereby obtaining a steady-state control input; establishing a cost function and solving the optimization problem based on LMI to design the controller gain to design a model predictive control scheme;
[0013] S4. Aggregate the above models to construct the closed-loop and open-loop state space models of the system as a whole, and establish the complex frequency domain (Z domain) transfer function of the discrete-time signal. Then, by drawing the frequency response diagram and the system eigenvalue diagram, and applying the MATLAB simulation platform for simulation, the disturbance suppression and robustness of the control scheme are verified.
[0014] In step S1, the grid-side current is measured;
[0015] Under dynamic conditions, the system differential equations in the natural reference coordinate system are converted into a state space model in the synchronous reference coordinate system, and then the full state observer and total disturbance estimator are designed to estimate the full state variables and total disturbance.
[0016] In NRF, the mathematical model of the GCI system is described as follows:
[0017]
[0018] represents the inverter side current, represents the grid-side current, represents the inverter voltage, represents the capacitor voltage, represents the grid voltage at the common coupling point, and e abc It represents the grid voltage. Through Park transformation, the mathematical model in the natural reference coordinate system can be converted into the synchronous reference coordinate system, and then the system differential equation is applied to establish the continuous time state space model of the system as follows:
[0019]
[0020] y(t)=C c x(t)
[0021] in e=[e q e d ] T are the system state vector, control input vector and grid voltage vector respectively. f =L2+Lg , ω is the angular frequency of the grid voltage.
[0022]
[0023] The continuous-time state-space model is obtained by the forward Euler method with sampling time T s Converted into a discrete model, and then realized the use of control algorithm in digital signal, due to the grid impedance L g is an unknown value, and the system model needs to be converted into a nominal model; digital implementation continuously generates time delays, so a sampling delay is used in the control input to compensate for this time delay; considering the time delay, the above formula is rewritten as follows, and the final GCI system discrete nominal state space model is derived:
[0024] x(k+1)=A n x(k)+B n u(k-1)+D n d L (k)
[0025] y(k)=C d x(k).
[0026] To reduce the number of measurements and hardware complexity, a full state and total disturbance observer is designed in step S2 to estimate the full state variables and the total disturbance.
[0027] In step S2, the full state observer and the total disturbance observer are designed under SRF;
[0028] Firstly, a full-state observer is established based on the Luenberger observer.
[0029] Then, the total disturbance observer is designed based on the gradient steepest descent method.
[0030] For full state observer design;
[0031] Assume that the matrix (A) in the discrete nominal state space model of the GCI system finally obtained in step S1 is n ,C d ) accurately describes all state variables; then the full-state observer can be designed based on the measurement y(k) by applying the Luenberger observer theory, and the specific variables of the GCI system model finally obtained are brought into the general formula of the Luenberger observer, and the full-state observer expression is obtained as follows:
[0032]
[0033] in, represents the output of the full state variable observer (the estimated value of the full state variables of the GCI system model finally obtained in step S1), represents the total disturbance observer output value (the figure in the specification shows the origin and influence of the disturbance and its observer output in the system control model), L x is the observer gain matrix;
[0034] Due to the unknown nature of the total disturbance, the gradient steepest descent method is applied to design it, and the estimated total disturbance is updated to the above equation.
[0035] Assuming that the total disturbance estimate converges smoothly to the actual value, the error dynamics can be derived; thus determining the observer gain L x , so that the error dynamics becomes a Hurvitz matrix; then, the objective function is selected using the positive definite matrix P as follows:
[0036] V(k)=e x (k+1) T P x (k+1)
[0037] Applying Lyapunov stability theory, if the error of the full-state observer converges dynamically to zero, then:
[0038]
[0039] The above formula is valid if the following conditions are met:
[0040] (A n -L x C d ) T P(A n -L x C d )-P<(1-ε 2 )
[0041] This condition is equivalent to
[0042] ε 2 P-(A n -L x C d ) T P(A n -L x C d )>0
[0043] Where ε is the decay rate of the tracking state error. By applying Schur complement, the above equation can be rewritten in matrix form as follows:
[0044]
[0045] Then, the above formula can be rewritten as:
[0046]
[0047] Where: Y = PL x , by choosing the decay rate ε, the observer gain is obtained by solving the following optimization problem:
[0048] min-trace(P), under the premise of satisfying the above formula
[0049] P>0
[0050] Therefore, as long as P and Y are obtained, the observer gain L can be calculated x For: L x =P -1 Y, making the error dynamically monotonically decreasing.
[0051] Perform total disturbance observer design;
[0052] Since the matrix A c and D c The first two rows of A contain only the grid impedance variable. When the grid impedance changes, the matrix A c and D c The components in the first two rows of change accordingly; therefore, the total disturbance directly affects only the grid-side current;
[0053] To design the total disturbance observer, the grid-side estimated current is introduced and the estimation error is defined; then, the total disturbance is estimated by minimizing the quadratic error function E(k), as shown below:
[0054]
[0055] To find the function E(k) with respect to the total disturbance Minimum value, the total disturbance observer is designed based on the gradient steepest descent method. Calculate the gradient ▽E(k) and substitute it into the mathematical model of the total disturbance observer obtained by the gradient steepest descent method as follows:
[0056]
[0057] Where, μ = μ1I 2×2 , and μ1 is a tuning parameter.
[0058] In step S3, the steady-state control input can be determined according to the grid-side current reference value given at each time step; then the MPC is derived according to the steady-state condition;
[0059] First, the desired steady-state conditions need to be determined. The GCI system discrete nominal state space model finally derived under dynamic conditions in step S1 can be expressed under steady-state conditions to obtain the steady-state control input as follows:
[0060]
[0061] in, and u o =[u q0 u d0 ] T are the steady-state values of the state variable x(k) and the control input u(k), respectively; in the steady-state model, the total disturbance observer is applied to output Substitute the total disturbance d L (k);
[0062] Then, the controller gains need to be tuned to design the MPC based on the tracking state error; the tracking state error is defined as follows:
[0063]
[0064] The cost function is established based on the tracking error as follows:
[0065]
[0066] Weight matrix Q = Q T is a symmetric matrix; the weight matrix Q needs to be determined so that when K = 0 (i.e., u(k) = u o ), the cost function decreases monotonically; from the cost function, we can get that when K = 0:
[0067]
[0068] When K = 0, φ is the convergence rate of the tracking state error; using the obtained weight matrix Q, the control gain K is obtained according to the linear matrix inequalities (LMIs).
[0069] The specific method of controlling the gain K is as follows:
[0070]
[0071] From the above formula, it can be seen that the cost function J(k) is monotonically decreasing when the following conditions are met:
[0072] (A n +B n K) T Q(A n +B n K)-Q<0.
[0074] In step S4, the GCI system discrete nominal state space model finally obtained by S1, the full state and total disturbance observer designed by S2, and the MPC scheme designed by S3 are aggregated to further construct the closed-loop and open-loop state space models of the overall system, and verify the disturbance suppression and robustness performance of the control scheme;
[0075] First, the estimate and total perturbation are rewritten as follows:
[0076]
[0077] in
[0078] Then, by aggregating the system dynamics, the observer dynamics, the system model, the estimated values and the total disturbance, and the control input, the overall system is constructed as follows:
[0079]
[0080] After the closed-loop system is established, an open-loop system is established, where and The feedback loop is broken; therefore, the closed-loop and open-loop systems can be expressed as follows:
[0081]
[0082] In order to verify the ability of the proposed control method in dealing with reference tracking performance and disturbance suppression, the frequency response curves of the open-loop and closed-loop systems are plotted with different grid impedance values as parameters; the frequency response curves of the open-loop and closed-loop systems from the reference signal r(k) to the output signal y(k) are plotted considering the presence and absence of grid impedance; in order to verify the effectiveness of disturbance suppression, the frequency response curves of the open-loop and closed-loop systems from the disturbance d L( k) to the frequency response curve of the output y(k).
[0083] The MATLAB simulation platform is used for simulation to verify the resonance suppression performance, disturbance suppression performance, robustness and tracking performance of the control scheme. The overall simulation structure of the system is shown in the abstract figure, and the detailed structure of the system such as the full state and total disturbance observer and the model predictive controller is shown in the figure in the specific implementation.
[0084] To verify the effectiveness of the control scheme, simulations were performed during the startup process, including the cases where the grid impedance did not change and did change. To verify the robustness of the control scheme to sudden grid voltage drops and grid phase angle changes, the grid-side current and phase angle estimation were observed through simulation when the three-phase grid voltage suddenly dropped by 30% at t = 0.15s. Similarly, the grid-side current and phase angle estimation were observed through simulation when the grid phase quickly jumped by 30° at t = 0.15s.
[0085] In general, the MPC scheme designed by the present invention based on the total disturbance observer without grid voltage sensor shows excellent tracking performance without steady-state error when considering the grid impedance. The frequency analysis and zero-pole diagram prove the stability of the whole system, and MPC effectively suppresses LCL resonance and unknown disturbances. The grid-side current sensor enables the initial grid phase angle to be detected, which improves the current transient response. The simulation results verify the effectiveness of the control scheme.
[0086] Beneficial effects: The resonance suppression and disturbance suppression method based on model predictive control proposed in the present invention. The designed full-state and disturbance observer and model predictive current controller show excellent tracking performance without steady-state error when considering the change of grid impedance, realize high-performance current control, and effectively suppress LCL resonance and unknown disturbances. Compared with traditional control, it has stronger robustness. BRIEF DESCRIPTION OF THE DRAWINGS
[0087] Figure 1 It is a system block diagram of a three-phase grid-connected inverter (GCI) with an LCL filter.
[0088] Figure 2 It is the characteristic value of the entire closed-loop system under different grid impedance values.
[0089] Figure 3 Figure 2 is a performance simulation result diagram of grid voltage estimation optimization using different μ1 values, including the cases with and without grid impedance, (a) grid voltage on the q-axis, and (b) grid voltage on the d-axis.
[0090] Figure 4 It is the module structure diagram of the phase-locked loop system.
[0091] Figure 5 This is a simulation result diagram of measuring and estimating the grid phase angle.
[0092] Figure 6 Figure 2 is a performance simulation result diagram of current control optimization using different γ values, including the cases with and without grid impedance, (a) grid current on the q-axis, and (b) grid current on the d-axis.
[0093] Figure 7 It is a detailed block diagram of the model predictive control (MPC) current controller and the full state and total disturbance observer.
[0094] Figure 8 The frequency response diagrams of the open-loop and closed-loop systems under different grid impedance values (γ=7), (a) the control output response diagram from r(k) to y(k), (b) the control output response diagram from d L Plot of the perturbation rejection response from y(k) to y(k).
[0095] Fig. 9 Is with and without grid impedance (L g =4.15mH), the simulation results of current control along the dq axis, (a) grid side current when there is no grid impedance, (b) grid side current when there is grid impedance.
[0096] Fig.10 The simulation results of the proposed control scheme are shown when the grid voltage suddenly drops by 30% at t = 0.15s, (a) grid-side current and grid phase angle, (b) grid voltage.
[0097] Fig.11 These are the simulation results of applying the proposed control scheme when the grid phase rapidly jumps by 30° at t=0.15s, (a) grid-side current and grid phase angle estimation, (b) grid voltage. DETAILED DESCRIPTION
[0098] The present invention will be further described below in conjunction with the accompanying drawings.
[0099] The present invention proposes a method for resonance suppression and disturbance suppression based on model predictive control, comprising the following steps:
[0100] Step 1: By performing Park transformation and integration on the differential equations of the GCI system in the natural reference coordinate system, the system state space model is established, and the discrete nominal model of the system is obtained by combining discretization and nominalization.
[0101] Figure 1 The proposed control scheme and a three-phase GCI with an inductor-capacitor-inductor (LCL) filter are described. Figure 1 In, V dc represents a constant voltage source, L g Represents the grid impedance, C f is a capacitor filter. L1 and L2 are inductors, and their accompanying resistors are represented by R1 and R2, respectively. In the present invention, only the grid-side current is measured, and under dynamic conditions, the grid-connected inverter (GCI) system differential equation in the natural reference coordinate system is converted into a state space model in the synchronous reference coordinate system, and then a full state observer and a total disturbance estimator are designed to estimate the full state variables and disturbances.
[0102] In NRF, the mathematical model of the GCI system can be described as follows:
[0103]
[0104] represents the inverter side current, represents the grid-side current, represents the inverter voltage, represents the capacitor voltage, represents the grid voltage at the PCC (point of common coupling), and e abc Then represents the grid voltage. Through Park transformation, the mathematical model in the natural reference coordinate system can be converted into the synchronous reference coordinate system:
[0105]
[0106] y(t)=C c x(t)
[0107] in e=[e q e d ] T are the system state vector, control input vector and grid voltage vector respectively. f =L2+L g , ω is the angular frequency of the grid voltage.
[0108]
[0109] The continuous-time state-space model is constructed by using the forward Euler method and the sampling time T s is converted into a discrete model to use the control algorithm in digital signals as follows:
[0110] x(k+1)=A d x(k)+B d u(k-1)+D d e(k)
[0111] y(k)=C d x(k)
[0112] Matrix A d , B d , C d and D d It can be calculated as follows: A d =I6×6+A c Ts, B d =B c ·Ts,C d =Cc,D d =D c ·Ts.
[0113] Since the grid impedance L g is an unknown value, and the system model needs to be converted into a nominal model.
[0114] x(k+1)=A n x(k)+B n u(k)+D n dL (k)
[0115] y(k)=C d x(k)
[0116] n represents the nominal value, and:
[0117] The total disturbance and As shown below:
[0118]
[0119] Here, Δ1, Δ2, and Δ3 are uncertain parameters generated when grid impedance exists.
[0120] Digital implementations constantly generate time delays, so a sampling delay is used in the control input to compensate for this time delay. Taking the time delay into account, the above equation is rewritten as follows, and the discrete nominal state space model of the GCI system is derived:
[0121] x(k+1)=A n x(k)+B n u(k-1)+D n d L (k)
[0122] y(k)=C d x(k)
[0123] To reduce the number of measurements and hardware complexity, a total state variable and total disturbance observer is designed in step 2 to estimate the total state variables and total disturbance.
[0124] Step 2: Measure the system output and determine the observer gain based on the Luenberger observer theory to establish a full-state observer; introduce the estimated grid-side current, determine the key regulation parameters through the steepest descent method, and design the total disturbance observer.
[0125] The full state observer and total disturbance observer are designed under SRF.
[0126] For the full-state observer design, assume that the matrix (A) in the discrete nominal state space model of the GCI system obtained in step 1 is n ,C d ) accurately describes all states. Then the full-state observer can be designed based on y(k), as shown below:
[0127]
[0128] in, represents the total state variables and total disturbance observer, L xis the observer gain matrix. Due to the unknown nature of the total disturbance, the present invention designs it based on the gradient steepest descent method below and updates the estimated total disturbance to the above equation. Assuming that the total disturbance estimate converges well to the actual value, the error dynamics can be derived. Then determine the observer gain L x , so that the error dynamics becomes a Hurvitz matrix. Then, the objective function is selected using the positive definite matrix P as follows:
[0129] V(k)=e x (k+1) T P x (k+1)
[0130] Applying Lyapunov stability theory, if the error of the full-state observer converges dynamically to zero, then:
[0131]
[0132] The above formula is valid if the following conditions are met:
[0133] (A n -L x C d ) T P(A n -L x C d )-P<(1-ε 2 )
[0134] This condition is equivalent to
[0135] ε 2 P-(A n -L x C d ) T P(A n -L x C d )>0
[0136] Where ε is the decay rate of the tracking state error. By applying Schur complement, the above equation can be rewritten in matrix form as follows:
[0137]
[0138] Then, the above formula can be rewritten as:
[0139]
[0140] Where: Y = PL x , by choosing the decay rate ε, the observer gain is obtained by solving the following optimization problem:
[0141] min-trace(P), under the premise of satisfying the above formula
[0142] P>0
[0143] Therefore, as long as P and Y are obtained, the observer gain L can be derived x For: L x =P -1 Y, making the error dynamically monotonically decreasing.
[0144] Perform total disturbance observer design. Since the matrix A c and D c The first two rows of A contain only the grid impedance variable. When the grid impedance changes, the matrix A c and D c The components in the first two rows of in change accordingly. Therefore, the total disturbance only directly affects the grid-side current. The grid-side current when the step size is (k+1) is as follows:
[0145]
[0146] in
[0147]
[0148] To design the total disturbance observer, the estimated current on the grid side is introduced and the estimation error is defined.
[0149]
[0150] is the estimated grid-side current. Assume Good tracking estimate In near hour, will converge to And vice versa Good tracking estimate It will also converge to
[0151] The total disturbance is estimated by minimizing the quadratic error function E(k) as follows:
[0152]
[0153] To find the function E(k) with respect to the total disturbance Minimum value, the total disturbance observer is designed based on the gradient steepest descent method, as shown below:
[0154]
[0155] Where, μ = μ1I 2×2, and μ1 is a tuning parameter. Calculate the gradient ▽E(k) and substitute it in, and rewrite the total disturbance observer using the gradient steepest descent method as follows:
[0156]
[0157] Obtain the matrix μ to ensure that the system designed based on the Lyapunov stability theory remains stable. The selected Lyapunov function is as follows:
[0158]
[0159] To ensure the stability of the system, the Lyapunov function must be monotonically decreasing. After listing the function and performing Taylor approximation on it and retaining the first two terms, it is as follows:
[0160]
[0161] where ζ1 is an approximate high-order term. Similarly, applying the Taylor series to the perturbation Δ q (k+1) and Δ d (k+1), and keeping only the first term, we get
[0162]
[0163] in
[0164] Rewrite the above formula as follows:
[0165]
[0166] and therefore:
[0167] δ q (k)≈-μ1(T s / L2) 2 Δ q (k)
[0168] δ d (k)≈-μ1(T s / L2) 2 Δ d (k)
[0169] Substituting the perturbation into the Lyapunov function, the function is rewritten as follows:
[0170]
[0171] Among them, ζ1>0, ζ2>0 are approximate high-order terms, which are omitted in the above formula. ζ=ζ1+ζ2>0, then the condition is equivalent to
[0172]
[0173] And when ξ is positive, the stability condition will only satisfy one of the above inequalities, namely:
[0174]
[0175] is equivalent to:
[0176]
[0177] If 0<ξ<1 / 2, the above formula is equivalent to:
[0178]
[0179] or
[0180]
[0181] If there exists μ1 that satisfies the above equation, the Lyapunov function V1 will decrease monotonically; that is, the estimated current will converge to To verify the stability of the system, the eigenvalues of the entire closed-loop system are plotted as Figure 2 As shown in the figure, it can be seen that the entire system is stable when the grid impedance is less than 4.15mH.
[0182] The best μ value is selected for the system through simulation, thus obtaining the best voltage estimation performance at the nominal value. Figure 3 The simulation results of grid voltage estimation along the q-axis and d-axis using various μ1 values at nominal values are shown. It can be seen from the figure that when using μ1 = 0.7 for voltage estimation, its performance is better than other μ1 cases. The parameter μ1 = 0.7 is used in the remaining simulations.
[0183] The total disturbance observer represents the point of common coupling (PCC) voltage, which includes the grid voltage and grid impedance effects. As a sensorless method, PCC voltage measurement is not possible, so it is proposed to use the q-axis total disturbance estimate in the phase-locked loop (PLL) for synchronization. In the block diagram - Figure 4 How to obtain the estimated grid phase angle is described in . The proportional integral (PI) controller gain is selected as K P =5.0, K I = 20, bandwidth is 32Hz. The grid phase angle is used for current synchronization between the inverter system and the grid.
[0184] To verify whether the inverter system can effectively synchronize with the grid, Figure 5The measured and estimated grid phase angles are shown. Using the grid-side current sensor, the initial grid phase angle can be detected. Compared to the grid current phase angle, the initial grid phase angle is different at 90°. Figure 5 It can be seen that the estimated grid phase angle reaches the actual value immediately at 0.05 s.
[0185] Step 3: Use the total disturbance observer output to replace the total disturbance to establish a steady-state model, thereby obtaining the steady-state control input; establish a cost function and solve the optimization problem based on the linear matrix inequality (LMI) to design the controller gain, and design the MPC scheme.
[0186] Based on the given grid-side current reference at each time step, the steady-state control input can be determined. Then, the MPC scheme is derived based on the steady-state conditions.
[0187] First, the desired steady-state conditions are determined. The dynamic model derived in S1 can be expressed under steady-state conditions to obtain the steady-state control input as follows:
[0188]
[0189] in, and u o =[u q0 u d0 ] T are the steady-state values of the state x(k) and the control input u(k), respectively. In the steady-state model, the total disturbance observer is applied Substitute the total disturbance d L (k). Given a reference current The remaining reference state is calculated as follows:
[0190]
[0191] In addition, the steady-state control input value can be calculated as follows:
[0192]
[0193] Secondly, the controller gain needs to be adjusted. First, the MPC is designed based on the tracking state error. Substituting the steady-state model into the nominal model, the tracking state error is defined as follows:
[0194]
[0195] where δu(k)=u(k)-u o
[0196] The control law is designed as follows:
[0197] Substituting the control law into the above equation, the tracking steady-state error is rewritten as follows:
[0198]
[0199] The cost function is established based on the tracking error as follows:
[0200]
[0201] Weight matrix Q = Q T is a symmetric matrix.
[0202] It is necessary to obtain the weight matrix Q so that when K = 0 (i.e. u(k) = u o ), the cost function decreases monotonically. It can be deduced from the cost function that when K = 0:
[0203]
[0204] By solving the optimization problem, the weight matrix Q is obtained as follows:
[0205]
[0206] Q>0
[0207] In the case of K = 0, φ is the convergence rate of the tracking state error. Using the obtained weight matrix Q, the control gain K can be obtained according to LMI, as follows:
[0208]
[0209] From the above formula, it can be obtained that the cost function J(k) is monotonically decreasing when the following conditions are met:
[0210] (A n +B n K) T Q(A n +B n K)-Q<0
[0211] In addition, the performance of the current control can be adjusted by adjusting the scalar γ as follows:
[0212] K T .K<γI 6×6
[0213] Apply the Shure complement to convert them to LMI:
[0214]
[0215] Then the non-zero stable K value can be determined based on the above two optimization inequalities.
[0216] α (0<α<1) is the convergence rate of the tracking error. The smallest α can make the tracking error approach zero the fastest.
[0217] Simulations are performed to tune the current control and select the best γ value for the system to obtain the best grid-side current estimation performance at nominal values. Figure 6 The grid-side current performance simulated with different γ values is presented in Figure 1. The performance of the grid-side current is better when the γ value increases from 0.5 to 20. However, when γ is greater than 20, overshoot occurs and further increases with the increase in γ value. Based on this observation, the control gain K obtained when γ = 7 shows the best performance and the parameter γ = 7 is used in the rest of the simulations.
[0218] Step 4: Aggregate the discrete nominal state space model of the GCI system finally obtained by S1, the full state and total disturbance observer designed by S2, and the MPC scheme designed by S3 to construct the closed-loop and open-loop state space model of the system as a whole, and establish the Z-domain transfer function to verify the disturbance suppression and robustness performance of the control scheme.
[0219] First, the estimate and total perturbation are rewritten as follows:
[0220]
[0221] in
[0222] Then, by aggregating the system dynamics, observer dynamics, system model, estimated values and total disturbance, and control input, the overall system is constructed as follows:
[0223]
[0224] The overall system can be Figure 7 The above equation does not take into account the sampling time delay of the control input. The steady-state value is rewritten as follows:
[0225]
[0226] u o =Mx o
[0227] in
[0228] Bringing it into the control law model, the control law model is rewritten as follows:
[0229]
[0230] The specific parameters of the three-phase inverter parameters selected in this case are shown in the following table:
[0231] Table 1 Three-phase inverter parameters
[0232] symbol Variable Name Numeric DC DC voltage 147.9V <![CDATA[e abc ]]> Grid phase voltage 40V <![CDATA[F s ]]> Grid voltage frequency 60Hz <![CDATA[T s ]]> Sampling time 100μs <![CDATA[(R1) n / (R2) n ]]> Filter resistor 0.1 / 0.1Ω <h2 style=";text-align:left;direction:ltr"><![CDATA[(L1) <h2 style=";text-align:left;direction:ltr"> n <h2 style=";text-align:left;direction:ltr"> / (L2)<h2 style=";text-align:left;direction:ltr"> n <h2 style=";text-align:left;direction:ltr"> ]]><h2 style=";text-align:left;direction:ltr"> Filter Inductor 1.4 / 0.7Mh <![CDATA[(C f ) n ]]> Filter capacitor 5.0μF
[0233] After the closed-loop system is established, an open-loop system is established, where and The feedback loop is disconnected. Therefore, the closed-loop and open-loop systems are expressed as follows:
[0234]
[0235]
[0236] C cl =C ol =[C d 0 2×10 ]
[0237] In order to verify the effectiveness of the proposed control method in the complex frequency domain (Z domain) of discrete time signals, the transfer functions of the closed-loop and open-loop systems can be established as shown below:
[0238] G cl =G cl (zI-A cl ) -1 B cl
[0239] G ol =G ol (zI-A ol ) -1 B ol
[0240] The above closed-loop and open-loop transfer functions describe the to y(k) (reference tracking) and d L Transfer function from y(k) to y(k) (disturbance rejection).
[0241] In order to verify the control method's ability in dealing with reference tracking performance and disturbance rejection, the frequency response curves of the open-loop and closed-loop systems are plotted with different grid impedance values as parameters, such as Figure 8 As shown in the figure, it can be seen that the system achieves high-quality reference tracking performance at the base frequency.
[0242] To verify the effectiveness of disturbance suppression, Figure 8 (b) shows the perturbation d L The frequency response from y(k) to output y(k) shows that, compared with the open-loop system, where the phase angle changes dramatically at the resonant frequency, the amplitude of the closed-loop system is less than zero in all frequency ranges and the phase changes smoothly, indicating that the control scheme effectively suppresses the resonant frequency of the filter.
[0243] To verify the effectiveness of the control scheme, Fig. 9The simulation results during the startup process are shown, including the cases where the grid impedance does not change and changes. The control scheme has a good transient response, and the current signal reaches a steady-state value at t = 0.02s. When L is added at t = 0.15s g When the grid impedance is =4.15mH, the grid impedance will cause the control signal to have a slight overshoot on the q-axis and d-axis, and the current control signal will return to the steady-state value after 0.05s.
[0244] In order to verify the robustness of the control scheme to sudden grid voltage drops and grid phase angle changes, Fig.10 The grid current and phase angle estimation are shown when the three-phase grid voltage suddenly drops by 30% at t = 0.15s. Although the sudden grid voltage drop causes a slight oscillation in the grid current, it takes only 0.03s to recover to the steady-state value. In addition, the sudden grid voltage change has no effect on the grid phase angle estimation.
[0245] Similarly, Fig.11 The grid current and phase angle estimation are shown when the grid phase changes rapidly by 30° at t=0.15s. The figure shows that the grid phase change causes slight oscillations in both the grid current and the grid voltage. However, they converge to a steady state quickly in a short time.
[0246] In general, the MPC scheme designed by the present invention based on the total disturbance observer without grid voltage sensor shows excellent tracking performance without steady-state error when considering the grid impedance. The frequency analysis and zero-pole diagram prove the stability of the whole system, and MPC effectively suppresses LCL resonance and unknown disturbances. The grid-side current sensor enables the initial grid phase angle to be detected, which improves the current transient response. The simulation results verify the effectiveness of the control scheme.
[0247] Although the present invention has been described above with preferred embodiments, it is not intended to limit the present invention. A person skilled in the art of the present invention may make various modifications and improvements without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be determined by the definition of the claims.
Claims
1. A method for resonance suppression and disturbance suppression based on model predictive control, characterized in that: The steps include: S1. By performing Park transformation and integration on the differential equations of the grid-connected inverter system in the natural reference coordinate system, a system state space model is established, and the discrete nominal state space model of the GCI system is obtained by combining discretization and nominalization; S2, measure the system output and determine the observer gain based on the Luenberger observer theory, establish a full-state observer; introduce the estimated grid-side current, determine the key regulation parameters through the steepest descent method, and design the total disturbance observer; S3, using the total disturbance observer output to replace the total disturbance to establish a steady-state model, thereby obtaining a steady-state control input; A model predictive control scheme was designed by establishing a cost function and solving an optimization problem based on linear matrix inequalities to design controller gains; S4. Aggregate the above models to construct the closed-loop and open-loop state space models of the system as a whole, and establish the complex frequency domain (Z domain) transfer function of the discrete-time signal. Then, by drawing the frequency response diagram and the system eigenvalue diagram, and applying the MATLAB simulation platform for simulation, the disturbance suppression and robustness of the control scheme are verified.
2. The method for resonance suppression and disturbance suppression based on model predictive control according to claim 1, characterized in that: In step S1, the grid-side current is measured; Under dynamic conditions, the system differential equations in the natural reference coordinate system are converted into a state space model in the synchronous reference coordinate system, and then the full state observer and total disturbance estimator are designed to estimate the full state variables and total disturbance. In the natural reference coordinate system, the mathematical model of the GCI system is described as follows: represents the inverter side current, represents the grid-side current, represents the inverter voltage, represents the capacitor voltage, represents the grid voltage at the common coupling point, and e abc It represents the grid voltage. Through Park transformation, the mathematical model in the natural reference coordinate system can be converted into the synchronous reference coordinate system, and then the system differential equation is applied to establish the continuous time state space model of the system as follows: y(t)=C c x(t) in e=[e q e d ] T are the system state vector, control input vector and grid voltage vector respectively; L f =L2+L g , ω is the angular frequency of the grid voltage; The continuous-time state-space model is obtained by the forward Euler method with sampling time T s Converted into a discrete model, and then realized the use of control algorithm in digital signal, due to the grid impedance L g is an unknown value, and the system model needs to be converted into a nominal model; digital implementation continuously generates time delays, so a sampling delay is used in the control input to compensate for this time delay; considering the time delay, the above formula is rewritten as follows, and the final GCI system discrete nominal state space model is derived: x(k+1)=A n x(k)+B n u(k-1)+D n d L (k) y(k)=C d x(k)。 3. The method for resonance suppression and disturbance suppression based on model predictive control according to claim 1, characterized in that: To reduce the number of measurements and hardware complexity, a full-state and total disturbance observer is designed in step S2 to estimate the full state variables and total disturbance; In step S2, the full state observer and the total disturbance observer are designed under SRF; First, a full-state observer is established based on the Luenberger observer; Then, the total disturbance observer is designed based on the gradient steepest descent method.
4. The method for resonance suppression and disturbance suppression based on model predictive control according to claim 3, characterized in that: For full state observer design; Assume that the matrix (A) in the discrete nominal state space model of the GCI system finally obtained in step S1 is n ,C d ) accurately describes all state variables; then the full-state observer can be designed based on the measurement y(k) by applying the Luenberger observer theory, and the specific variables of the GCI system model finally obtained are brought into the general formula of the Luenberger observer, and the full-state observer expression is obtained as follows: in, represents the output of the full state variable observer, which is the estimated value of the full state variables of the discrete nominal state space model of the GCI system finally obtained in step S1, represents the total disturbance observer output value, the observer output value of the disturbance of the GCI system model finally obtained in step S1, L x is the observer gain matrix; Due to the unknown nature of the total disturbance, the gradient steepest descent method is applied to design it, and the estimated total disturbance is updated to the above equation; Assuming that the total disturbance estimate converges smoothly to the actual value, the error dynamics can be derived; thus determining the observer gain L x , so that the error dynamics becomes a Hurvitz matrix; then, the objective function is selected using the positive definite matrix P as follows: V(k)=e x (k+1) T On x (k+1) Applying Lyapunov stability theory, if the error of the full-state observer converges dynamically to zero, then: The above formula is valid if the following conditions are met: (TO n -THE x C d ) T P(A n -THE x C d )-P<(1-ε 2 )P This condition is equivalent to ε 2 P-(A n -L x C d ) T P(A n -L x C d )>0 Where ε is the decay rate of the tracking state error. By applying Schur complement, the above equation can be rewritten in matrix form as follows: Then, the above formula can be rewritten as: Where: Y = PL x , by choosing the decay rate ε, the observer gain is obtained by solving the following optimization problem: min-trace(P), under the premise of satisfying the above formula P>0 Therefore, as long as P and Y are obtained, the observer gain L can be calculated x For: L x =P -1 Y, making the error dynamically monotonically decreasing.
5. The method for resonance suppression and disturbance suppression based on model predictive control according to claim 3, characterized in that: Perform total disturbance observer design; Since the matrix A c and D c The first two rows of A contain only the grid impedance variable. When the grid impedance changes, the matrix A c and D c The components in the first two rows of change accordingly; therefore, the total disturbance directly affects only the grid-side current; To design the total disturbance observer, the grid-side estimated current is introduced and the estimation error is defined; then, the total disturbance is estimated by minimizing the quadratic error function E(k), as shown below: To find the function E(k) with respect to the total disturbance Minimum value, the total disturbance observer is designed based on the gradient steepest descent method; calculate the gradient Substitute it and use the gradient steepest descent method to get the mathematical model of the total disturbance observer as follows: Where, μ = μ1I 2×2 , and μ1 is a tuning parameter.
6. The method for resonance suppression and disturbance suppression based on model predictive control according to claim 1, characterized in that: In step S3, the steady-state control input can be determined according to the grid-side current reference value given at each time step; then the MPC is derived according to the steady-state condition; First, the desired steady-state conditions need to be determined. The GCI system discrete nominal state space model finally derived under dynamic conditions in step S1 can be expressed under steady-state conditions to obtain the steady-state control input as follows: in, and u o =[u q0 u d0 ] T are the steady-state values of the state variable x(k) and the control input u(k), respectively; in the steady-state model, the total disturbance observer is applied to output Substitute the total disturbance d L (k); Then, the controller gains need to be tuned to design the MPC based on the tracking state error; the tracking state error is defined as follows: The cost function is established based on the tracking error as follows: Weight matrix Q = Q T is a symmetric matrix; the weight matrix Q needs to be determined so that when K = 0 (i.e., u(k) = u o ), the cost function decreases monotonically; from the cost function, we can get that when K = 0: When K=0, φ is the convergence rate of the tracking state error; using the obtained weight matrix Q, the control gain K is obtained according to the LMI.
7. The method for resonance suppression and disturbance suppression based on model predictive control according to claim 6, characterized in that: The specific method of controlling the gain K is as follows: From the above formula, it can be seen that the cost function J(k) is monotonically decreasing when the following conditions are met: (A n +B n K) T Q(A n +B n K)-Q<0。 8. The method for resonance suppression and disturbance suppression based on model predictive control according to claim 1, characterized in that: In step S4, the GCI system discrete nominal state space model finally obtained by S1, the full state and total disturbance observer designed by S2, and the MPC scheme designed by S3 are aggregated to further construct the closed-loop and open-loop state space models of the overall system, and verify the disturbance suppression and robustness performance of the control scheme; First, the estimate and total perturbation are rewritten as follows: in Then, by aggregating the system dynamics, the observer dynamics, the system model, the estimated values and the total disturbance, and the control input, the overall system is constructed as follows: After the closed-loop system is established, an open-loop system is established, where and The feedback loop is broken; therefore, the closed-loop and open-loop systems can be expressed as follows: In order to verify the ability of the proposed control method in dealing with reference tracking performance and disturbance suppression, the frequency response curves of the open-loop and closed-loop systems are plotted with different grid impedance values as parameters; the frequency response curves of the open-loop and closed-loop systems from the reference signal r(k) to the output signal y(k) are plotted considering the presence and absence of grid impedance; in order to verify the effectiveness of disturbance suppression, the frequency response curves of the open-loop and closed-loop systems from the disturbance d L( k) to the frequency response curve of the output y(k).
9. The system used in the method for resonance suppression and disturbance suppression based on model predictive control according to claim 1, characterized in that: The resonance suppression and disturbance suppression method based on model predictive control is simulated using the MATLAB simulation platform to verify the resonance suppression performance, disturbance suppression performance, robustness and tracking performance of the control scheme.
Citation Information
Cited By
Power quality control method and device based on disturbance classification, equipment and medium
CN119518796A
Power quality control method and device based on disturbance classification, equipment and medium
CN119518796B
Air floating bearing quasi-zero stiffness active vibration reduction method based on model predictive control
CN119689872A
Expansion structure-based model-free control method for disturbed circuit system
CN119846947A
Hysteresis switching strategy-based complex network state estimation and synchronization control method
CN119882446A
