CN114123243B - Model prediction virtual synchronous machine inverter control method considering frequency offset direction - Google Patents
Model prediction virtual synchronous machine inverter control method considering frequency offset direction Download PDFInfo
- Publication number
- CN114123243B CN114123243B CN202111361656.2A CN202111361656A CN114123243B CN 114123243 B CN114123243 B CN 114123243B CN 202111361656 A CN202111361656 A CN 202111361656A CN 114123243 B CN114123243 B CN 114123243B
- Authority
- CN
- China
- Prior art keywords
- frequency
- state
- fundamental frequency
- fundamental
- frequency offset
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 53
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000013016 damping Methods 0.000 claims abstract description 6
- 239000011159 matrix material Substances 0.000 claims description 21
- 230000006870 function Effects 0.000 claims description 18
- 238000005457 optimization Methods 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims description 4
- 238000004590 computer program Methods 0.000 claims description 4
- 230000010354 integration Effects 0.000 claims description 4
- 230000008859 change Effects 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 238000004088 simulation Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 101000802640 Homo sapiens Lactosylceramide 4-alpha-galactosyltransferase Proteins 0.000 description 1
- 102100035838 Lactosylceramide 4-alpha-galactosyltransferase Human genes 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 238000010248 power generation Methods 0.000 description 1
- 230000001373 regressive effect Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for ac mains or ac distribution networks
- H02J3/24—Arrangements for preventing or reducing oscillations of power in networks
- H02J3/241—The oscillation concerning frequency
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for ac mains or ac distribution networks
- H02J3/38—Arrangements for parallely feeding a single network by two or more generators, converters or transformers
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for ac mains or ac distribution networks
- H02J3/38—Arrangements for parallely feeding a single network by two or more generators, converters or transformers
- H02J3/388—Islanding, i.e. disconnection of local power supply from the network
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2203/00—Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
- H02J2203/20—Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
The invention provides a model prediction virtual synchronous machine inverter control method considering a frequency offset direction, which comprises the following steps: obtaining a current frequency absolute value based on the fundamental frequency of the inverter and a steady state absolute value based on the fundamental frequency; judging the frequency offset state by comparing the two absolute values: in a state of deviating from the fundamental frequency or a state of returning to the fundamental frequency; setting a corresponding prediction output domain according to the frequency offset state, and constructing a cost function considering the frequency offset state; and calculating an optimal virtual power increment value based on the cost function, then calculating optimal virtual power, inputting the optimal virtual power into a swing equation of the virtual synchronous machine, and carrying out frequency adjustment according to the output value. According to the invention, on the premise of not changing the rotational inertia and damping coefficient of the virtual synchronous generator, different frequency adjustment targets are realized by considering the frequency offset state.
Description
Technical Field
The invention belongs to the technical field of power electronics, and particularly relates to a model prediction virtual synchronous machine inverter control method considering a frequency offset direction.
Background
The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.
As an efficient use form of distributed energy, micro-grids have the ability to transmit electrical energy and provide grid support, an important approach to efficient use of renewable energy and an important complement to large grids. The micro-grid has two modes of grid-connected operation and island operation. In island mode, the micro-grid loses the support of the large grid and can only rely on distributed energy sources, micro gas turbines and energy storage in the micro-grid to support the voltage and frequency of the public bus. Since the micro-grid containing distributed energy sources lacks rotational kinetic energy like a synchronous generator in a large grid, especially when the proportion of distributed energy sources is gradually increased, the inertia of the micro-grid is reduced and the stability is reduced. The virtual synchronous generator technology can simulate the electromechanical transient characteristic of the synchronous generator, so that the inverter in the island mode has the external characteristics of inertia, damping, primary frequency modulation, reactive voltage regulation and the like of the synchronous generator set. Therefore, the virtual synchronous generator technology can effectively increase the inertia of the system, and is beneficial to improving the stability of the micro-grid in the island mode.
The inventor finds that the inertia parameters are fixed in the traditional virtual synchronous generator technology, and the traditional virtual synchronous generator technology is difficult to adapt to a complex micro-grid environment. When the inertia set by the virtual synchronous machine is large, the system frequency is difficult to return once deviating from the fundamental frequency, and the system power distribution adjustment is not facilitated. In contrast, when the inertia set by the virtual synchronous machine is smaller, the disturbance rejection capability of the micro-grid is weak, the system stability is poor, system oscillation and even system instability are easily caused during load switching, and the control effect is poor.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a model prediction virtual synchronous machine inverter control method considering the frequency offset direction, which is used for improving the system elasticity.
To achieve the above object, one or more embodiments of the present invention provide the following technical solutions:
in a first aspect, the invention discloses a model predictive virtual synchronous machine inverter control method considering a frequency offset direction, comprising the following steps:
obtaining a current frequency absolute value based on the fundamental frequency of the inverter and a steady state absolute value based on the fundamental frequency;
judging the frequency offset state by comparing the two absolute values: in a state of deviating from the fundamental frequency or a state of returning to the fundamental frequency;
setting a corresponding prediction output domain according to the frequency offset state, and constructing a cost function considering the frequency offset state;
and calculating an optimal virtual power increment value based on the cost function, then calculating optimal virtual power, inputting the optimal virtual power into a swing equation of the virtual synchronous machine, and carrying out frequency adjustment according to the output value.
As a further embodiment, the current frequency absolute value based on the fundamental frequency of the inverter and the steady state absolute value based on the fundamental frequency are obtained by:
and detecting the system frequency output by the inverter in the micro-grid island mode, calculating the system steady-state frequency by the current power of the inverter, and determining the current frequency absolute value based on the fundamental frequency and the steady-state absolute value based on the fundamental frequency.
As a further embodiment, when the absolute value of the current frequency based on the fundamental frequency is smaller than the steady-state absolute value based on the fundamental frequency in judging the frequency offset state, the frequency offset state is in a state of deviating from the fundamental frequency;
when the absolute value of the current frequency based on the fundamental frequency is larger than the steady-state absolute value based on the fundamental frequency, the current frequency is in a state of returning to the fundamental frequency.
As a further embodiment, the cost function that considers the frequency offset state includes a predictive domain minimization target for the frequency offset fluctuation value and also includes a predictive domain minimization target for the frequency regression fluctuation value.
As a further embodiment, assignment of the bias state weight factor matrix, the regression state weight factor matrix and the power fluctuation penalty factor matrix is different according to different frequency bias states;
in the frequency deviation state, the predictive domain output optimization about the frequency deviation fluctuation value is realized by assignment;
in the frequency regression state, the optimization of the prediction domain output about the frequency regression fluctuation value is realized by assignment.
As a further embodiment, the optimal virtual power is calculated from the optimal virtual power increment value and the virtual power.
As a further embodiment, the method further comprises the step of correcting the optimal virtual power after calculating the optimal virtual power, judging whether the calculated optimal virtual power exceeds the optional range of the virtual power, if so, re-acquiring the current frequency absolute value based on the fundamental frequency of the inverter and the steady-state absolute value based on the fundamental frequency, and calculating the optimal virtual power again;
otherwise, directly inputting the calculated optimal virtual power into a swing equation of the virtual synchronous machine, outputting the calculated virtual angular speed to an integral link, and carrying out optimal virtual power frequency adjustment.
In a second aspect, the present invention discloses a model predictive virtual synchronous machine inverter control system taking into account frequency offset direction, comprising:
the frequency offset state judging module is used for obtaining a current frequency absolute value based on the fundamental frequency of the inverter and a steady-state absolute value based on the fundamental frequency;
judging the frequency offset state by comparing the two absolute values: in a state of deviating from the fundamental frequency or a state of returning to the fundamental frequency;
the frequency adjustment module is used for setting corresponding prediction output domains according to the frequency offset state and constructing a cost function considering the frequency offset state;
and calculating an optimal virtual power increment value based on the cost function, then calculating optimal virtual power, inputting the optimal virtual power into a swing equation of the virtual synchronous machine, and carrying out frequency adjustment according to the output value.
The one or more of the above technical solutions have the following beneficial effects:
1. according to the invention, on the premise of not changing the rotational inertia and damping coefficient of the virtual synchronous generator, different frequency adjustment targets are realized by considering the frequency offset state, namely: when the frequency deviates from the fundamental frequency, the frequency change rate is effectively reduced, so that the frequency is slowly shifted; when the frequency is returned to the fundamental frequency from the non-fundamental frequency value, the frequency change rate is effectively and rapidly increased, so that the frequency is rapidly returned. And the dynamic characteristic of the system frequency is effectively improved.
2. The invention is based on the absolute value |omega of the fundamental frequency by comparing the current frequency value m0 (k) The i and steady state frequency values are based on the absolute value of the fundamental frequency |ω ref0 (k) I, realize the judgment of the deviation of the system frequency from the fundamental frequency state or the regression of the system frequency to the fundamental frequency stateThe method is simple and reliable.
3. The method is based on a model prediction method, and can effectively reduce the change rate of the system frequency and slow down the process of deviating the system frequency from the fundamental frequency when the system frequency moves to the deviated fundamental frequency direction.
4. The method is based on a model prediction method, and can effectively improve the change rate of the system frequency and accelerate the process of returning the system frequency to the fundamental frequency when the system frequency moves to the returning fundamental frequency direction.
5. The invention realizes the frequency control considering the frequency offset state based on the virtual synchronous machine model predictive control in the discrete domain, is suitable for the digital controller, and has great significance for the application of the inverter.
Additional aspects of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention.
FIG. 1 is a schematic control block diagram of an embodiment of the present invention;
FIG. 2 is a diagram illustrating an offset status determination according to an embodiment of the present invention;
FIG. 3 is a frequency waveform of the method using a virtual synchronous generator and a frequency waveform of the present patent under different load switching conditions;
fig. 4 is a flow chart of a virtual synchronous generator model predictive control in an embodiment of the invention.
Detailed Description
It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the invention. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments according to the present invention.
Embodiments of the invention and features of the embodiments may be combined with each other without conflict.
Example 1
As described in the background, existing virtual synchronous generator technology for inverters has difficulty returning once the system frequency deviates from the fundamental frequency under large inertia conditions. And under the condition of small inertia, the micro-grid system has weak disturbance rejection capability and poor system stability, so that the control effect is poor. To solve this problem, the present embodiment provides a model predictive virtual synchronous machine inverter control method considering the frequency offset direction.
Specifically, as shown in fig. 1 and 4, the model predictive virtual synchronous machine inverter control method taking into account the frequency offset direction of the present embodiment includes, in one control period:
step 1: detecting system frequency omega output by inverter in micro-grid island mode m Calculating the system steady-state frequency omega from the current output power of the inverter ref Frequency absolute value |omega based on fundamental frequency m0 (k) I is the system frequency ω m And fundamental frequency omega 0 Absolute value of the difference; steady-state frequency absolute value |omega based on fundamental frequency ref0 (k) I is the steady state frequency omega ref And fundamental frequency omega 0 Absolute value of the difference.
Specifically, the determination is based on the fundamental frequency ω 0 Absolute value of frequency at k-th moment |ω m0 (k) Sum of I and omega based on fundamental frequency 0 Steady state absolute value |ω of (2) ref0 (k) I, its calculation formula is as follows
In this step, the system frequency ω m Steady state frequency omega for the output frequency of the inverter ref Derived from the P- ω curve of the droop control of the inverter.
Step 2: to determine the system frequency offset state, the current frequency value ω is compared m Absolute value |omega based on fundamental frequency m0 (k) I and steady state frequency values ω ref Absolute value |omega based on fundamental frequency ref0 (k) I, its decision formula is as follows
To implement frequency control taking into account the frequency offset transition state, it is necessary to determine the current state of the system frequency. When (when)
|ω m0 (k)|-|ω ref0 (k)|<At 0, the system frequency ω is determined m In an off-fundamental state;
when |omega m0 (k)|-|ω ref0 (k)|>At 0, the system frequency ω is determined m In a return fundamental frequency state.
FIG. 2 is a waveform of the absolute value of the system frequency and the frequency based on the fundamental frequency, and it can be seen from the simulation result that the absolute value of the system frequency is smaller than the absolute value of the expected frequency in the deviated state under different load switching states; the system frequency is in a return state, and the absolute value of the frequency is larger than the absolute value of the expected frequency.
Step 3: and setting a corresponding prediction output domain according to the frequency offset state, and constructing a cost function considering the frequency offset state, namely, a prediction domain minimization target containing a frequency offset fluctuation value and a prediction domain minimization target containing a frequency regression fluctuation value.
Wherein when the system frequency omega m Constructing a predictive domain output W of a frequency offset fluctuation value when the frequency offset fluctuation value is in a state deviating from a fundamental frequency pd (j+ 1|j), i.e., predicting the value at the moment j+1 from the moment j (j=k; k+ …), the expected value R in the deviated state is set d (k+1)=[0 0 ... 0] T (expected value at time k+1); when the system frequency omega m When in regression fundamental frequency state, constructing prediction domain output W of frequency regression fluctuation value pb (j+ 1|j) setting the expected value R in the regression state b (k+1)=[0 0 ... 0] T 。
Furthermore, by optimizing the virtual power increment value in the increment model, the system frequency omega under different states is realized m Effective adjustment of (2)And (5) a section.
To adapt to different optimization targets in the frequency deviation state and the frequency regression state, a cost function F considering the frequency deviation state is constructed p 。
The following details the derivation process:
deducing an incremental model from a discrete model of a virtual synchronous generator technical swing equation, wherein the calculation formula is as follows:
Δω m (k+1)=ω m (k+1)-ω m (k)
=A e Δω m (k)+B u ΔP m (k)+B d ΔP out (k)
wherein the method comprises the steps ofT s For control period, J is moment of inertia, P m For virtual power, P out For output power, D is damping coefficient, ω m (k+1) is the frequency of the (k+1) th moment, ω m (k) For the k-th time frequency, Δω m (k) For the k-th time frequency increment, ΔP m (k) For the virtual power increment at time k, ΔP out (k) The power increment is output for the kth time.
1) Defining a frequency offset fluctuation value omega when the system frequency deviates from the fundamental frequency state d Is that
ω d (j)=ω m (j)-ω m (k)(j=k,k+1,...,p)
Defining the prediction domain as p steps, assuming that the mth step system reaches a steady state. Further, the frequency offset fluctuation value ω d Prediction domain output W of (2) pd (j+ 1|j) is
W pd (j+1|j)=S x Δω d (j)+Iω d (j)+S d ΔP out (j)+S u ΔP(j)
Wherein Δω d For frequency offset fluctuations omega d Delta P (j) is the virtual power delta P m Is a matrix of the (c) in the matrix,
2) Defining a frequency regression fluctuation value omega when the frequency is returned to the fundamental frequency from the deviation value b Is that
ω b (j)=ω m (j)-ω ref j=k,k+1,...,p
Wherein omega ref Is the steady state frequency expected value.
Further, with respect to the frequency regression fluctuation value ω b Prediction domain output W of (2) pb (j+ 1|j) is
W pb (j+1|j)=S x Δω b (j)+Iω b (j)+S d ΔP out (j)+S u ΔP(j)
Therefore, when the frequency deviates from the fundamental frequency, the frequency deviates from the fluctuation value omega in order to achieve a slow frequency deviation d Prediction domain output W of (2) pd (j+ 1|j) should be 0, i.e. R d (k+1)=[0 0 ... 0] T The method comprises the steps of carrying out a first treatment on the surface of the When the frequency returns to the fundamental frequency from the deviation value, the frequency returns to the fluctuation value omega for realizing the frequency acceleration return b Prediction domain output W of (2) pb (j+ 1|j) is 0, i.e. R b (k+1)=[0 0 ... 0] T 。
Further, the fluctuation value ω will be related to the frequency deviation d Prediction domain output W of (2) pd (j+ 1|j) and the value ω of fluctuation with respect to frequency regression b Prediction domain output W of (2) pb (j+ 1|j) integration, constructing a cost function taking into account the frequency offset state is as follows
F p =min{||Γ d W pd (k+1∣k)-R d (k+1)|| 2 +||Γ b W pb (k+1∣k)-R b (k+1)|| 2 +||Γ p ΔP(k)|| 2 }
Wherein Γ is d For deviating from the state weight factor matrix Γ b Is regression state weight factor matrix Γ p Power waveA dynamic penalty factor matrix.
Step 4: to realize the frequency optimization control targets under different offset states, the matrix Γ is based on the different frequency offset states d 、Γ b And Γ p Is different.
When the system frequency deviates from the fundamental frequency state, a weight factor and a penalty factor with the minimum optimized frequency change rate are assigned, the optimal virtual power increment value under the frequency deviation state is calculated, and the system frequency omega is slowed down m And effectively reduces the rate of frequency change.
In particular, in the frequency deviation state, to achieve the fluctuation value ω with respect to the frequency deviation d Prediction domain output W of (2) pd (j+ 1|j) is optimized as follows
Frequency deviation state:
when the frequency returns to the fundamental frequency state, a value is assigned to optimize a weight factor and a penalty factor with the minimum difference between the steady state value and the frequency, and an optimal virtual power increment value is calculated.
Specifically, under the fundamental frequency state of system frequency regression, a weight factor and a penalty factor are assigned to calculate the optimal virtual power increment value under the frequency regression state, so as to accelerate the system frequency omega m The fundamental frequency is regressed, and the frequency change rate is effectively and rapidly increased so as to realize the frequency regressive fluctuation value omega b Prediction domain output W of (2) pb (j+ 1|j) is optimized as follows
Frequency regression state:
according to extremum theory, calculating optimized virtual power increment delta P under different frequency offset states * (k)。
Step 5: calculating optimal virtual power according to the optimal virtual power increment value and the virtual power, wherein the expression is
P * (k)=ΔP * (k)+P(k)
To ensure the reliability of the system, the optimal virtual power P needs to be determined * (k) If the adjustable range is exceeded, if the correctness of the corrected virtual power is exceeded, if the adjustable range of the virtual power is exceeded, the step 1 is returned; otherwise, the calculated virtual power is input into the swing equation of the virtual synchronous machine, namely
Will calculate the virtual angular velocity omega m And outputting to an integration link to realize the optimal virtual power adjustment frequency.
In the invention, the system frequency is finally realized by injecting the optimal virtual power into the virtual synchronous power generation swing equation to consider the frequency adjustment of the frequency offset state.
The technical scheme of the invention comprises the steps of establishing a virtual synchronous machine increment model, judging a system frequency offset state, considering a cost function of the frequency offset state, optimizing a virtual power increment and adjusting the frequency of the virtual power. The invention adopts the absolute value of frequency offset based on the fundamental frequency to judge the system frequency offset state, thereby setting the frequency optimization targets under different frequency offset states.
According to the method, the frequency offset direction is considered, and the system frequency is adjusted by optimizing the virtual power under different offset states based on the model prediction method of the virtual synchronous machine. When the frequency deviates from the fundamental frequency, the frequency changes slowly to suppress the frequency deviation; and when the frequency returns to the fundamental frequency, the frequency change is accelerated to cause the frequency to return rapidly to the fundamental frequency. Meanwhile, the control effect is improved due to the fact that the model is predicted and optimized in real time. The method can solve the problem of frequency influence during micro-grid load switching, is simple and reliable, and has great significance for application of the inverter.
The invention is a real-time optimization process, realizes the optimal adjustment of the system frequency in a frequency deviation state and a frequency regression state, and improves the performance of the inverter.
In addition, the invention is not limited to specific actual requirements of the micro-grid, is not limited to inverter topology, and is applicable to the forms of single-phase buses and three-phase buses of the micro-grid. Meanwhile, the invention is not limited to the DC side power supply form of the inverter, is applicable to different occasions such as low voltage, medium voltage, high voltage and the like, and has stronger expansibility and practicability.
Simulation case
FIG. 3 is a frequency waveform controlled by a fixed inertia virtual synchronous generator and a frequency waveform of the method, and simulation results show that when the frequency deviates from the fundamental frequency in different load switching states, the frequency deviation speed of the method is smaller than the frequency deviation speed of the virtual synchronous generator; when the frequency returns to the fundamental frequency, the frequency offset speed of the method is larger than that of the virtual synchronous generator.
According to the simulation result, the model prediction virtual synchronous machine inverter control method considering the frequency offset direction can effectively improve the frequency dynamic characteristic adjusting capability of the inverter.
In another embodiment, the method further comprises a virtual synchronous machine inverter, and the method is used for controlling to achieve different frequency adjustment targets, namely: when the frequency deviates from the fundamental frequency, the frequency change rate is effectively reduced, so that the frequency is slowly shifted; when the frequency is returned to the fundamental frequency from the non-fundamental frequency value, the frequency change rate is effectively and rapidly increased, so that the frequency is rapidly returned.
Example two
It is an object of the present embodiment to provide a computing device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, which processor implements the steps of the method described above when executing the program.
Example III
An object of the present embodiment is to provide a computer-readable storage medium.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the above method.
Example IV
It is an object of the present embodiment to provide a model predictive virtual synchronous machine inverter control system taking into account a frequency offset direction, comprising:
the frequency offset state judging module is used for obtaining a current frequency absolute value based on the fundamental frequency of the inverter and a steady-state absolute value based on the fundamental frequency;
judging the frequency offset state by comparing the two absolute values: in a state of deviating from the fundamental frequency or a state of returning to the fundamental frequency;
the frequency adjustment module is used for setting corresponding prediction output domains according to the frequency offset state and constructing a cost function considering the frequency offset state;
and calculating an optimal virtual power increment value based on the cost function, then calculating optimal virtual power, inputting the optimal virtual power into a swing equation of the virtual synchronous machine, and carrying out frequency adjustment according to the output value.
The steps involved in the devices of the second, third and fourth embodiments correspond to those of the first embodiment of the method, and the detailed description of the embodiments can be found in the related description section of the first embodiment. The term "computer-readable storage medium" should be taken to include a single medium or multiple media including one or more sets of instructions; it should also be understood to include any medium capable of storing, encoding or carrying a set of instructions for execution by a processor and that cause the processor to perform any one of the methods of the present invention.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented by general-purpose computer means, alternatively they may be implemented by program code executable by computing means, whereby they may be stored in storage means for execution by computing means, or they may be made into individual integrated circuit modules separately, or a plurality of modules or steps in them may be made into a single integrated circuit module. The present invention is not limited to any specific combination of hardware and software.
While the foregoing description of the embodiments of the present invention has been presented in conjunction with the drawings, it should be understood that it is not intended to limit the scope of the invention, but rather, it is intended to cover all modifications or variations within the scope of the invention as defined by the claims of the present invention.
Claims (10)
1. The model prediction virtual synchronous machine inverter control method considering the frequency offset direction is characterized by comprising the following steps:
obtaining a current frequency absolute value based on the fundamental frequency of the inverter and a steady state absolute value based on the fundamental frequency;
judging the frequency offset state by comparing the two absolute values: in a state of deviating from the fundamental frequency or a state of returning to the fundamental frequency;
setting a corresponding prediction output domain according to the frequency offset state, and constructing a cost function considering the frequency offset state;
calculating an optimal virtual power increment value based on the cost function, then calculating optimal virtual power, inputting the optimal virtual power into a swing equation of the virtual synchronous machine, and carrying out frequency adjustment according to an output value;
deducing an incremental model from a discrete model of a virtual synchronous generator technical swing equation, wherein the calculation formula is as follows:
Δω m (k+1)=ω m (k+1)-ω m (k)
=A e Δω m (k)+B u ΔP m (k)+B d ΔP out (k)
wherein the method comprises the steps ofω m (k+1) is the frequency of the (k+1) th moment, ω m (k) For the k-th time frequency, Δω m (k) For the k-th time frequency increment, T s For control period, J is moment of inertia, ΔP m (k) For the virtual power increment at time k, ΔP out (k) The output power increment at the kth moment is the damping coefficient D;
when the system frequency deviates from the fundamental frequency state, a frequency offset fluctuation value omega is defined d Is that
ω d (j)=ω m (j)-ω m (k)(j=k,k+1,...,p)
Define the prediction domain as p steps, assume thatThe m-step system reaches a stable state; with respect to the frequency offset fluctuation value omega d Prediction domain output W of (2) pd (j+ 1|j) is
W pd (j+1|j)=S x Δω d (j)+Iω d (j)+S d ΔP out (j)+S u ΔP(j)
Wherein Δω d For frequency offset fluctuations omega d Delta P (j) is the virtual power delta P m Is a matrix of the (c) in the matrix,
when the frequency returns to the fundamental frequency from the offset value, a frequency return fluctuation value omega is defined b Is that
ω b (j)=ω m (j)-ω ref j=k,k+1,...,p
Wherein omega ref Is a steady-state frequency expected value;
with respect to the frequency regression fluctuation value omega b Prediction domain output W of (2) pb (j+ 1|j) is
W pb (j+1|j)=S x Δω b (j)+Iω b (j)+S d ΔP out (j)+S u ΔP(j)
When the frequency deviates from the fundamental frequency, the frequency deviates from the fluctuation value omega d Prediction domain output W of (2) pd (j+ 1|j) is 0, i.e. R d (k+1)=[0 0 ... 0] T The method comprises the steps of carrying out a first treatment on the surface of the When the frequency returns to the fundamental frequency from the offset value, the frequency returns to the fluctuation value ω b Prediction domain output W of (2) pb (j+ 1|j) is 0, i.e. R b (k+1)=[0 0 ... 0] T ;
Will be relevant toFrequency deviation fluctuation value omega d Prediction domain output W of (2) pd (j+ 1|j) and the value ω of fluctuation with respect to frequency regression b Prediction domain output W of (2) pb (j+ 1|j) integration, constructing a cost function taking into account the frequency offset state is as follows
F p =min{||Γ d W pd (k+1∣k)-R d (k+1)|| 2 +||Γ b W pb (k+1∣k)-R b (k+1)|| 2 +||Γ p ΔP(k)|| 2 }
Wherein Γ is d For deviating from the state weight factor matrix Γ b Is regression state weight factor matrix Γ p A power fluctuation penalty factor matrix.
2. The model predictive virtual synchronous machine inverter control method considering frequency offset direction as claimed in claim 1, wherein the mode of obtaining the current frequency absolute value based on the fundamental frequency of the inverter and the steady state absolute value based on the fundamental frequency is:
and detecting the system frequency output by the inverter in the micro-grid island mode, calculating the system steady-state frequency by the current power of the inverter, and determining the current frequency absolute value based on the fundamental frequency and the steady-state absolute value based on the fundamental frequency.
3. The model predictive virtual synchronous machine inverter control method considering the frequency offset direction according to claim 1, wherein when judging the frequency offset state, the current frequency absolute value based on the fundamental frequency is in a state of deviating from the fundamental frequency when the current frequency absolute value based on the fundamental frequency is smaller than the steady state absolute value based on the fundamental frequency;
when the absolute value of the current frequency based on the fundamental frequency is larger than the steady-state absolute value based on the fundamental frequency, the current frequency is in a state of returning to the fundamental frequency.
4. The method for controlling an inverter of a model predictive virtual synchronous machine taking into account a frequency offset direction according to claim 1, wherein the cost function taking into account the frequency offset state includes a predictive domain minimization target of a frequency offset fluctuation value and also includes a predictive domain minimization target of a frequency regression fluctuation value;
preferably, assignment of the deviation state weight factor matrix, the regression state weight factor matrix and the power fluctuation penalty factor matrix is different according to different frequency deviation states;
in the frequency deviation state, the predictive domain output optimization about the frequency deviation fluctuation value is realized by assignment;
in the frequency regression state, the optimization of the prediction domain output about the frequency regression fluctuation value is realized by assignment.
5. The model predictive virtual synchronous machine inverter control method considering the frequency offset direction as claimed in claim 1, wherein the optimal virtual power is calculated based on the optimal virtual power increment value and the virtual power.
6. The model predictive virtual synchronous machine inverter control method considering the frequency offset direction according to any one of claims 1 to 5, further comprising the step of correcting the optimal virtual power after calculating the optimal virtual power, judging whether the calculated optimal virtual power exceeds a virtual power selectable range, if so, re-acquiring the current frequency absolute value based on the fundamental frequency of the inverter and the steady state absolute value based on the fundamental frequency, and re-calculating the optimal virtual power;
otherwise, directly inputting the calculated optimal virtual power into a swing equation of the virtual synchronous machine, outputting the calculated virtual angular speed to an integral link, and carrying out optimal virtual power frequency adjustment.
7. The model prediction virtual synchronous machine inverter control system taking the frequency offset direction into consideration is characterized by comprising:
the frequency offset state judging module is used for obtaining a current frequency absolute value based on the fundamental frequency of the inverter and a steady-state absolute value based on the fundamental frequency;
judging the frequency offset state by comparing the two absolute values: in a state of deviating from the fundamental frequency or a state of returning to the fundamental frequency;
the frequency adjustment module is used for setting corresponding prediction output domains according to the frequency offset state and constructing a cost function considering the frequency offset state;
calculating an optimal virtual power increment value based on the cost function, then calculating optimal virtual power, inputting the optimal virtual power into a swing equation of the virtual synchronous machine, and carrying out frequency adjustment according to an output value;
deducing an incremental model from a discrete model of a virtual synchronous generator technical swing equation, wherein the calculation formula is as follows:
Δω m (k+1)=ω m (k+1)-ω m (k)
=A e Δω m (k)+B u ΔP m (k)+B d ΔP out (k)
wherein the method comprises the steps ofω m (k+1) is the frequency of the (k+1) th moment, ω m (k) For the k-th time frequency, Δω m (k) For the k-th time frequency increment, T s For control period, J is moment of inertia, ΔP m (k) For the virtual power increment at time k, ΔP out (k) The output power increment at the kth moment is the damping coefficient D;
when the system frequency deviates from the fundamental frequency state, a frequency offset fluctuation value omega is defined d Is that
ω d (j)=ω m (j)-ω m (k)(j=k,k+1,...,p)
Defining a prediction domain as p steps, and assuming that an mth step system reaches a stable state; with respect to the frequency offset fluctuation value omega d Prediction domain output W of (2) pd (j+ 1|j) is
W pd (j+1|j)=S x Δω d (j)+Iω d (j)+S d ΔP out (j)+S u ΔP(j)
Wherein Δω d For frequency offset fluctuations omega d Delta P (j) is the virtual power delta P m Is a matrix of the (c) in the matrix,
when the frequency returns to the fundamental frequency from the offset value, a frequency return fluctuation value omega is defined b Is that
ω b (j)=ω m (j)-ω ref j=k,k+1,...,p
Wherein omega ref Is a steady-state frequency expected value;
with respect to the frequency regression fluctuation value omega b Prediction domain output W of (2) pb (j+ 1|j) is
W pb (j+1|j)=S x Δω b (j)+Iω b (j)+S d ΔP out (j)+S u ΔP(j)
When the frequency deviates from the fundamental frequency, the frequency deviates from the fluctuation value omega d Prediction domain output W of (2) pd (j+ 1|j) is 0, i.e. R d (k+1)=[0 0 ... 0] T The method comprises the steps of carrying out a first treatment on the surface of the When the frequency returns to the fundamental frequency from the offset value, the frequency returns to the fluctuation value ω b Prediction domain output W of (2) pb (j+ 1|j) is 0, i.e. R b (k+1)=[0 0 ... 0] T ;
Will deviate from the fluctuation value omega with respect to frequency d Prediction domain output W of (2) pd (j+ 1|j) and the value ω of fluctuation with respect to frequency regression b Prediction domain output W of (2) pb (j+ 1|j) integration, constructing a cost function taking into account the frequency offset state is as follows
F p =min{||Γ d W pd (k+1∣k)-R d (k+1)|| 2 +||Γ b W pb (k+1∣k)-R b (k+1)|| 2 +||Γ p ΔP(k)|| 2 }
Wherein Γ is d For deviating from the state weight factor matrix Γ b Is the regression state weight factorSubmatrix Γ p A power fluctuation penalty factor matrix.
8. A computing device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any of the preceding claims 1-6 when the program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, performs the steps of the method of any of the preceding claims 1-6.
10. A virtual synchronous machine inverter controlled by the method of any one of claims 1-6 to perform different frequency adjustment objectives.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111361656.2A CN114123243B (en) | 2021-11-17 | 2021-11-17 | Model prediction virtual synchronous machine inverter control method considering frequency offset direction |
US18/269,814 US20240072541A1 (en) | 2021-11-17 | 2022-11-07 | Frequency adaptive control method for inverter based on model predictive virtual synchronous generator |
PCT/CN2022/130367 WO2023088124A1 (en) | 2021-11-17 | 2022-11-07 | Model prediction-based frequency self-adaptive control method for virtual synchronizer inverter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111361656.2A CN114123243B (en) | 2021-11-17 | 2021-11-17 | Model prediction virtual synchronous machine inverter control method considering frequency offset direction |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114123243A CN114123243A (en) | 2022-03-01 |
CN114123243B true CN114123243B (en) | 2023-10-27 |
Family
ID=80397099
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111361656.2A Active CN114123243B (en) | 2021-11-17 | 2021-11-17 | Model prediction virtual synchronous machine inverter control method considering frequency offset direction |
Country Status (3)
Country | Link |
---|---|
US (1) | US20240072541A1 (en) |
CN (1) | CN114123243B (en) |
WO (1) | WO2023088124A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114123243B (en) * | 2021-11-17 | 2023-10-27 | 山东大学 | Model prediction virtual synchronous machine inverter control method considering frequency offset direction |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109256801A (en) * | 2018-09-28 | 2019-01-22 | 东北大学 | The virtual inertia of virtual synchronous generator and automatic virtual blocks coefficient self-adaptation control method |
CN111064232A (en) * | 2019-10-31 | 2020-04-24 | 上海电力大学 | Virtual synchronous generator-based microgrid system inverter secondary frequency control method |
CN111900762A (en) * | 2020-08-06 | 2020-11-06 | 山东大学 | Control method and system for self-adaptive VSG micro-grid inverter |
CN112134500A (en) * | 2020-09-29 | 2020-12-25 | 上海电机学院 | Fuzzy control-based virtual synchronous generator parameter self-adaptive control method |
CN112994493A (en) * | 2021-03-01 | 2021-06-18 | 山东大学 | Finite set double-vector model prediction control method and system for three-level inverter |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108899929B (en) * | 2018-07-03 | 2021-06-25 | 上海交通大学 | IIDG self-adaptive inertia control method based on virtual synchronous motor |
CN110994685B (en) * | 2019-12-28 | 2021-03-09 | 合肥工业大学 | Optimization control method based on self-adaptive virtual inertia parameters |
CN113572199B (en) * | 2021-08-11 | 2022-12-27 | 华北电力大学(保定) | Smooth switching method of network-forming type current converter based on model prediction algorithm |
CN114123243B (en) * | 2021-11-17 | 2023-10-27 | 山东大学 | Model prediction virtual synchronous machine inverter control method considering frequency offset direction |
-
2021
- 2021-11-17 CN CN202111361656.2A patent/CN114123243B/en active Active
-
2022
- 2022-11-07 US US18/269,814 patent/US20240072541A1/en active Pending
- 2022-11-07 WO PCT/CN2022/130367 patent/WO2023088124A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109256801A (en) * | 2018-09-28 | 2019-01-22 | 东北大学 | The virtual inertia of virtual synchronous generator and automatic virtual blocks coefficient self-adaptation control method |
CN111064232A (en) * | 2019-10-31 | 2020-04-24 | 上海电力大学 | Virtual synchronous generator-based microgrid system inverter secondary frequency control method |
CN111900762A (en) * | 2020-08-06 | 2020-11-06 | 山东大学 | Control method and system for self-adaptive VSG micro-grid inverter |
CN112134500A (en) * | 2020-09-29 | 2020-12-25 | 上海电机学院 | Fuzzy control-based virtual synchronous generator parameter self-adaptive control method |
CN112994493A (en) * | 2021-03-01 | 2021-06-18 | 山东大学 | Finite set double-vector model prediction control method and system for three-level inverter |
Non-Patent Citations (1)
Title |
---|
Double Vector Model Predictive Control to Reduce Common-Mode Voltage Without Weighting Factors for Three-Level Inverters;Tong Liu等;《IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS》;第67卷(第10期);8980-8990 * |
Also Published As
Publication number | Publication date |
---|---|
US20240072541A1 (en) | 2024-02-29 |
WO2023088124A1 (en) | 2023-05-25 |
CN114123243A (en) | 2022-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108923460B (en) | Parameter configuration method for multi-machine parallel dynamic consistent response of micro-grid virtual synchronous machine | |
CN110212513B (en) | Flexible virtual capacitor control method for stabilizing voltage fluctuation of direct-current micro-grid bus | |
CN109980686B (en) | System oscillation suppression method and device based on energy storage type virtual synchronous power generation technology | |
Peng et al. | Maximum virtual inertia from DC-link capacitors considering system stability at voltage control timescale | |
CN113572199B (en) | Smooth switching method of network-forming type current converter based on model prediction algorithm | |
Chetouani et al. | Self-adapting PI controller for grid-connected DFIG wind turbines based on recurrent neural network optimization control under unbalanced grid faults | |
CN114614494A (en) | Control method and system for improving virtual inertia of network-building type converter | |
CN114123243B (en) | Model prediction virtual synchronous machine inverter control method considering frequency offset direction | |
CN110768239A (en) | Virtual direct current motor control method based on P-U droop characteristic | |
Wu et al. | Impact of non-minimum-phase zeros on the weak-grid-tied VSC | |
Wei et al. | A variable prediction horizon self-tuning method for nonlinear model predictive speed control on PMSM rotor position system | |
Astero et al. | Improving PV hosting capacity of distribution grids considering dynamic voltage characteristic | |
Mughees et al. | A new predictive control strategy for improving operating performance of a permanent magnet synchronous generator-based wind energy and superconducting magnetic energy storage hybrid system integrated with grid | |
Beus et al. | A model predictive control approach to operation optimization of an ultracapacitor bank for frequency control | |
Lyu et al. | Fuzzy control based virtual synchronous generator for self-adaptative control in hybrid microgrid | |
CN111193262B (en) | Fuzzy self-adaptive VSG control method considering energy storage capacity and SOC constraint | |
CN116865331A (en) | Virtual DC motor low voltage ride through method based on dynamic matrix predictive control | |
CN116054171A (en) | Wind-solar-storage direct-current micro-grid voltage self-adaptive control method and device | |
Baker et al. | Resilient Model based Predictive Control Scheme Inspired by Artificial intelligence methods for grid-interactive inverters | |
CN110518625A (en) | A kind of gird-connected inverter DC component suppressing method of variable learning rate BP-PID control | |
Kandasamy et al. | Artificial neural network based intelligent controller design for grid-tied inverters of microgrid under load variation and disturbance | |
CN113890055B (en) | Energy storage frequency modulation method and system based on model prediction virtual synchronous machine control | |
Sultan et al. | Enhancing the Performance of Smart Grid Using Model Predictive Control. | |
TWI807813B (en) | Virtual inertia estimating method and system for virtual synchronous generator | |
Zheng et al. | Complex current controller design based on multiple equations construction of Three-Phase inverter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |