This application relates to the field of electric power technology, and in particular to a method and an apparatus for controlling a grid-tie inverter and an apparatus.
In recent years, as the key equipment for grid-tie operation of new energy power generation systems such as wind power and photovoltaics, grid-tie inverters have been widely used. How to optimize the control strategy of grid-tie inverters and improve the operational reliability of grid-tie inverters has become a current research hotspot.
With the increase in the computing speed of digital signal processors, some new intelligent control methods have emerged, such as fuzzy control, adaptive control, sliding mode control, model predictive control, etc. Model predictive control has become the main research direction in the field of predictive control of grid-tie inverters because of its advantages such as fast dynamic response.
However, disturbances will inevitably occur online, resulting in low power transmission efficiency.
The present application provides a control method for a grid-tie inverter and an apparatus, which improves the power transmission efficiency of the system.
According to a first aspect of the present application, a control method for a grid-tie inverter is provided, which includes: acquiring an output voltage of the grid-tie inverter and an output current value of the grid-tie inverter at a current moment; calculating N output current values of the grid-tie inverter at a next moment based on the output current value at the current moment, where the N output current values at the next moment are in one-to-one correspondence to N switch states of the grid-tie inverter, and N is greater than or equal to 2; acquiring a first reference current based on the output voltage; acquiring a second reference current based on the output current of the grid-tie inverter and the first reference current; determining a first switch state from the N switch states, where a difference value between the output current value at the next moment corresponding to the first switch state and a value of the second reference current at the next moment is a minimum value among difference values between the N output current values at the next moment and the value of the second reference current at the next moment; and controlling the grid-tie inverter to perform power transmission in the first switch state at the next moment.
According to a second aspect of the present application, a control apparatus for a grid-tie inverter is provided, which includes an acquiring unit and a processing unit. The acquiring unit is configured to acquire an output voltage of the grid-tie inverter and an output current value of the grid-tie inverter at a current moment. The processing unit is configured to calculate N output current values of the grid-tie inverter at a next moment based on the output current value at the current moment, where the N output current values at the next moment are in one-to-one correspondence to N switch states of the grid-tie inverter, and N is greater than or equal to 2, to acquire a first reference current based on the output voltage, and acquire a second reference current based on the output current of the grid-tie inverter and the first reference current, to determine a first switch state from the N switch states, where a difference value between the output current value at the next moment corresponding to the first switch state and a value of the second reference current at the next moment is a minimum value among difference values between the N output current values at the next moment and the value of the second reference current at the next moment, and to control the grid-tie inverter to perform power transmission in the first switch state at the next moment.
The above second reference current used to determine the first switch state is a current on the basis of the original first reference current with the output current of the grid-tie inverter being considered, which means the output with disturbance is fed back to the control system. Therefore, the obtained second reference current includes the reference current that compensates for the disturbance. With the first switch state determined in this manner, the output current of the grid-tie inverter can be undoubtedly controlled more accurately, thereby greatly improving the robustness of the entire control system.
Optionally, the above-described processing unit may be configured to: establish a third-order state model based on an output current of the grid-tie inverter; and acquire the second reference current based on the established third-order state model and the first reference current, where the second reference current includes a compensation value for a system disturbance.
The third-order state model is:
where X1 represents the output current ig of the grid-tie inverter, X2 is a differential of X1, and X3 is a differential of X2 and represents the system disturbance, the second reference current is obtained by the following equation:
where u represents the second reference current, iref1 is the first reference current, kp=wc2, kd=2wc, wc is a cut-off frequency of the grid-tie inverter,
L is an inductance of the grid-tie inverter, and C is a capacitance in the grid-tie inverter.
Optionally, the above-described processing unit may be configured to: obtain N switch output voltages respectively, based on the N switch states and an input voltage of the grid-tie inverter; and obtain the N output current values at the next moment, based on the output current value at the current moment, values of the N switch output voltages at the current moment and a value of the output voltage of the grid-tie inverter at the current moment.
The N output current values at the next moment ig(k+1) is calculated based on the following equation:
where k represents the current moment, Ts is a control frequency of the grid-tie inverter, r is an internal resistance of the grid-tie inverter, L is an inductance of the grid-tie inverter, ig(k) are the N output current values at the current moment, U0(k) are the values of the N switch output voltages at the current moment, and Vg(k) are the value of the output voltage of the grid-tie inverter at the current moment.
Optionally, the processing unit is configured to: obtain a grid phase of the grid-tie inverter based on the output voltage; and acquire the first reference current based on the grid phase.
According to a third aspect of the present application, a grid-tie inverter system is provided, which includes a grid-tie inverter and the above-described control apparatus.
The grid-tie inverter system uses the above-mentioned control apparatus to control the grid-tie inverter. Therefore, the current actually outputted by the grid-tie inverter can be closer to the expected output current.
According to a fourth aspect of the present application, a vehicle-to-grid (Vehicle-to-Grid, V2G) system is provided, which includes the grid-tie inverter system as described above.
The V2G system adopts the grid-tie inverter system as described above, and therefore, it can more stably transmit the surplus power of the electric vehicle to the public grid.
According to a fifth aspect of the present application, a computer-readable storage medium is provided, the computer-readable storage medium has instructions stored thereon, where the instructions, when executed by a processor, may implement the above-described control method for the grid-tie inverter.
The features of the above aspects of the present application will become clearer through the following detailed description in combination with the attached drawings.
For clearer illustration of the technical solutions of embodiments of the present application, the drawings to be used in the embodiments of the present application will be briefly introduced. Apparently, the drawings described below are only some embodiments of the application. Other drawings can be obtained by those who ordinarily skilled in the art on the basis of the drawings without any creative work.
Specific embodiments of the present application will be described below. In this application, unless particularly specified, all the embodiments and preferred embodiments described herein can be combined with each other to form new technical solutions, and all the technical features and preferred features described herein can be combined with each other to form new technical solutions.
In addition, unless particularly specified, the terms “include” and “include” used herein may be intended to cover a non-exclusive inclusion or an exclusive inclusion. For example, the “include” and “include” may intend to cover other elements, steps or components that are not listed, or to cover only elements, steps or components are listed. In the description, unless otherwise specified, “a certain number or more” and “a certain number or less” are intended to cover the number, and the term “more” in the phrase “one or more” means two or more.
According to an embodiment of the present application, a control method for a grid-tie inverter is provided.
Referring to
As shown in
At step 120, N output current values of the grid-tie inverter at a next moment is calculated based on the output current value at the current moment, where the N output current values at the next moment are in one-to-one correspondence to N switch states of the grid-tie inverter, and N is a natural number greater than or equal to 2.
At step 130, a first reference current is acquired based on the output voltage. The first reference current is a current expected to be outputted by the grid-tie inverter. Therefore, similarly to the output current, the first reference current is a three-phase alternating current, which is represented by a function of i_ref1.
At step 140, a second reference current is acquired based on the output current of the grid-tie inverter and the first reference current. The second reference current is represented by a function of i_ref2. The second reference current is actually a current with a compensation added on the basis of the first reference current i_ref1, because the obtaining of the second reference current is further based on the output current of the grid-tie inverter, which means errors and disturbances of the system are fed back to the input end and the obtained final reference current includes a compensation that can cancel the errors and disturbances.
At step 150, a first switch state is determined from the N switch states, where a difference value between an output current value at the next moment corresponding to the first switch state and a value of the second reference current at the next moment is a minimum value among difference values between the N output current values at the next moment and the value of the second reference current at the next moment.
At step 160, the grid-tie inverter is controlled to perform power transmission in the first switch state at the next moment.
According to the control method, in the prediction of the output current value at the next moment, a value of the second reference current with the compensation at the next moment is used, so that the obtained output current value at the next moment is more accurate. Through the above-described control method, each output current value at the next moment is predicted, and the switches of the grid-tie inverter are set based on the switch state corresponding to the predicted output current values at the next moment. In this manner, the output stability of the grid-tie inverter can be improved.
The control method 100 according to the present application will be further described below in conjunction with a working principle diagram and a schematic diagram of a topological structure of the grid-tie inverter.
As shown in the working principle diagram of the grid-tie inverter in
At step 120, N output current values ig(k+1) of the grid-tie inverter at the next moment are calculated based on the acquired output current value ig(k) at the current moment. The N output current values ig(k+1) at the next moment is in one-to-one correspondence with the N switch states of the grid-tie inverter. A topological structure of an embodiment shown in
For the grid-tie inverter shown in
Optionally, the step 120 may include sub-step 1202 and sub-step 1204 as shown in
In sub-step 1202, N switch output voltages are obtained, respectively, based on the N switch states and an input voltage of the grid-tie inverter.
Referring to
U0=(S1×S3−S2×S4)×Udc (1),
where Udc is a voltage across the battery, that is, a direct current input voltage of the grid-tie inverter. U0 is a switch output voltage outputted after a switch combination. S1, S2, S3, and S4 are the ON/OFF states of the respective switches (“ON” is recorded as “1”, and “OFF” is recorded as “0”). The relationship shown in Table 2 may be obtained thereby.
It can be understood that, the relationship in Table 2 is based on the topological structure shown in
At sub-step 1204, the N output current values ig(k+1) at the next moment are acquired, based on the output current value at the current moment ig(k), values U0(k) of the N switch output voltages at the current moment, and a value Vg(k) of the output voltage Vg of the grid-tie inverter at the current moment.
Optionally, Equation (2) may be obtained according to Kirchhoff's voltage law, which is as following:
where L is an inductance in the grid-tie inverter, i is the output current at the current moment, r is an internal resistance of the grid-tie inverter, and d is a differential function.
Then Equation (3) obtained according to Euler's formula is submitted into above Equation (2) given above, so that the output current value ig(k+1) of the grid-tie inverter at the next moment may be obtained, where Ts is a control frequency of the grid-tie inverter. The Equation (3) is as following:
The N output current values ig(k+1) at the next moment may be calculated according to Equation (4) given above. Specifically, for the topological structure shown in
While the N output current values ig(k+1) of the grid-tie inverter at the next moment are calculated, as shown in
Optionally, the step 130 may include sub-step 1302 and sub-step 1304 as shown in
At sub-step 1302, the grid phase of the grid-tie inverter is obtained based on the output voltage Vg. For example, the obtaining can be realized by a phase-locked loop. Optionally, for the single-phase grid-tie inverter shown in
At sub-step 1304, the first reference current is acquired based on the grid phase. Specifically, by multiplying the obtained grid phase θ with the expected output current value iexpected of the grid-tie inverter, the first reference current may be obtained as i_ref1=iexpected*sin θ. The expected output current value iexpected may be a value in the range of 0 to 30 A, for example.
After the first reference current is obtained, as shown in
Optionally, the step 140 may include sub-step 1402 and sub-step 1404 as shown in
At sub-step 1402, a third-order state model is established based on the output current ig of the grid-tie inverter. The LC filter included in the grid-tie inverter shown in
At sub-step 1404, a second reference current is obtained based on the established third-order state model and the first reference current. That is, the obtained disturbance output is compensated to the first reference current, and the second reference current obtained thereby includes the compensation value for the system disturbance. Feeding the compensated reference current (that is, the second reference current) to the predictive control according to the above method can significantly reduce the THD value and the direct current input (direct current input, DCI) value of the grid-tie current, thereby greatly improving the stability and robustness of predictive control.
It is should be noted that, the expanded system model described above is a third-order state model because its corresponding grid-tie inverter includes a second-order LC system, but the present application is not limited thereto, and other expanded state models can be established based on configurations of specific grid-tie inverters. For example, if the grid-tie inverter includes a third-order LCL system, a fourth-order state model is needed to be established based on the output current ig. Similarly, the expanded system model is the disturbance of the system.
Optionally, according to the grid-tie inverter shown in
In the above equation, L represents the inductance in
Model expansion is performed on the basis of the above Equation (5). Specifically, the grid-tie current i1 is set to be X1, where X2 is a differential of X1, and X3 is a differential of X2. Equation (6) is obtained thereby as follows:
X3 obtained from the above expansion is the system disturbance.
Since the current flowing through the capacitor in
At the same time, a model of the expanded state is obtained after matrix transformation of the above Equation (6), which is as following:
where
u represents a control quantity of the expanded state model, that is, the grid-tie current i1 flowing through the inductor, and f represents the system disturbance.
The output y of the above expanded state model is the reference current in an ideal situation, that is, the first reference current i_ref1 with no system disturbance being considered. At the same time, as mentioned earlier, since the current flowing through the capacitor in
can be obtained through calculation, where kp=wc2, kd=2wc, and wc is a cut-off frequency of the grid-tie inverter. The calculated u represents the second reference current i_ref2 with the system disturbance being considered.
It should be noted that, the above third-order state model and the functional expression of the second reference current i_ref2 calculated on the basis of the third-order state model are not unique. Based on different grid-tie inverter structures, other forms of third-order state models may be established, and different functional expressions of the second reference current i_ref2 may be calculated accordingly.
It can be seen from
For the example grid-tie inverter shown in
Optionally, the switch state to be identified may be obtained by setting a cost function and optimizing the cost function. Specifically, the cost function may be
G=(ig(k+1)−i_ref2(k+1))2 (9).
The above cost function G is optimized so that the value obtained is the smallest. G is optimized so that the switch state corresponding to ig(k+1) when G takes the minimum value is the switch state to be identified. The difference between the output current value ig(k+1) at the next moment and the value i_ref2(k+1) of the second reference current at the next moment is amplified, so that the determined switch state can more accurately match the expected output current of the grid-tie inverter. It should be noted that, the above cost function G is merely an example, and various forms of cost functions may be adopted by the control method according to the present application, as long as the i_ref2(k+1) closest to ig(k+1) can be identified through the cost functions.
For the example grid-tie inverter shown in
The control method for the grid-tie inverter according to the present application has been described as above. For conventional model prediction control, disturbance always inevitably occurs in the live network, including errors between given values and actual values of components in the system, and external disturbance such as parameter changes caused by temperature rise. The disturbance causes model parameters in the model prediction control system to be inaccurate, and the condition of model mismatch occurs, thereby resulting in inaccurate control and low output current quality and low power transmission efficiency. However, according to the control method for the grid-tie inverter in the present application, in the prediction of the output current value ig(k+1) at the next moment, the value i_ref2(k+1) of the second reference current with compensation at the next moment is used, and the output current value ig(k+1) at the next moment is thus obtained is more accurate. Through the above-described control method, each of the output current values at the next moment is predicted, and the switches of the grid-tie inverter are set based on the switch state corresponding to the predicted output current values at the next moment. In this manner, various problems caused by disturbance and errors in conventional model predictive control can be overcome, which improves the accuracy of control and the quality the output current of the grid-tie inverter, thereby improving the output stability of the grid-tie inverter.
In addition, the control method according to the present application may be implemented by a processor executing computer instructions, and the instructions may be stored in a computer-readable storage medium. The computer-readable storage medium may include a hard disk drive, a floppy disk drive, a compact disk read/write (CD-R/W) drive, a digital versatile disk (DVD) drive, a flash drive, and/or a solid-state storage device, etc.
According to the embodiments of the present application, a control apparatus for a grid-tie inverter is also provided correspondingly.
Referring to
The acquiring unit 810 is configured to acquire an output voltage of the grid-tie inverter and an output current value of the grid-tie inverter at the current moment. As described above, the output voltage is the voltage across the capacitor in
The processing unit 820 is configured to implement the following functions: calculating N output current values, ig(k+1)_1, ig(k+1)_2, . . . , ig(k+1)_N, of the grid-tie inverter at a next moment based on the output current value ig(k) at the current moment, where the N output current values at the next moment are in one-to-one correspondence to N switch states of the grid-tie inverter, and N is greater than or equal to 2; acquiring a first reference current i_ref1 based on the output voltage Vg, and acquiring a second reference current i_ref2 based on the output current Vg of the grid-tie inverter and the first reference current i_ref1; determining a first switch state from the N switch states, where a difference value between the output current value ig(k+1) at the next moment corresponding to the first switch state and a value of the second reference current i_ref2(k+1) at the next moment is a minimum value among difference values between the N output current values (ig(k+1)_1, ig(k+1)_2, . . . , ig(k+1)_N) at the next moment and the value of the second reference current i_ref2(k+1) at the next moment; and controlling the grid-tie inverter to perform power transmission in the first switch state at the next moment.
Optionally, the processing unit 820 may be configured to: establish a third-order state model based on an output current ig of the grid-tie inverter; and acquire the second reference current i_ref2 based on the established third-order state model and the first reference current i_ref1, where the second reference current includes a compensation value for a system disturbance.
Optionally, the third-order state model may be the above Equation (7), and the second reference current i_ref2 may be calculated based on
where kp=wc2, kd=2wc, wc is a cut-off frequency of the grid-tie inverter,
L is an inductance in the grid-tie inverter, and C is a capacitor in the grid-tie inverter.
Optionally, the processing unit 820 may be configured to: obtain N switch output voltages, U0_1, U0_2, . . . , U0_N, respectively, based on the N switch states and an input voltage of the grid-tie inverter; and obtain the N output current values, ig(k+1)_1, ig(k+1)_2, . . . , ig(k+1)_N, at the next moment, based on the output current value ig(k) at the current moment, values, U0(k)_1, U0(k)_2, . . . , U0(k)_N, of the N switch output voltages at the current moment, and a value Vg(k) of the output voltage of the grid-tie inverter at the current moment.
Optionally, the N output current values, ig(k+1)_1, ig(k+1)_2 ig(k+1)_N, at the next moment may be calculated according to Equation (10) given above.
Optionally, the processing unit 820 is configured to: obtain a grid phase θ of the grid-tie inverter based on the output voltage Vg; and acquire the first reference current i_ref1 based on the grid phase θ.
The above-mentioned control apparatus 800 can implement the control method according to the present application as described above. Many design concepts and details described above applicable to the control method according to the present application are also applicable to the control apparatus 800 described above, and same beneficial technical effects can be obtained, which will not be repeated here.
According to the embodiments of the present application, a grid-tie inverter system 900 is also provided, as shown in
According to the embodiments of the present application, there is also provided a V2G system 1000, as shown in
The present application has been described above through some exemplary embodiments. However, it should be understood that various modifications can be made to the above-mentioned exemplary embodiments without departing from the spirit and scope of the present application. For example, if the described techniques are performed in a different order and/or if components in the described system, architecture, device, or circuit are combined in a different manner and/or replaced or supplemented by additional components or their equivalents, then these other embodiments as modified also fall within the scope of the claims accordingly.
Number | Date | Country | Kind |
---|---|---|---|
202011284302.8 | Nov 2020 | CN | national |
This application is a continuation of International Application No. PCT/CN2021/075979, filed on Feb. 8, 2021, which claims priority to Chinese Patent Application No. 202011284302.8, filed on Nov. 17, 2020, both of which are hereby incorporated by reference in their entireties.
Number | Name | Date | Kind |
---|---|---|---|
9071141 | Dong | Jun 2015 | B2 |
9698665 | Khajehoddin | Jul 2017 | B2 |
10530267 | Wu | Jan 2020 | B1 |
10971937 | Khajehoddin | Apr 2021 | B2 |
20060245221 | Ohshima | Nov 2006 | A1 |
20090224720 | Oyobe | Sep 2009 | A1 |
20100164418 | Higuchi | Jul 2010 | A1 |
20110026281 | Chapman | Feb 2011 | A1 |
20110130889 | Khajehoddin | Jun 2011 | A1 |
20120057383 | Wei | Mar 2012 | A1 |
20120212064 | Spanoche | Aug 2012 | A1 |
20120229063 | Yokokawa | Sep 2012 | A1 |
20120257429 | Dong | Oct 2012 | A1 |
20140078780 | Khajehoddin | Mar 2014 | A1 |
20150180384 | An | Jun 2015 | A1 |
20150326144 | Pahlevaninezhad | Nov 2015 | A1 |
20160373025 | Mascioli | Dec 2016 | A1 |
20170025943 | Eren | Jan 2017 | A1 |
20170294863 | Takahashi | Oct 2017 | A1 |
20180241340 | Hoshino | Aug 2018 | A1 |
20190052097 | Shin et al. | Feb 2019 | A1 |
20190058418 | Mori | Feb 2019 | A1 |
20190322309 | Takase | Oct 2019 | A1 |
20210143752 | Zhang | May 2021 | A1 |
20210305890 | Karimi | Sep 2021 | A1 |
Number | Date | Country |
---|---|---|
101710797 | May 2010 | CN |
201947196 | Aug 2011 | CN |
104393620 | Mar 2015 | CN |
105515430 | Apr 2016 | CN |
108429286 | Aug 2018 | CN |
109787495 | May 2019 | CN |
110045610 | Jul 2019 | CN |
110138253 | Aug 2019 | CN |
112018809 | Dec 2020 | CN |
112104244 | Dec 2020 | CN |
Entry |
---|
The International search report for PCT Application No. PCT/CN2021/075979, dated Aug. 5, 2021, 12 pages. |
The First Office Action for Chinese Application No. 202011284302.8, dated Dec. 24, 2020, 9 pages. |
The Second Office Action for Chinese Application No. 202011284302.8, dated Jan. 7, 2021, 7 pages. |
The Notice of Allowance and supplementary search report for Chinese Application No. 202011284302.8, dated Jan. 13, 2021, 4 pages. |
Leilei Guo et al., “Sliding mode observer based AC voltage sensorless model predictive control for grid-connected inverter”, Electric Power Automation Equipment, vol. 40, No. 6, dated Jun. 2, 2020, 7 pages. |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2021/075979 | Feb 2021 | US |
Child | 17485554 | US |