Method and apparatus for controlling grid-tie inverter
11251720 · 2022-02-15
Assignee
Inventors
- Weichen He (Changzhou, CN)
- Zhimin Dan (Changzhou, CN)
- Jinfeng Gao (Changzhou, CN)
- Yizhen Hou (Changzhou, CN)
Cpc classification
H02J3/38
ELECTRICITY
H02M7/48
ELECTRICITY
Y04S10/126
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H02J3/322
ELECTRICITY
H02M1/12
ELECTRICITY
H02M1/0025
ELECTRICITY
H02J2300/20
ELECTRICITY
B60L55/00
PERFORMING OPERATIONS; TRANSPORTING
Y02E60/00
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H02M1/0019
ELECTRICITY
International classification
H02J3/32
ELECTRICITY
H02J3/38
ELECTRICITY
Abstract
This application provides a method and an apparatus for controlling a grid-tie inverter. The method 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 that is in one-to-one correspondence to N switch states of the grid-tie inverter based on the output current value at the current moment, and N is a natural number 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 and the first reference current; determining a first switch state; and controlling the grid-tie inverter to perform power transmission in the first switch state at the next moment.
Claims
1. A method for controlling a grid-tie inverter comprising: 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, wherein 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; obtaining a grid phase of the grid-tie inverter based on the output voltage, and acquiring a first reference current based on the grid phase; establishing a third-order state model based on an output current of the grid-tie inverter; acquiring a second reference current based on the third-order state model and the first reference current, wherein the second reference current comprises a compensation value for a system disturbance; determining a first switch state from the N switch states, wherein 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 at least one switching element of the grid-tie inverter to perform power transmission in the first switch state at the next moment, wherein the third-order state model is
2. The method according to claim 1, wherein the calculating N output current values of the grid-tie inverter at a next moment based on the output current value at the current moment comprises: obtaining N switch output voltages respectively, based on the N switch states and an input voltage of the grid-tie inverter; and obtaining 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.
3. The method according to claim 2, wherein the N output current values i.sub.g (K+1) at the next moment are calculated by the following equation:
4. An apparatus for controlling a grid-tie inverter, comprising a processor and a memory storing program codes, wherein the program codes, when executed by the processor, cause the processor to: acquire an output voltage of the grid-tie inverter and an output current value of the grid-tie inverter at a current moment; calculate N output current values of the grid-tie inverter at a next moment based on the output current value at the current moment, wherein 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; obtain a grid phase of the grid-tie inverter based on the output voltage, and acquiring a first reference current based on the grid phase; establish a third-order state model based on an output current of the grid-tie inverter; acquire a second reference current based on the third-order state model and the first reference current, wherein the second reference current comprises a compensation value for a system disturbance; determine a first switch state from the N switch states, wherein 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 control at least one switching element of the grid-tie inverter to perform power transmission in the first switch state at the next moment, wherein the third-order state model is
5. The apparatus according to claim 4, wherein the program codes further cause the processor 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.
6. The apparatus according to claim 5, wherein the N output current values i.sub.g (K+1) at the next moment are calculated by the following equation:
7. A non-transitory computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, cause the processor to: acquire an output voltage of the grid-tie inverter and an output current value of the grid-tie inverter at a current moment; calculate N output current values of the grid-tie inverter at a next moment based on the output current value at the current moment, wherein 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; obtain a grid phase of the grid-tie inverter based on the output voltage, and acquire a first reference current based on the grid phase; establish a third-order state model based on an output current of the grid-tie inverter; acquire a second reference current based on the third-order state model and the first reference current, wherein the second reference current comprises a compensation value for a system disturbance; determine a first switch state from the N switch states, wherein 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 control at least one switching element of the grid-tie inverter to perform power transmission in the first switch state at the next moment, wherein the third-order state model is
8. The non-transitory computer-readable storage medium according to claim 7, wherein the instructions further cause the processor 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.
9. The non-transitory computer-readable storage medium according to claim 8, wherein the N output current values i.sub.g (K+1) at the next moment are calculated by the following equation:
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) 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.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
DETAILED DESCRIPTION
(15) 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.
(16) 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.
(17) According to an embodiment of the present application, a control method for a grid-tie inverter is provided.
(18) Referring to
(19) As shown in
(20) 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.
(21) 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.
(22) 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.
(23) 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.
(24) At step 160, the grid-tie inverter is controlled to perform power transmission in the first switch state at the next moment.
(25) 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.
(26) 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.
(27) As shown in the working principle diagram of the grid-tie inverter in
(28) At step 120, N output current values i.sub.g(k+1) of the grid-tie inverter at the next moment are calculated based on the acquired output current value i.sub.g(k) at the current moment. The N output current values i.sub.g(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
(29)
(30) For the grid-tie inverter shown in
(31) TABLE-US-00001 TABLE 1 Switch state Number S1 S2 S3 S4 Switch state 1 1 0 0 1 Switch state 2 1 0 1 0 Switch state 3 0 1 1 0 Switch state 4 0 1 0 1
(32) Optionally, the step 120 may include sub-step 1202 and sub-step 1204 as shown in
(33) 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.
(34) Referring to
U.sub.0=(S1×S3−S2×S4)×U.sub.dc (1),
where U.sub.dc is a voltage across the battery, that is, a direct current input voltage of the grid-tie inverter. U.sub.0 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.
(35) TABLE-US-00002 TABLE 2 Number S1 S2 S3 S4 U0 Switch state 1 1 0 0 1 U.sub.dc Switch state 2 1 0 1 0 0 Switch state 3 0 1 1 0 −U.sub.dc Switch state 4 0 1 0 1 0
(36) It can be understood that, the relationship in Table 2 is based on the topological structure shown in
(37) At sub-step 1204, the N output current values i.sub.g(k+1) at the next moment are acquired, based on the output current value at the current moment i.sub.g(k), values U.sub.0(k) of the N switch output voltages at the current moment, and a value V.sub.g(k) of the output voltage V.sub.g of the grid-tie inverter at the current moment.
(38) Optionally, Equation (2) may be obtained according to Kirchhoff's voltage law, which is as following:
(39)
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.
(40) Then Equation (3) obtained according to Euler's formula is submitted into above Equation (2) given above, so that the output current value i.sub.g(k+1) of the grid-tie inverter at the next moment may be obtained, where T.sub.s is a control frequency of the grid-tie inverter. The Equation (3) is as following:
(41)
(42) The N output current values i.sub.g(k+1) at the next moment may be calculated according to Equation (4) given above. Specifically, for the topological structure shown in
(43) While the N output current values i.sub.g(k+1) of the grid-tie inverter at the next moment are calculated, as shown in
(44) Optionally, the step 130 may include sub-step 1302 and sub-step 1304 as shown in
(45) At sub-step 1302, the grid phase of the grid-tie inverter is obtained based on the output voltage V.sub.g. For example, the obtaining can be realized by a phase-locked loop. Optionally, for the single-phase grid-tie inverter shown in
(46) 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 i.sub.expected of the grid-tie inverter, the first reference current may be obtained as i_ref1=i.sub.expected*sin θ. The expected output current value i.sub.expected may be a value in the range of 0 to 30 A, for example.
(47) After the first reference current is obtained, as shown in
(48) Optionally, the step 140 may include sub-step 1402 and sub-step 1404 as shown in
(49) At sub-step 1402, a third-order state model is established based on the output current i.sub.g of the grid-tie inverter. The LC filter included in the grid-tie inverter shown in
(50) 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.
(51) 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 i.sub.g. Similarly, the expanded system model is the disturbance of the system.
(52) Optionally, according to the grid-tie inverter shown in
(53)
(54) In the above equation, L represents the inductance in
(55) Model expansion is performed on the basis of the above Equation (5). Specifically, the grid-tie current i.sub.1 is set to be X.sub.1, where X.sub.2 is a differential of X.sub.1, and X.sub.3 is a differential of X.sub.2. Equation (6) is obtained thereby as follows:
(56)
(57) X.sub.3 obtained from the above expansion is the system disturbance.
(58) Since the current flowing through the capacitor in
(59)
(60) At the same time, a model of the expanded state is obtained after matrix transformation of the above Equation (6), which is as following:
(61)
where
(62)
u represents a control quantity of the expanded state model, that is, the grid-tie current i.sub.1 flowing through the inductor, and f represents the system disturbance.
(63) 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
(64)
can be obtained through calculation, where k.sub.p=w.sub.c.sup.2, k.sub.d=2w.sub.c, and w.sub.c 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.
(65) 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.
(66) It can be seen from
(67) For the example grid-tie inverter shown in
(68) 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=(i.sub.g(k+1)−i_ref2(k+1)).sup.2 (9).
(69) 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 i.sub.g(k+1) when G takes the minimum value is the switch state to be identified. The difference between the output current value i.sub.g(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 i.sub.g(k+1) can be identified through the cost functions.
(70) For the example grid-tie inverter shown in
(71) 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 i.sub.g(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 i.sub.g(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.
(72)
(73)
(74)
(75) 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.
(76) According to the embodiments of the present application, a control apparatus for a grid-tie inverter is also provided correspondingly.
(77) Referring to
(78) 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
(79) The processing unit 820 is configured to implement the following functions: calculating N output current values, i.sub.g(k+1)_1, i.sub.g(k+1)_2, . . . , i.sub.g(k+1)_N, of the grid-tie inverter at a next moment based on the output current value i.sub.g(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 V.sub.g, and acquiring a second reference current i_ref2 based on the output current V.sub.g 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 i.sub.g(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 (i.sub.g(k+1)_1, i.sub.g(k+1)_2, . . . , i.sub.g(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.
(80) Optionally, the processing unit 820 may be configured to: establish a third-order state model based on an output current i.sub.g 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.
(81) Optionally, the third-order state model may be the above Equation (7), and the second reference current i_ref2 may be calculated based on
(82)
where k.sub.p=w.sub.c.sup.2, k.sub.d=2w.sub.c, w.sub.c is a cut-off frequency of the grid-tie inverter,
(83)
L is an inductance in the grid-tie inverter, and C is a capacitor in the grid-tie inverter.
(84) 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, i.sub.g(k+1)_1, i.sub.g(k+1)_2, . . . , i.sub.g(k+1)_N, at the next moment, based on the output current value i.sub.g(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 V.sub.g(k) of the output voltage of the grid-tie inverter at the current moment.
(85) Optionally, the N output current values, i.sub.g(k+1)_1, i.sub.g(k+1)_2 i.sub.g(k+1)_N, at the next moment may be calculated according to Equation (10) given above.
(86) Optionally, the processing unit 820 is configured to: obtain a grid phase θ of the grid-tie inverter based on the output voltage V.sub.g; and acquire the first reference current i_ref1 based on the grid phase θ.
(87) 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.
(88) According to the embodiments of the present application, a grid-tie inverter system 900 is also provided, as shown in
(89) According to the embodiments of the present application, there is also provided a V2G system 1000, as shown in
(90) 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.