Professional Documents
Culture Documents
Descrete Time PR
Descrete Time PR
Renewable Energy
journal homepage: www.elsevier.com/locate/renene
Article history: This paper presents the modeling and design steps of a digital proportional multi-resonant controller used
Received March 1, 2014
in a grid-connected photovoltaic (PV) system. It is shown that the use of only one Proportional-Resonant
Accepted November 27, 2014 (PR) compensator, tuned to the system fundamental frequency, may have its effectiveness compromised
Available online 12 December 2014
due to nonlinearities in the system components. To overcome this drawback and improve the system's
output current waveform, a multi-resonant controller is introduced. The performance of the discrete-time
Keywords:
designed controller is tested on a grid-connected photovoltaic power plant. Experimental results obtained
Digital controller
with the operation of a 30 kWp PV system connected to a distribution network, using only the leakage
Resonant compensator
Current controller inductances of a connection transformer as passive filter are presented and discussed to demonstrate the
Grid-connected performance of the designed control strategy. © 2014 Elsevier
Photovoltaic Ltd. All rights reserved.
Discrete-time modeling
1. Introduction ground leakage current and DC current injection into the grid. On the other
hand, when galvanic isolation is mandatory, topologies based on
The integration of small and medium capacity sustainable sources- transformers must be used. Although high frequency transformers
based distributed generation systems into the electric grid is a fast and eliminate the ground leakage currents, they do not prevent DC current
environmentally friendly way to meet growing electricity demand in injection [3].
developed and developing countries. Based on the fact that the IEC 61727 [4] and IEEE 1547 [5] standards
Among renewable energy sources, photovoltaic (PV) systems are one of set limits for the maximum allowable amount of DC current which can be
the most promising, with a robust and exponential growth [1]. classically injected into the grid, the solution with line frequency transformer
between the converter and the grid will be used in this work. This solution
Several converter topologies have been proposed to implement the in addition to pre-venting the DC current injection, ensures galvanic
inverter and interface it with the grid [2]. They can be classified as single- isolation and voltage level adjustment.
phase or three-phase, with one or more stages. Another categorization
divides the topologies into three major classes: (i) Low-frequency Fig. 1 shows a PV system single line diagram. It consists of PV arrays
transformer coupling; (ii) High-frequency transformer; and (iii) connected to a voltage source converter (VSC) input terminals, along
Transformerless topologies. with acquisition system, signal conditioning, and con-trols. The interface
between the VSC and the grid is done only by a coupling transformer,
Transformerless topologies have the advantage of higher efficiency where its leakage inductances are used to attenuate the switching
and reduced size. However, they have issues with respect to frequency current harmonics. This approach eliminates the output low-
pass filter hence reducing the system size and cost.
http://dx.doi.org/10.1016/j.renene.2014.11.087
0960-1481/© 2014 Elsevier Ltd. All rights reserved.
Machine Translated by Google
natural or abc reference frame [6]. They use nonlinear controllers (eg
R
hysteresis controllers) and have the disadvantages of requiring high
first
2
0 0 3 2
00 3
sampling frequencies and to switch the converter semi-conductors 6
L 7
L 7
R
7
iaðtÞ
first
7
vaðtÞ
2 3
0 0 2 3
0 2
6 7 7
ibðtÞ
¼
6 7
ibðtÞ þ 66606666 7
vbðtÞ
As an alternative, the synchronous reference frame can be used. DT 6
L 7
L 7
4 icðtÞ 5
6 7
4 icðtÞ 5
7
4 vcðtÞ 3 5;
In the dq0 frame, the variables are referred to a coordinate system 6
R 7
first
7
Initially an analytical model is presented in the abc frame and then iaðan þ iaðnÞ vaðtÞ
it is discretized and transformed to an ab0 frame. The aforementioned 2
1Þ ibðn þ
3 ¼F 2
ibðnÞ
3
þG 2
vbðtÞ (2)
model is used to design the inner current com-pensators. When the 4 1Þ icðn þ 1Þ
5 4 icðnÞ 5 4 vcðtÞ 3 5;
system is connected to the grid, with only a Proportional-resonant
(PR) controller tuned to the fundamental frequency, distorted currents where (n þ 1) and (n) represents the discrete time tnþ1 ¼ (n þ 1)Ts
are generated due to the nonlinear behavior of the connection and tn ¼ nTs, respectively; n is a positive integer that represents the
transformer. With the design and the inclusion of additional resonant sampling time and Ts is the sampling time. The matrices F and G are
controllers, the distorted current is compensated. Experimental results calculated by
are presented to demonstrate and validate the performance of the
digital pro-portional multi-resonant controller.
2 RTs 3
6
6
e L
0 0 7
6 7
F¼
6 7
0 e
RTs
L
0
7
; (3)
2. AC-side model 6
6
7
6 7
6 7
RTs
4 5
harmonics, the following system can be written for the converter's AC
side
Machine Translated by Google
and,
iaðn þ 1Þ ¼ 4iaðnÞ þ duaðnÞ ibðn
(9)
þ 1Þ ¼ 4ibðnÞ þ dubðnÞ :
2 RTs 3
L
6
1e 7
0 0 7
6
R 7
6 7
G¼ 6
first e L 7
:
(4) the modulation signal ma(n) is used to generate pulse-width modulation
6
0 0 7
(PWM) signals and, therefore, to control the output current. The control
R
6 7
6 7
6
7
7
strategy is based on a negative feedback loop where the actual current
6
RTs
L
7
first
6
0 0
7
ðva;pcc ðnÞ=NÞ are added before they are divided by VDCðnÞ= This
frame, the following state-space representation can be written
procedure, besides normalizing the modulation signal ma(n) due to the
fact that a space vector modulation (SVM) is used [13], has a
iðan þ 1Þ iaðnÞ vaðnÞ
2 3 ¼ G 2 ibðnÞ 3
þH 2
(5) feedforward action reducing the influence of the variations of grid
ibðn þ 1Þ vbðnÞ
voltage and minimize the effect of the DC voltage's ripple on the current
4 i0ðn þ 1Þ 5 4 i0ðnÞ 5 4 v0ðnÞ 3 5;
controller's output signal. The delay z1 is introduced in the block
where the subscripts a, b and 0 identify the currents and voltages in the diagram to model the processing time. A similar control block is used to
new coordinate frame; vaðnÞ¼ðvt;a ðnÞ va;pcc ðnÞ=NÞ, vbðnÞ¼ðvt;b control the b-axis current.
External loops may be included to control the level of the DC voltage
ðnÞ vb;pcc ðnÞ=NÞ and v0ðnÞ¼ðvt;0 ðnÞ v0;pcc ðnÞ=NÞ. The
matrices G and H are given by and the reactive power injected into the grid [14]. The design of the
aforementioned controllers will not be addressed in this paper.
400
2
G ¼ ½T
first
¼
040 (6) Based on the fact that the signals to be controlled on ab frame are
4 004 3 5; sinusoidal, proportional-resonant controllers can be used to ensure a
zero steady state tracking at its resonance frequency [15].
and,
d00
H¼ 2323 first
¼ 2 0d0 (7) 3.1. Current controller design
4T 55½T
4G 4
00d 3 5;
The transfer function of a continuous-time proportional-reso-nant
, d ¼are
1 where 4 ¼ eðRTs=LÞ (1 the Clarke's
4)/R; direct and inverse transformation
T and [T] (PR) controller is given by Ref. [16]
matrices (Appendix B) [7,8].
uðsÞ S
CPRðsÞ ¼ ¼ kp þ CrðsÞ ¼ kp þ kr eðsÞ ; (ten)
3. Control strategy s2 þ u2 r
Using (5) and referring to the three-phase three-wire circuit shown where kp and kr are the proportional and resonant gains, respec-tively;
in Fig. 1, the following relations can be written for the voltages at the Cr(s) the transfer function of the resonant controller; and ur is the
converter's AC terminals resonant frequency. Fig. 3 shows the block diagram of a PR controller
given in (10) based on two integrators.
8 In order to digitally implement the PR controller, (10) must be
vt;a ðn þ 1Þ ¼ uaðnÞ þ va;pcc ðnÞ . N vt;b
; (8) disclosed. There are several ways to discretize controllers with Euler's
<
: ðn þ 1Þ ¼ ubðnÞ þ vb;pcc ðnÞ . N and Tustin integration methods being very popular when proportional-
integral (PI) controllers are used. In the case of PR controllers, these
where ua(n) and ub(n) are the new control variables in the ab reference low-order methods are not suitable because they cause a displacement
frame. The inclusion of the terms ðva;pcc ðnÞ=NÞ and ðvb;pcc ðnÞ=NÞ of the resonant poles position [17]. This characteristic, in turn, can
in (8) has a feedforward action reducing the influence of the grid voltage drastically reduce the controller's effectiveness for higher resonance
on the current control loop [8]. frequencies.
Substituting (8) into (5) and neglecting the row and columns related According to [17] the first-order hold (FOH) is one of the con-version
to zero sequence current and voltage yields. methods which provides a precise pole location and good
1 cosðurTsÞ 1z2 _
CrðzÞ ¼ kr (11)
u2r Dr " 1 2cosðurTsÞz1 þ z2 # :
There are several methodologies to design the PR controller. Most According to [20] reasonable values for the vector margin are
of them are based on gain and phase stability margins aided by between 0.50.8. By doing so, it ensures a safe distance from the
Bode's diagram. Although these methods work quite well for critical point and as a result a well damped transient
systems in which the frequency response decay monotonically, response, allied to good switching and high frequency
they are not suitable for more complex systems where the gain and attenuation.
phase cross curves 0 dB and 180, respectively, more than once [18]. Based on the above, and with h ¼ 0.7 the corre-sponding proportional
For systems in which the open loop has reactive poles, the gain is kp ¼ 2.66 V/A. Fig. 4 depicts the
vector margin should be used. The vector margin is defined to be Nyquist diagram of G(z) and kp$G(z) for the system parameters
the distance to the (1,j0) point from the closest approach of the given in Table 1.
Nyquist plot. In other words, it is the inverse of the maximum After the value of the proportional gain is obtained, the con-troller's
sensitivity function value. Because the vector margin is a single resonant portion can be included and the influence of kr on
margin parameter, it removes all the ambiguities in assessing stability that the system's stability analyzed in order to choose an appropriate
comes with using gain and phase margins in combina-tion [18]. gain.gain.
5. Multi-resonant controllers
Fig. 5. Nyquist diagram of G(z)CPR(z) for different values of kr, and kp ¼ 2.66 V/A.
Fig. 6. Three-phase currents at the converter's terminals (horiz. scale: 2 ms/div; vert. Fig. 8. Block diagram of a Proportional Multi-resonant controller tuned to funda-mental,
scale: 22 A/div). 5th, 7th, 11th and 13th harmonics.
Machine Translated by Google
s cosðkurTsÞ ur sinðkurTsÞ Fig. 10. Nyquist diagram of G(z)Cr,t(z) with delay compensation, for kr ¼ 1000 V/(A$s),
Cd
r ðsÞ ¼ ; (17)
kr s2 þ u2 r and kp ¼ 2.66 V/A.
Fig. 10 depicts the Nyquist diagram of G(z)Cr,t(z) with the in- resonant gain kr of each new compensator is 1000 for the reasons
clusion of the delay compensation for the 11th and 13th harmonics. explained above.
The 5th and 7th do not need compensation. Fig. 11 shows the currents at the converter's terminals with the
As can be clearly seen, the delay compensation drives the inclusion of the additional resonant compensators. It can be seen
Nyquist trajectory far from the instability point. As a result, the vector that the currents are sinusoidally shaped. The harmonic compo-
margin increased from 0.098 to 0.485, which is a reasonable stability nents at which the resonant controllers are tuned to, have their
margin. amplitude reduced as shown in Fig. twelfth.
A comparison between Figs. 7 and 12 show that the output
5.1. Experimental results currents are significantly improved achieving hence a suitable
Fig. 11. Three-phase currents at the converter's terminals with multiple resonant controllers
Fig. 9. Nyquist diagram of G(z)Cr,t(z), for h ¼ 1,5,7,11 and 13, and kr ¼ 1000 V/(A$s), and (horiz. scale: 2 ms/div; vert. scale: 22 A/div).
kp ¼ 2.66 V/A.
Machine Translated by Google
Acknowledgments
Fig. 12. Harmonic spectrum of the “a” phase current, THD ¼ 2.14%. The discrete-time solution of the state-space equation x_ðtÞ ¼
AxðtÞ þ BuðtÞ is given by Ref. [twelfth]
2 3
xðtnþ1Þ¼½eATs xðtnÞ þ 6 eAðtnþ1tÞ Bdt uðtnÞ;
7
(A.2)
Ztnþ1
4 tn 5
where,
F ¼ eATs ; (A.3)
and,
Fig. 13. Voltage and current at the point of common coupling (horiz. scale: 2 ms/div;
vert. scales: CH1111 A=div and CH2125 V=div).
where, References
first first
[1] EPIA. Global market outlook for photovoltaics 2013e2017. Tech. rep. Euro-
2
first
3
pean Photovoltaic Industry Association; May 2013.
2 2
7 [2] Teodorescu R, Liserre M, Rodríguez P. Grid converters for photovoltaic and
ffiffiffi ffiffiffi
2
7
T¼ 66660666
7
; (B.3) [3] Franceschini G, IEEE EL, Buticchi G. Saturation compensation strategy for grid
3 2 2 connected converters based on line frequency transformers. IEEE Trans Energy
7
first 1 1
7
Conversations 2012;27(2):229e37.
[4] IEC 61727. Photovoltaic (pv) systems and characteristics of the utility interface.
42 2 2 5 Tech. rep. IEC; 2004.
[5] IEEEe1547. IEEE std. 1547e2003 standard for interconnecting distributed
resources with electric power systems. Tech. rep. IEEE; 2003.
and, [6] Buso S, Malesani L, Mattavelli P. Comparison of current control techniques for
active filter applications. IEEE Trans Power Electron 1998;45(5):722e9.
[7] Krause PC, Wasynczuk O, Sudhoff SD. Analysis of electric machinery and drive
1 01
systems. 2nd ed. Wileye IEEE Press; 2002.
[8] Yazdani A, Iravani R. Voltage-sourced converters in power systems e
2 3
ffiffiffi
6
first 3p 2 7
modeling, control, and applications. IEEE Press; 2010.
6 first 7
[9] Chung SK. A phase tracking system for three phase utility interface inverters.
T1 ¼ 2 ; (B.4) IEEE Trans Power Electron 2000;15(3):431e8.
6 7
6 7
ffiffiffi
6 7
Tsz first
[20] Astrom KJ, Murray RM. Feedback systems: an introduction for scientists and
Z
first
[23] IEEE. IEEE std.928e1986 recommended criteria for terrestrial photovoltaic power
systems. Tech. rep. 1986.
sampling period.
[24] Bojoi RI, Griva G, Bostan V, Guerriero M, Farina F, Profumo F. Current control
Then, apply the z-transform in both sides of (C.1) yields. strategy for power conditioners using sinusoidal signal integrators in syn-
chronous reference frame. IEEE Trans Power Electron 2005;20(6):1402e12.
[25] Limongi LR, Bojoi R, Griva G, Tenconi A. Digital current-control schemes. IEEE
1 z12 z1Ts first
first
Ind Electron Mag 2009;3(1):20e31.
CðzÞ ¼ $ZL CðsÞ$ (C.2)
s2 t¼nTs : [26] Chen CT. Analog and digital control system design: transfer-function, state-
space, and algebraic methods. Saunders College Pub; 1993.