This patent application is a national stage of International Application No. PCT/CN2023/107933, filed on Jul. 18, 2023, which claims the benefit and priority of Chinese Patent Application No. 202211264741.1 filed to China National Intellectual Property Administration on Oct. 17, 2022, entitled as “FINITE CONTROL SET MODEL PREDICTION CONTROL METHOD OF LLCL BATTERY ENERGY STORAGE CONVERTER”. Both of the aforementioned applications are incorporated by reference herein in their entireties as part of the present application.
The present disclosure relates to the field of new energy generation and electric energy storage, in particular to a finite control set model predictive control method of an LLCL battery energy storage converter.
A battery energy storage converter is a key device in a battery energy storage system, which can convert direct current energy of a battery into standard alternating current energy and merge it into the grid, and realize bidirectional energy flow. A finite control set model predictive control (FCS-MPC) algorithm is a typical nonlinear control algorithm, which has been widely used in industry. The control method is different from the traditional PI control method. The control method predicts grid-connected current in a next period based on the model, and then selects an optimal control value according to the prediction result, which has clear physical meaning and superior performance.
Compared with a traditional filter, an LLCL filter has a good filtering effect and good dynamic performance, because an inductor is inserted in a capacitor branch loop of the LLCL filter to form a series resonant circuit at a switching frequency. In addition, the LLCL filter can effectively attenuate a current ripple component at the switching frequency, thus reducing total inductance, reducing volume of passive devices and helping to reduce the total cost of the battery energy storage converter.
In the prior art, the finite control set model predictive control algorithm is mostly applied to the LCL energy storage converter. For example, China patent application CN201910853161.8 discloses a finite control set model predictive control method of the LCL energy storage converter. The method combines state variable estimation with delay compensation, estimates a current at a converter side, capacitor voltage and grid current by sampling the grid current, and corrects an error between the sampled grid current and the estimated grid current by a correction matrix, so as to reduce influence caused by model mismatch and parameter drift. The estimated state variables are then input into a finite control set model predictive control algorithm with a delay compensation, so as to improve system performance and finally realize control of the LCL energy storage converter. The above disclosure can reduce the number of sensors, reduce the cost and improve the reliability of the system. Combined with a delay compensation algorithm, the disclosure eliminates influence of calculation delay on the system performance, and improves the quality of grid-connected current. However, the traditional LCL grid-connected filter has high cost and unsatisfactory filtering effect, which leads to low quality of grid-connected current and poor control performance and reliability of the system.
The objective of the present disclosure is to provide a finite control set model predictive control method of an LLCL type battery energy storage converter, which overcomes the defects in the prior art. In the present disclosure, the LLCL filter is applied to the energy storage converter, and combined with FCS-MPC control algorithm, to take advantage of the LLCL filter, so that the quality of the grid-connected power can be improved, and the optimal control of the energy storage converter can be realized.
The objective of the present disclosure can be achieved by the following technical solution.
A finite control set model predictive control method of the LLCL battery energy storage converter includes: collecting electrical physical quantities by using sensors, wherein the electrical physical quantities include a current at a grid side, a current at a converter side, a grid voltage and a capacitor voltage at current time; building a state space mathematical model of an LLCL filter based on the electrical physical quantities; setting a sampling period and discretizing the state space mathematical model of the LLCL filter to obtain a discrete model; deriving reference values of the current at the converter side and reference values of capacitor voltage in a k-th sampling period by using given values of the current at the grid side in the k-th sampling period; based on the reference values of the current at the converter side and the reference values of capacitor voltage in the k-th sampling period, predicting reference values at time k+1 according to the discrete model; defining a cost function to quantitatively evaluate control performance of each voltage vector in a finite set; calculating the cost function corresponding to each voltage vector based on the reference values at time k+1, and selecting an optimal output voltage vector which minimizes a result of the cost function; based on a corresponding relationship between each voltage vector and a circuit switch, sending the optimal output voltage vector to control an appropriate circuit switch state for operating.
Further, building the state space mathematical model of the LLCL filter includes: establishing a two-phase static coordinate system which is an α-β coordinate system; with current i1 flowing through an inductor L1, current i2 flowing through an inductor L2 and a voltage uc of a capacitor C as state space variables, based on an overall topological structure of the battery energy storage converter, establishing basic equations of each loop under an α coordinate axis:
where for the α coordinate axis, i1α is an instantaneous value of the current at the converter side, i2α is a value of the current at the grid side, i3α is a value of the current flowing through the capacitor, uiα is a converter output voltage, umα is a value of a voltage at a coupling point of an LC branch, ugα is a value of a voltage at the grid side, ucα is a value of the capacitor voltage, C is a capacitor value, L1 is a first inductance value, and L2 is a second inductance value; deriving the equations of an α component as shown in equation (6) by substituting equations (3) and (4) into equations (1) and (2) and by variable substitution,:
where L3 is a third inductance value; obtaining an expression of the state space mathematical model of the LLCL filter on the α axis:
where xα=[i1α i2α ucα]T is a state space vector on the α axis, and expressions of matrix A, matrix B and matrix Bg are respectively:
where LΣ=L1L2+L1L3+L2L3
Further, the α axis and the β axis of the α-β coordinate system are symmetric, and an expression of the state space mathematical model of the LLCL filter on the β axis is obtained by replacing α with β:
where xβ=[i1β i2β ucβ]T is an state space vector on the β axis, and for the β coordinate axis, i1β is an instantaneous value of the current at the converter side, i2β is a value of the current at the grid side, u1β is a converter output voltage, ugβ is a value of the voltage at the grid side, and ucβ is a value of capacitor voltage; the state space mathematical model of the LLCL filter in the α-β coordinate system is obtained:
Further, the sampling period is a battery energy storage switching period, the sampling period is set as Ts, the expression (7) of the state space mathematical model of the LLCL filter is discretized by using a zero-order holder method, and an expression of the discrete model of the LLCL filter is obtained:
where k indicates a periodic time, and detailed expressions of a system matrix Ad and input matrices Bd and Bgd are:
where ωres is an equivalent resonant angular frequency of the LLCL filter, and expression thereof is:
Further, based on a phasor method, deriving the reference values iα1*(k) and iβ1*(k) of the current at the converter side and the reference values ucα*(k) and ucβ*(k) of the capacitor voltage in the k-th sampling period by using the given values i2α*(k) and i2β*(k) of the current at the grid side in the k-th sampling period, which are respectively expressed as;
where ω is an angular frequency of the grid.
Further, the reference values of the current at the grid side, the reference values of capacitor voltage and the reference values of the current at the converter side in the (k+1)-th sampling period are obtained based on a Lagrange n-order extrapolation method, and expressions thereof are:
where i1α*(k+1) and i1β*(k+1) indicate reference values of the current at the converter side at time k+1, i2α*(k+1) and i2β*(k+1) indicate reference values of the current at the grid side at time k+1, ucα*(k+1) and ucβ*(k+1) indicate reference values of capacitor voltage at time k+1.
Further, the cost function is defined as:
where λi2 and λuc indicate priorities of modulation weight factor control, εi1 indicates an error between the reference value and the predicted value of the current at the converter side at the next moment, εi2 indicates an error between the reference value and the predicted value of current at the grid side at next time, and εuc indicates an error between the reference value and the predicted value of capacitor voltage at next time, and expressions thereof are:
where i1α*(k+1) and i1β*(k+1) indicate reference values of the current at the converter side at time k+1, i2α*(k+1) and i2β*(k+1) indicate reference values of the current at the grid side at time k+1, ucα*(k+1) and ucβ*(k+1) indicate reference values of capacitor voltage at time k+1; i1α (k+1) and i1β (k+1) indicate predicted values of the current at the converter side at time k+1, i2α (k+1) and i2β (k+1) indicate predicted values of the current at the grid side at time k+1, and ucα (k+1) and ucβ (k+1) indicate predicted values of capacitor voltage at time k+1.
Further, voltage vectors uα (k) and uβ (k) in the finite set of the battery energy storage converter are numbered 0-7, respectively, and the voltage vectors are substituted into the discrete model of the LLCL filter to obtain a predicted value at time k+1.
Further, the predicted value at the time k+1 is substituted into the cost function to obtain a calculation result of the cost function corresponding to each voltage vector; expressions of the cost functions corresponding to the voltage vectors numbered 0-7 in the finite set are defined as J0-J7; J1 and J4 are calculated, if J1<J4, J0, J2 and J6 are further calculated, J0, J2, J6 and J1 are compared to select a voltage vector that minimizes a result of the cost function as an optimal vector; if J1>J4, J0, J3 and J5 are further calculated, J0, J3, J5 and J4 are compared to select a voltage vector that minimizes a result of the cost function as an optimal vector.
Further, if J0 is a minimum cost function, an optimal vector is selected between the voltage vector 0 and the voltage vector 7 according to a principle of minimum number of switches.
Compared with the prior art, the present disclosure has the following beneficial effects.
In the present disclosure, the LLCL filter is used as a power converter system and is connected to the grid. The LLCL filter-based energy storage converter is controlled by using a finite control set model predictive control method. By deriving the mathematical model of the LLCL filter and further obtaining the specific expression of the discrete model, the reference value conversion relationship and the recursive expression are obtained. After the LLCL filter is applied and the algorithm of the present disclosure is introduced, the performance of the battery energy storage converter can be improved, so that the battery energy storage converter can effectively suppress harmonics, reduce the total inductance and improve the quality of grid-connected current, thus improving the quality of grid-connected power and the control performance and reliability of the system.
In order to explain technical solutions in the embodiments of the present disclosure or in the prior art more clearly, the drawings required in the embodiments will be briefly described hereinafter. Apparently, the drawings described below are only some embodiments of the present disclosure. For those skilled in the art, other drawings can be obtained from these drawings without creative efforts
The implementations of the present disclosure will be described by specific embodiments hereinafter. Those skilled in the art can easily understand other advantages and effects of the present disclosure from the contents disclosed in this specification. In order to better understand the objective, structure and function of the present disclosure, an embedded wind wheel structure of a wind turbine according to the present disclosure will be further described in detail with reference to the accompanying drawings.
The present disclosure mainly aims at the application of a battery energy storage converter in the field related to a power automation device, in particular to a finite control set model predictive control method of an LLCL battery energy storage converter, and the finite control set model predictive control method is abbreviated as FCS-MPC.
This embodiment provides a finite control set model predictive control method of an LLCL battery energy storage converter, which uses a finite control set model predictive control method to control an LLCL filter-based energy storage converter, establishes a state space mathematical model of the LLCL-based battery energy storage converter and discretizes it to obtain a discrete model. At the same time, based on a phasor method, reference values of a current at a grid side are converted into reference values of a current at a converter side and reference values of capacitor voltage. A cost function is defined, output results of a prediction model are compared with the reference values, and an optimal voltage vector and a most appropriate switching state are selected for operating.
The energy storage converter used in this embodiment is a typical two-level voltage source battery energy storage converter.
As shown in
In step 1, electrical physical quantities are collected by using sensors, a current at a grid side, a current at a converter side, a grid voltage and a capacitor voltage at current time are acquired, and a state space mathematical model of an LLCL filter is built based on the collected electrical physical quantities. In this embodiment, the capacitor voltage refers to a filter capacitor voltage.
The specific steps are as follows.
A two-phase stationary coordinate system, that is, an α-β coordinate system is established, and the state space mathematical model of an LLCL filter is derived in the α-β coordinate system.
As shown in
Current i1 flowing through an inductor L1, a current i2 flowing through an inductor L2 and a voltage uc of a capacitor C are state space variables. Based on an overall topological structure of the battery energy storage converter, basic equations of each loop under an α coordinate axis are established:
where for the α coordinate axis, i1α is an instantaneous value of the current at the converter side, i2α is a value of the current at the grid side, i3α is a value of the current flowing through the capacitor, uiα is a converter output voltage, umα is a value of a voltage at a coupling point of an LC branch, ugα is a value of the voltage at the grid side, ucα is a value of capacitor voltage, C is a capacitor value, L1 is a first inductance value, and L2 is a second inductance value.
By substituting equations (3) and (4) into equations (1) and (2), and by variable substitution, the equations of an α component are derived as shown in equation (6):
where L3 is a third inductance value.
Further, because an α axis and an β axis of the α-β coordinate system are completely symmetric, the state space mathematical model of the LLCL filter on the β axis can be obtained by replacing α with β, and the state space variables of i1, i2 and uc can be obtained simultaneously, that is, the state space mathematical model of the LLCL filter on the α-β coordinate system is obtained as follows:
where xα=[i1α i2α ucα]T is a state space vector on the α axis, xβ=[i1β i2β ucβ]T is a state space vector on the β axis, and expressions of matrix A, matrix B and matrix Bg are as follows, respectively:
where LΣ=L1L2+L1L3+L2L3.
In step 2, a sampling period is set, that is, the battery energy storage switching period is set as Ts, the state space mathematical model (7) of the LLCL filter is discretized by using a zero-order holder method, and an expression of the discrete model of the LLCL filter is obtained as follows:
where k indicates periodic time, detailed expressions of a system matrix Ad and input matrices Bd and Bgd are as follows:
where ωres is an equivalent resonant angular frequency of the LLCL filter, and its expression is as follows:
In step 3, based on the phasor method, reference values of capacitor voltage and current at the converter side at the current time, that is, in the k-th sampling period, are derived by using given values i2α*(k) and i2β*(k) of the current at the grid side in the k-th sampling period. A simplification process includes the following steps.
First, a simplified circuit of an LLCL filter is shown in
Secondly, according to Kirchhoff Voltage Law (KVL) and Kirchhoff Current Law (KCL), the expressions of the voltage value Um at the common coupling point and the current value I1 flowing through the inductor L1 are as shown in equation (14) and equation (15):
The expression of the filter capacitor voltage Uc is as follows:
Finally, the equation (17) is substituted into the equation (15). According to the basic quantity relationship between each phasor in steady state and in the α-β coordinate system, the reference values of the current at the converter side and filter capacitor voltage at time k can be derived as follows:
Reference values of the capacitor voltage are ucα*(k) and ucβ*(k), and reference values of the current at the converter side are iα1*(k) and iβ1*(k).
According to the above derivation results, the problem that the reference value of the current and the reference value of filter capacitor voltage of the converter cannot be given directly at the current time can be solved.
After a reference value of the LLCL filter at time k is obtained, the reference value at time k+1 is obtained, and an optimal output voltage vector that minimizes a result of the cost function is selected. The present disclosure uses the Lagrange n-order extrapolation method to predict the reference values of the reference variables at t time k+1 based on the reference values of the current at the converter side and capacitor voltage in a k-th sampling period.
The equation for predicting a future value of reference variables by a Lagrange n-order extrapolation method is shown in equation (20):
For a sinusoidal reference value involved in the battery energy storage converter, when n=2 is selected, the reference value expression at time k+1 is obtained as shown in equation (21):
where i1α*(k+1) and i1β*(k+1) indicate reference values of the current at the converter side at time k+1, i2α*(k+1) and i2β*(k+1) indicate reference values of the current at the grid side at time k+1, ucα*(k+1) and ucβ*(k+1) indicate reference values of capacitor voltage at time k+1. set.
In order to achieve the objective of model predictive control, after the predicted value of the reference variable is obtained, a cost function should be defined to quantitatively evaluate the control performance of each vector in the finite control set. Therefore, building the cost function is an important issue in FCS-MPC. In this embodiment, the cost function J is defined as:
where λi2 and λuc, indicate priorities of modulation weight factor control, εi1 indicates an error between a reference value and a predicted value of the current at the converter side at next time, εi2 indicates an error between a reference value and a predicted value of the current at the grid side at next time, and εuc indicates an error between a reference value and a predicted value of capacitor voltage at next time. The expressions are shown in equation (23):
where i1α*(k+1) and i1β*(k+1) indicate reference values of the current at the converter side at time k+1, i2α*(k+1) and i2β*(k+1) indicate reference values of the current at the grid side time k+1, ucα*(k+1) and ucβ*(k+1) indicate reference values of capacitor voltage at time k+1; i1α (k+1) and i1β (k+1) indicate predicted values of the current at the converter side at time k+1, i2α (k+1) and i2β (k+1) indicate predicted values of the current at the grid side at time k+1, and ucα (k+1) and ucβ (k+1) indicate predicted values of capacitor voltage at time k+1.
As shown in
After the cost function j is defined, based on the reference value at time k+1, a cost function corresponding to each voltage vector is calculated, and an optimal output voltage vector that minimizes a result of the cost function is selected. The elements in the control set shown in
The cost function expressions corresponding to the voltage vectors numbered 0-7 in the finite set are defined as J0-J7. First, J1 and J4 are calculated. It is assumed that [uα(k) uβ(k)]T=Udc×[⅔ 0]T, which is substituted into equation (8) to obtain a predicted value of the reference value at time k+1. The predicted value is substituted into equation (22) to obtain a calculation result J1 of the cost function, where Udc represents voltage of the DC-side battery (which can be considered as a constant).
Then, it is assumed that [uα(k) uβ(k)]T=Udc×[−⅔ 0]T, which is substituted into equation (8) to obtain a predicted value in the same step as above. Then, the predicted value is substituted into equation (22) to obtain the result J4.
First, J1 and J4 are calculated. If J1<J4, J0, J2 and J6 are further calculated, and J0, J2, J6 and J1 are compared. The voltage vector that minimizes a result of the cost function is selected as an optimal vector. At this time, vectors 3, 4 and 5 in the control set are excluded.
If J1>J4, J0, J3 and J5 are further calculated, and J0, J3, J5 and J4 are compared. At this time, vectors 1, 2 and 6 in the control set are excluded. The voltage vector that minimizes a result of the cost function is selected as an optimal vector.
If the subscript corresponding to the calculated minimum J is 0, an optimal vector is selected between vector 0 and vector 7 according to the principle of minimum number of switches.
Finally, according to the corresponding relationship between the voltage vector and the circuit switch tube, the optimal output voltage vector is sent to control the appropriate circuit switch state to operate. For example, vector 1 (100) represents that an upper tube of phase A is on, a lower tube of phase B is on, and a lower tube of phase C is on, and so on.
Generally, FCS-MPC is designed to select the most suitable switching state to operate from the complete control set as shown in
In order to verify the control algorithm, the embodiment uses the simulation model to verify, and the waveforms of the grid-connected current and the grid-connected voltage are obtained as shown in
Although the present disclosure has been described in detail with general descriptions and specific embodiments, it is apparent to those skilled in the art that some modifications or improvements can be made on the basis of the present disclosure. Therefore, these modifications or improvements made without departing from the spirit of the present disclosure fall within the scope of protection of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202211264741.1 | Oct 2022 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2023/107933 | 7/18/2023 | WO |