Method and control system for controlling a voltage source converter using power-synchronization control
10770900 ยท 2020-09-08
Assignee
Inventors
Cpc classification
H02M7/48
ELECTRICITY
H02J3/00
ELECTRICITY
Y02E60/60
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/34
ELECTRICITY
H02J3/36
ELECTRICITY
International classification
H02J3/34
ELECTRICITY
H02J3/00
ELECTRICITY
H02M7/48
ELECTRICITY
H02J3/36
ELECTRICITY
Abstract
A method of controlling a grid-connected voltage source converter, VSC, using power-synchronisation control, wherein the method includes: determining an active power control error, determining a VSC phase angle based on an integration of a sum including a scaled active power control error and a scaled imaginary part of a voltage of common coupling, determining a damping component based on a virtual damping resistance, a VSC current vector and a reference current vector for the VSC current vector, determining a voltage vector based on a VSC voltage magnitude and the damping component, transforming the voltage vector to a current vector, comparing a magnitude of the current vector with a maximum threshold current value, and in case the magnitude of the current vector is greater than the maximum threshold current value: reducing the magnitude of the current vector to a value below the maximum threshold current value to obtain a limited current vector, transforming the limited current vector to a limited voltage vector, controlling the VSC based on the VSC phase angle and the limited voltage vector, multiplying an imaginary part of a voltage of common coupling with a gain to obtain a scaled imaginary part of voltage of common coupling.
Claims
1. A method of controlling a grid-connected voltage source converter, VSC, using power-synchronisation control, wherein the method comprises: determining a VSC phase angle () based on an integration of a sum including a scaled active power control error and a scaled imaginary part of a voltage of common coupling, determining a damping component based on a virtual damping resistance (R.sub.a), a VSC current vector (i) and a reference current vector (i.sub.ref) for the VSC current vector (i), determining a voltage vector (v) based on a VSC voltage magnitude (V) and the damping component, transforming the voltage vector (v) to a current vector (i.sub.ref.sup.inner), comparing a magnitude of the current vector (i.sub.ref.sup.inner) with a maximum threshold current value (I.sub.max), and in case the magnitude of the current vector (i.sub.ref.sup.inner) is greater than the maximum threshold current value (I.sub.max): reducing the magnitude of the current vector (i.sub.ref.sup.inner) to a value below or equal to the maximum threshold current value (I.sub.max) to obtain a limited current vector (i.sub.ref.sup.inner,limited), transforming the limited current vector (i.sub.ref.sup.inner,limited) to a limited voltage vector-(v.sup.limited), controlling the VSC based on the VSC phase angle () and the limited voltage vector (v.sup.limited), multiplying an imaginary part (v.sub.pq) of a voltage of common coupling with a gain to obtain the scaled imaginary part of voltage of common coupling.
2. The method as claimed in claim 1, wherein the gain is a PLL gain (K.sub.PLL) divided with a power control gain (K.sub.p) and the scaled imaginary part of voltage of common coupling is added to the active power control error.
3. The method as claimed in claim 2, comprising transforming the limited voltage vector (v.sup.limited) to a stationary frame using the VSC phase angle () to obtain a transformed voltage vector (v.sup.s), wherein the controlling involves using the transformed voltage vector (v.sup.s) to control the VSC.
4. The method as claimed in claim 2, wherein in case the magnitude of the current vector (i.sub.ref.sup.inner) is below the maximal threshold current value (I.sub.max), the method includes: transforming the current vector (i.sub.ref.sup.inner) back to the voltage vector (v), and controlling the VSC based on the VSC phase angle () and the voltage vector (v).
5. The method as claimed in claim 1, wherein in case the magnitude of the current vector (i.sub.ref.sup.inner) is below the maximal threshold current value (I.sub.max), the method includes: transforming the current vector (i.sub.ref.sup.inner) back to the voltage vector (v), and controlling the VSC based on the VSC phase angle () and the voltage vector (v).
6. The method as claimed in claim 5, comprising transforming the voltage vector (v) to a stationary frame using the VSC phase angle () to obtain a transformed voltage vector (v.sup.s), wherein the controlling involves using the transformed voltage vector (v.sup.s) to control the VSC.
7. The method as claimed in claim 1, wherein the damping component is determined by determining a current error vector based on the reference current vector (i.sub.ref) and the VSC current vector (i), and multiplying the virtual damping resistance (R.sub.a) with the current error vector.
8. The method as claimed in claim 1, wherein the gain (K.sub.PLL) is a PLL gain (K.sub.PLL) and the scaled imaginary part of voltage of common coupling is added to a scaled active power control error which is the active power control error multiplied with a power control gain (K.sub.p) and to a nominal angular grid frequency (.sub.1).
9. The method as claimed in claim 1, comprising transforming the limited voltage vector (v.sup.limited) to a stationary frame using the VSC phase angle () to obtain a transformed voltage vector (v.sup.s), wherein the controlling involves using the transformed voltage vector (v.sup.s) to control the VSC.
10. A non-transitory computer-readable medium storing a computer program comprising computer code which when executed by processing circuitry of a control system causes the control system to perform a method including: determining a VSC phase angle based on an integration of a sum including a scaled active power control error and a scaled imaginary part of a voltage of common coupling, determining a damping component based on a virtual damping resistance, a VSC current vector and a reference current vector for the VSC current vector, determining a voltage vector based on a VSC voltage magnitude and the damping component, transforming the voltage vector to a current vector (i.sub.ref.sup.inner), comparing a magnitude of the current vector (i.sub.ref.sup.inner) with a maximum threshold current value, and in case the magnitude of the current vector (i.sub.ref.sup.inner) is greater than the maximum threshold current value: reducing the magnitude of the current vector (i.sub.ref.sup.inner) to a value below or equal to the maximum threshold current value to obtain a limited current vector (i.sub.ref.sup.inner,limited), transforming the limited current vector (i.sub.ref.sup.inner,limited) to a limited voltage vector, controlling the VSC based on the VSC phase angle and the limited voltage vector, multiplying an imaginary part of a voltage of common coupling with a gain to obtain the scaled imaginary part of voltage of common coupling.
11. A control system for controlling a grid-connected voltage source converter, VSC, using power-synchronization control, wherein the control system comprises: a storage medium comprising computer code, and processing circuitry, wherein when the computer code is executed by the processing circuitry, the control system is configured to: determine a VSC phase angle () based on an integration of a sum including a scaled active power control error and a scaled imaginary part of a voltage of common coupling, determine a damping component based on a virtual damping resistance (R.sub.a), a VSC current vector (i) and a reference current vector (i.sub.ref) for the VSC current vector (i), determine a voltage vector (v) based on a VSC voltage magnitude (V) and the damping component, transform the voltage vector (v) to a current vector (i.sub.ref.sup.inner), compare a magnitude of the current vector (i.sub.ref.sup.inner) with a maximum threshold current value (I.sub.max), and in case the magnitude of the current vector (i.sub.ref.sup.inner) is greater than the maximum threshold current value (I.sub.max): reduce the magnitude of the current vector (i.sub.ref.sup.inner) to a value below the maximum threshold current value to obtain a limited current vector (i.sub.ref.sup.inner,limited), transform the limited current vector (i.sub.ref.sup.inner,limited) to a limited voltage vector (v.sup.limited), control the VSC based on the VSC phase angle () and the limited voltage vector (v.sup.limited), multiply an imaginary part (v.sub.pq) of a voltage of common coupling with a gain to obtain a scaled imaginary part of voltage of common coupling.
12. The control system as claimed in claim 11, wherein the control system is configured to transform the limited voltage vector (v) to a stationary frame using the VSC phase angle () to obtain a transformed voltage vector (v.sup.s), wherein the control system is configured to control the VSC using the transformed voltage vector (v.sup.s).
13. The control system as claimed in claim 11, wherein in case the magnitude of the current vector (i.sub.ref.sup.inner) is below the maximal threshold current value (I.sub.max), the control system is configured to: transform the current vector back (i.sub.ref.sup.innerr) to the voltage vector (v), and control the VSC based on the VSC phase angle () and the voltage vector (v).
14. The control system as claimed in claim 13, wherein the control system is configured to transform the voltage vector (v) to a stationary frame using the VSC phase angle () to obtain a transformed voltage vector (v.sup.s), wherein the control system is configured to control the VSC using the transformed voltage vector (v.sup.s).
15. The control system as claimed in claim 11, wherein the control system is configured to determine the damping component by determining a current error vector based on the reference current vector (i.sub.ref) and the VSC current vector (i), and multiplying the virtual damping resistance with the current error vector.
16. The control system as claimed in claim 11, wherein the gain is a PLL gain (K.sub.PLL), wherein the control system is configured to add the scaled imaginary part of voltage of common coupling to a scaled active power control error which is the active power control error multiplied with a power control gain (K.sub.p), and to a nominal angular grid frequency.
17. The control system as claimed in claim 11, wherein the gain is a PLL gain (K.sub.PLL) divided with a power control gain (K.sub.p), wherein the control system is configured to add the scaled imaginary part of voltage of common coupling to the active power control error.
18. The control system as claimed in claim 17, wherein the control system is configured to transform the limited voltage vector (v) to a stationary frame using the VSC phase angle () to obtain a transformed voltage vector (v.sup.s), wherein the control system is configured to control the VSC using the transformed voltage vector (v.sup.s).
19. The control system as claimed in claim 17, wherein in case the magnitude of the current vector (i.sub.ref.sup.inner) is below the maximal threshold current value (I.sub.max), the control system is configured to: transform the current vector back (i.sub.ref.sup.inner) to the voltage vector (v), and control the VSC based on the VSC phase angle () and the voltage vector (v).
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The specific embodiments of the inventive concept will now be described, by way of example, with reference to the accompanying drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION
(8) The inventive concept will now be described more fully hereinafter with reference to the accompanying drawings, in which exemplifying embodiments are shown. The inventive concept may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided by way of example so that this disclosure will be thorough and complete, and will fully convey the scope of the inventive concept to those skilled in the art. Like numbers refer to like elements throughout the description.
(9)
(10) The processing circuitry 3 may use any combination of one or more of a suitable central processing unit (CPU), multiprocessor, microcontroller, digital signal processor (DSP), application specific integrated circuit (ASIC), field programmable gate arrays (FPGA) etc., capable of executing any herein disclosed operations concerning VSC control.
(11) The storage medium 5 may for example be embodied as a memory, such as a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), or an electrically erasable programmable read-only memory (EEPROM) and more particularly as a non-volatile storage medium of a device in an external memory such as a USB (Universal Serial Bus) memory or a Flash memory, such as a compact Flash memory.
(12)
(13) The control system 1 is configured to obtain electric parameters from the grid. Such electric parameters may for example be VSC currents to obtain a measured stationary VSC current vector i.sup.s and VSC voltages to obtain a measured stationary VSC voltage vector v.sup.s, used for determining an active power output P, and the voltage of common coupling v.sub.p.sup.s. A current/voltage meter may for example be used to measure these parameters. Alternatively, the voltage of common coupling could be estimated based on the inductance 13 and the measured stationary VSC current vector i.sup.s. With the term stationary is meant that the electric parameter in question is in a stationary frame. The s superscript denotes the stationary frame, in particular the -frame.
(14)
(15) In a first block 15 an active power control error is determined. The active power control error is determined by the difference between the active power output P and an active power reference P.sub.ref for the VSC 7.
(16) In a second block 17, the active power control error is multiplied with a power control gain K.sub.p, to obtain a scaled active power control error. The power control gain K.sub.p is a constant. The power control gain K.sub.p typically has unit rad/(Ws) or similar, generally based on how the system is normalised.
(17) In a third block 19, an angular frequency .sub.1, is added to the scaled active power control error. The angular frequency .sub.1 is in particular the nominal angular grid frequency. The angular frequency .sub.1 corresponds to the angular frequency with which the space vectors of e.g. the measured stationary VSC current vector i.sup.s rotate in the stationary frame.
(18) In an integration block 21, the sum of the scaled active power control error and the angular frequency .sub.1 is integrated according to equation (1). In this manner, the VSC phase angle is obtained.
(19) The output from the integration block 21, i.e. the VSC phase angle is sent to a first exponential block 22 to obtain e.sup.j.
(20) The output from the integration block 21, i.e. the VSC phase angle is also sent to a second exponential block 23 to obtain e.sup.j.
(21) In a fourth block 25, the output from the second exponential block 23, i.e. e.sup.j is multiplied with the stationary VSC current vector i.sup.s as obtained by a measurement. The stationary VSC current vector i.sup.s is thus transformed into a VSC current vector i in the dq-frame.
(22) In a fifth block 27, a current error vector from the VSC current vector i in the dq-frame and the reference current vector i.sub.ref is determined. In particular, one of the VSC current vector i and the reference current vector i.sub.ref is subtracted from the other to obtain the current error vector.
(23) In a sixth block 29, a damping component is determined. In particular a virtual damping resistance R.sub.a is multiplied with the current error vector to obtain the damping component R.sub.a*(ii.sub.ref) or R.sub.a*(i.sub.refi), the sign depending on the direction of the VSC current vector i. The virtual damping resistance R.sub.a, also known as active resistance or virtual resistance, does not form part of the actual grid. The virtual damping resistance R.sub.a is used to increase the robustness of the control, in particular to provide damping in the event of transients.
(24) In a seventh block 31, a voltage vector v is determined by adding the damping component and a VSC voltage magnitude V. Thus, the voltage vector v=V+R.sub.a*(ii.sub.ref), or alternatively V+R.sub.a*(i.sub.refi) is obtained. The VSC voltage magnitude V can for example be selected to be constant, e.g. 1 per unit (p.u.).
(25) Alternatively, the VSC magnitude V can be selected using a specific control loop for this purpose. The voltage magnitude V is a real component in the dq-frame. The voltage vector v=V+R.sub.a*(i.sub.refi) is a real number in a stationary state, because then i.sub.refi=0. During transients R.sub.a*(i.sub.refi) provides damping and may include a complex and a real component, the latter then being added to the real-valued voltage magnitude V in the dq-frame.
(26) In an eighth block 33 the voltage vector i.sup.s transformed to a current vector i.sub.ref.sup.inner. The magnitude, i.e. the modulus of the current vector i.sub.re.sup.inner is compared with a maximum threshold current value I.sub.max in a ninth block 35. To this end, the absolute value |i.sub.ref.sup.inner| is compared to I.sub.max.
(27) In the event that the magnitude of the current vector i.sub.ref.sup.inner is larger than the maximum threshold current value I.sub.max, the magnitude of the current vector i.sub.ref.sup.inner is reduced in the ninth block 35 to become less than or equal to the maximum threshold current value I.sub.max. In a variation where the magnitude of the current vector i.sub.ref.sup.inner is reduced to be less than the maximum threshold current value I.sub.max, the magnitude may be set to any number just below the maximum threshold current value I.sub.max, i.e. |i.sub.ref.sup.inner|<I.sub.max. The angle of the current vector i.sub.ref.sup.inner is hence not affected by this operation; only the magnitude is reduced/scaled down. In this manner the current vector i.sub.ref.sup.inner becomes a limited current vector i.sub.ref.sup.inner,limited. This situation typically occurs during a grid fault.
(28) In the aforementioned event with the limited current vector i.sub.ref.sup.inner,limited, in a tenth block 37 the limited current vector i.sub.ref.sup.inner, limited is transformed to a limited voltage vector v.sup.limited. This transformation is an inverse transformation of the transformation carried out in the eighth block 33. In an eleventh block 39 the limited voltage vector v.sup.limited is transformed to the stationary frame, in particular the -frame by multiplication with the output from the first exponential block 22, i.e. e.sup.j. A transformed voltage vector v.sup.s=v.sup.limited e.sup.j is thus obtained. The transformed voltage vector v.sup.s is in the -frame.
(29) The transformed voltage vector v.sup.s is used for controlling the VSC 7. The control system 1 is thus configured to control the VSC 7 based on the transformed voltage vector v.sup.s.
(30) If it is determined that the magnitude of the current vector i.sub.ref.sup.inner is larger than the maximum threshold current value I.sub.max in the ninth block 35, the ninth block 35 sends a flag with the value 1 to a twelfth block 41. An imaginary part v.sub.pq of a voltage of common coupling v.sub.p is multiplied with the flag in the twelfth block 41, i.e. the imaginary part v.sub.pq of the voltage of common coupling v.sub.p is multiplied with 1. The imaginary part v.sub.pq of the voltage of common coupling v.sub.p is a component in the dq-frame. The imaginary part v.sub.pq of the voltage of common coupling v.sub.p is in particular the q-component of the voltage of common coupling v.sub.p in the dq-frame.
(31) According to the example in
(32) The scaled imaginary part of the voltage of common coupling v.sub.pq is fed to the third block 19 together with a subsequent scaled active power control error from the second block 17. The subsequent scaled active power control error is the scaled active power control error obtained in the subsequent iteration of the control method, which has not yet been used for controlling the VSC 7.
(33) The scaled imaginary part of the voltage of common coupling v.sub.p is added to an angular frequency .sub.1, and to the subsequent scaled active power control error obtained from the second block 17. These three components are then integrated in the integration block 21 to obtain a subsequent phase angle :
=[.sub.1+K.sub.p(PP.sub.ref)+K.sub.PLL*v.sub.pq]dt(2)
(34) The general form of the above expression may be written as
=[.sub.1+K.sub.p(PP.sub.ref)+K.sub.PLL*v.sub.pq.sup.PLL]dt(3)
(35) V.sub.pq may according to one variation be filtered through a low-pass filter to suppress harmonics and the fundamental negative-sequence component, if present.
(36) The subsequent phase angle is sent to the first exponential block 22 to obtain e.sup.j. The subsequent phase angle is also sent to the second exponential block 23, and the steps performed in blocks 25-33 as described above are repeated using the subsequent phase angle . The magnitude of the current vector i.sub.ref.sup.inner is again compared with the maximum threshold current value I.sub.max in the ninth block 35. If it is again determined that the magnitude of the current vector i.sub.ref.sup.inner is larger than the maximum threshold current value I.sub.max, the magnitude of the current vector i.sub.ref.sup.inner is limited in the ninth block 35 to become less than or equal to the maximum threshold current value I.sub.max. The thus obtained limited current vector i.sub.ref.sup.inner,limited is transformed to the limited voltage vector v.sup.limited in the tenth block 37 and sent to the eleventh block 39 for controlling of the VSC 7 as described above. The flag maintains the value 1, and the imaginary part v.sub.pq of the voltage of common coupling v.sub.p is again sent through the thirteenth block 43a as previously described and the procedure is repeated.
(37) If on the other hand it is determined in block 35 that the magnitude of the current vector i.sub.ref.sup.inner is smaller than or equal with the maximum threshold current value I.sub.max, no current limitation is necessary. This is typically the case when the grid operates under normal conditions. The ninth block 35 then sends a flag with the value 0 to the twelfth block 41. Thus, the imaginary part v.sub.pq of the voltage of common coupling v.sub.p is multiplied with 0 and the output of the twelfth block 41 is zero. The current vector i.sub.ref.sup.inner is transformed back to the voltage vector v in the tenth block 37 and sent to the eleventh block 39 where it is transformed to the stationary frame, by multiplication with the output from the first exponential block 22, i.e. e.sup.j. A transformed voltage vector v.sup.s=ve.sup.j is thus obtained, which is used for controlling the VSC 7.
(38)
(39)
(40) The general form of the above expression may be written as
(41)
(42) The remaining steps of this variation are the same as in the example shown in
(43) Thus, in general, it can be stated that the scaled imaginary part of the voltage of common coupling v.sub.p is added as a term in the integration only in instances when current limitation is being performed.
(44)
(45) The inventive concept has mainly been described above with reference to a few examples. However, as is readily appreciated by a person skilled in the art, other embodiments than the ones disclosed above are equally possible within the scope of the inventive concept, as defined by the appended claims. For example, in one variation, the flag may always be greater than zero, i.e. flag>0. In this case, in the event that the magnitude of the current vector is smaller than or equal to the maximum threshold current value the flag may have a value close to zero that in effect makes the product of the multiplication with the imaginary part of voltage of common coupling essentially zero. In case the magnitude of the current vector is larger than the maximum threshold current value a flag with the value 1 may be used as described above.