Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

A New Grid Synchronization Scheme for a Three

Phase PV system employing Kalman Filtering


Sudarshan Swain Bidyadhar Subudhi, Senior Member IEEE,
Department of Electrical Engineering, Centre for Renewable Systems,
National Institute of Technology, Rourkela, India Department of Electrical Engineering
Email: sudarshan.nitrkl@gmail.com National Institute of Technology, Rourkela, India
Email: bidyadhar@nitrkl.ac.in

Abstract—In this work, a new grid synchronization control Hence, to achieve effective grid synchronization it is
strategy is developed for a single stage three phase grid coupled essential to extract the fundamental current and voltage
Photovoltaic system that employs Kalman Filter Algorithm (KF) components of the distorted load current and the PCC voltage.
to estimate the fundamental sinusoidal components of the Point The fundamental sinusoidal component of voltage or current
of common connection (PCC) voltage and load current are extracted conventional employing unit vector method,
respectively. The DC-link bus capacitor voltage is regulated low-pass filter (LPF), positive sequence calculation and
employing a Proportional-Integral (PI) controller. KF effectively discrete Fourier transform (DFT). Conventional unit vector
extracts the fundamental components by updating the Kalman method [3] provides satisfactory steady-state performance but
gain such that it minimizes the estimation error variances.
it yields incorrect reference currents under distorted grid
Simulation and experimental studies of the proposed KF-PI
control strategy shows that it effectively extracts maximum PV
voltage. A phase shift introduces in the output using LPF
power and mitigates load current harmonics reducing the Total method [4] causing inaccurate compensation. In [5], the
Harmonic Distortion (THD) of the grid current and PCC voltage computation time more to determine the reference grid current
to a lower value which are within the limits presented by the which is evaluated by deriving the positive-sequence
IEEE 519 standards even distorted grid voltage condition. component of the unbalanced grid voltage and then extracting
the fundamental component from it. DFT method [6] provides
Keywords—Photovoltaic (PV); Point of common connection inaccurate estimate for variable grid frequency because of
(PCC); Kalman Filter (KF); Total Harmonic Distortion (THD). spectral leakage. Self-tuning filter (STF) has been applied with
APFs [7] to improve PQ under distorted voltage conditions.
I. INTRODUCTION Additional measurement noise at PCC voltage have not been
consideration to generate the reference current. In [8] Kalman
The Technological advancement in the stream of filter based approach has been proposed for active power
semiconductor devices have increased the efficiency of filters (APFs) to generate the reference current. Although KF
Photovoltaic (PV) modules with reduced cost [1]. From 2011- has been used with APFs to improve PQ which provides
2013, PV modules cost has reduced by 60% and more than excellent results. It is intended to extend the application of KF
40% reduction is forecasted by 2020 [2]. The reduced cost and for a grid connected PV system under distorted grid voltage
environment friendly nature of PV module has given high condition. In this work a KP-PI control scheme is proposed for
impetus to inject PV power into the utility grid, to meet the a single stage three phase grid coupled PV system for effective
increasing load demand. grid synchronization. The contributions of the paper are as
Performance of the grid coupled PV system primarily follows:
depend on the effective control strategy adopted. So the • Faster and accurate estimation of fundamental sinusoidal
control strategy for grid synchronization of PV system must be component of the distorted PCC voltage and the nonlinear
designed such that it extracts maximum PV power, injects
active power into the grid, reactive power compensation and Non-Linear Load (LA ) Linear Load (L B )
also mitigate load current harmonics so as to maintain the grid
current sinusoidal in order to provide effective grid LlA R lA
LlB R lB
synchronization. Block diagram of a grid connected PV
system is shown in Fig. 1. Local loads LA and LB are connected
at PCC. Presence of nonlinear load LA makes the grid current Solar PV Array VSI
(igr) distorted. igr interacts with grid inductance (Lgr) and makes I PV ilA ilB
the PCC voltage (vp) distorted as given in eq (1) Cdc
digr L fl iin PCC
vP = v gr − Lgr (1) Grid
dt
where ig = il 1 + il 2 − ii Lgr igr
As vp gets distorted it affect grid synchronization and Fig. 1. Block diagram of single stage grid coupled PV system with multiple
further distorts other local loads connected at PCC. loads connected at PCC

978-1-5090-6255-3/17/$31.00 ©2017 IEEE


2017 IEEE Region 10 Symposium (TENSYMP)
load current using KF taking into account the given as
measurement noise.
x k +1 = Φ k x k + wk (2)
• Extraction of maximum PV power and simultaneously
y k = H k x k + vk (3)
maintaining the grid current sinusoidal with unity power
factor operation. where wk is the process noise and vk is the measurement noise.
• Real time implementation of the proposed KF-PI scheme Φk is the transition matrix and Hk is the observation matrix.
using dSPACE 1104. Designating the estimate of x k+1 as x̂ k +1 k , the next estimate
This paper is prepared as follows. In Section 2, control of the states are obtained using the following equations [9].
strategy for grid connected PV system using KF-PI approach
is presented. To authenticate the synchronization performance
of the proposed KF-PI control approach, simulation and
xˆ k +1 k = Φ k xˆ k k −1 + K k yk − H k xˆ k k −1 ( ) (4)

experimental study are performed using the developed −1


prototype grid-connected PV system in Section 3. Finally, the
Kk = Φ k Pk k −1H kT H k Pk k −1H kT + Rk ( ) (5)
paper is concluded in Section 4.
Pk +1 k = Φ k Pk k −1ΦTk − K k H k Pk k −1ΦTk + Qk (6)
II. PROPOSED KF BASED CONTROL ALGORITHM GRID The Kalman gain Kk is updated such that it minimizes
SYNCHRONIZATION OF PV SYSTEM error variances i.e. each major diagonal terms of the error
The basic configuration with the control strategy for the covariance matrix Pk. Qk is the process error covariance matrix
proposed single stage three phase grid coupled PV system is and Rk measurement error covariance matrix. The fundamental
presented in Fig. 2. The proposed KF-PI control strategy is sinusoidal component of the nonlinear load current are
divided into three parts as: estimated using the state space model of single sinusoid.
Depending on the state model, the next state of the system is
A. Extraction of fundamental load currents: estimated. A single sinusoid signal zk is represented as
A Kalman filter is a filter that minimize the mean square z k = a1sin ( kω1Ts + φ1 ) , ω1 = 2π f1 , k = 1, 2,3...... N (7)
error of the states for a given state space system and perform
where N is a integer, Ts is the sampling time, parameters a1 and
well under noisy environment. It uses a linear regression
f1 are the fundamental amplitude and frequency respectively
method such that the estimation error variance for the states
are minimized. The state space representation of a system is with initial phase ϕ1. The orthogonal x1k and the quadrature

LL R L Non-Linear Load

I PV Voltage source Inverter


Solar PV iLa
Array iLb iL iga igb
Grid
v pc vgc
Vdc C dc v pb vgb
VPV
v pb vga
Lf ii Lg
ig
PCC

KF-PI based Control Scheme


S a Sa Sb Sb S c Sc Ia iLa
I La
ABS SH
xqa
ZCD
Ib I Lb (
xˆ k +1 k = Φ k xˆ k k −1 + K k yk − H k xˆ k k −1 )
−1
iLb
ABS SH
iga igb igc xqb (
K k = Φ k Pk k −1H kT H k Pk k −1H kT + Rk )
* * *
ZCD Pk +1 k = Φ k Pk k −1Φ Tk − K k H k Pk k −1Φ Tk + Qk
iga igb igc
Ic I Lc iLc
1 ABS SH
xqc
3 ZCD A Extraction of fundamental Load Current using KF
xia xib xic Evaluation of Active Load current
xqa Vdc
B Estimation of Unit Vector xqb II PI
xqc Controller
VPV
v pa v pb v pc INC based MPPT
I PV
V * Algorithm
Extraction of fundamental component Extraction of max. PV power dc

of PCC Voltage using KF

v pa v pb v pc

Fig.2. Block diagram of single stage three phase grid coupled PV system

2
2017 IEEE Region 10 Symposium (TENSYMP)
x 2k component of zk are represented as (voltage corresponding to maximum PV power), as it is
simple, accurate, fast and feasible to practice in practical
x1k = a1sin ( kω1Ts + φ1 ) ; x 2k = a1cos ( kω1Ts + φ1 ) (8) situation [10]. The capacitor voltage Vdc of VSI regulated using
a PI controller, such that it follows Vdc*. Ii accounts for the
Hence x1k +1 and x 2k +1 are given as
switching loss in VSI and DC-link capacitor leakage loss,
x1k +1 = x1k cos (ω1Ts ) + x 2k sin (ω1Ts ) (9) minus the real PV power extracted from PV array.

x 2k +1 = − x1k sin (ω1Ts ) + x 2k cos (ω1Ts ) (10) I i = K Pdc *Vedc + K Idc ∫ Vedc dt (20)
Hence the values of Φk and Hk in eq(2) and eq(3) are
where Vedc = Vdc* − Vdc
 cos (ω1Ts ) sin (ω1Ts ) 
Φk =   ; H k = [1 0] (11) The amplitude of the active reference grid current per
-sin (ω1Ts ) cos (ω1Ts )  phase per phase are given as:

Using these estimates xˆ 1


k k −1
and xˆ 2 , the fundamental
k k −1 IP =
( I a + I b + I c + Ii ) (21)
3
sinusoidal component of the load current are obtained as
a1 sin ( kω1Ts + φ1 ) = xˆ 1 (12)
The reference grid currents  i ga
* *
, igb *
, i gc  are then
k k −1
obtained by multiplication of Ip with in-phase unit vector

B. Estimation of unit vector: template [ xia , xib , xic ] as:


* * *
To achieve effective grid synchronization under distorted iga = I P . xia ; igb = I P . xib ; igc = I P . xic (22)
grid voltage condition, accurate angular position of the PCC
voltage is needed to be extracted for unity power factor Hysteresis band current controller is employed such that
operation (i.e. grid current is in phase with PCC voltage). The the actual grid current tracks the reference grid current.
fundamental sinusoidal component of the PCC voltage
III. RESULTS AND DISCUSSION
(v v v
pa , pa , pa ) is extracted using KF algorithm. The
To analyze the synchronization performance of the
quadrature-phase and in-phase unit vector templates of the proposed KF-PI based control scheme for grid
fundamental PCC voltage are evaluated using eq (13) and eq synchronization, simulation and experimental studies have
(14) respectively. been pursued using MATLAB/Simulink and dSPACE 1104
respectively in the following subsections.
v pa v pb v pc
xia = ; xib = ; xic = (13) A. Simulation Results
VE VE VE
Simulink model of a single-stage three phase grid coupled
− xib − xic 3 xia ( xib − xic ) PV system using the proposed KF-PI approach has been
xqa = + ; xqb = + ;
3 3 2 2 3 developed and results obtained are shown in Fig.3. For
realizing a distorted grid condition, 3rd and 5th order voltage
− 3 xia ( xib − xic ) harmonics are introduced into the grid. A local nonlinear load
xqb = + (14)
2 2 3 connected at PCC comprises of an uncontrolled rectifier and
series RL load in DC side. The load current and the grid
voltage are both non-sinusoidal due to the presence of
where VE =
(
2 v pa2 + v pb2 + v pc2 ) harmonics. All the parameters required for modelling the PV
3 module are the same as used in [12]. A 5 kW PV array is used
which consists of 26 PV modules, with irradiation of 700
C. Estimation of Reference Grid Current: W/m2. The maximum Power Point (MPP) is at Vmp = 678.5 V
and Pmax = 3.395 kW. The open circuit voltage is 840 V and
The fundamental sinusoidal component of nonlinear load short circuit current is 5.75 A. All the parameter for simulation
study are given in Appendix I.
current (ĪLa, ĪLb, ĪLc) are sampled and held at every zero
crossing of the quadrature-phase unit vector templates of the The responses after compensation using the proposed KF
based approach are presented in Fig. 3. The control action is
PCC voltage (xqa, xqb, xqc) and its absolute value considered to provided at time t = 0.3 s. The grid current (iga) reaches steady
evaluate the active current component of the nonlinear load state at around time t = 0.35 s, and is almost sinusoidal with
current. Incremental conductance-based (InC) maximum reduced harmonic content. InC based MPPT tracks the MPP
power point tracking (MPPT) is employed to track Vmp and using the PI controller, Dc-link capacitor bus voltage (Vdc)
is maintained constant at Vmp such that maximum PV power is

3
2017 IEEE Region 10 Symposium (TENSYMP)
Uncompensated Compensation using KF approach
B. Experimental Results
0.4
The prototype of a three phase grid coupled single
v pa (kV)

0
stage PV system is shown in Fig. 4 (a). A 600W, Agilent made
-0.4
4 0.3 0.35 0.4 0.45 solar array simulator (E4360A) is used as virtual PV array.
The VSI is made up of three number of IGBT modules with
iga (A)

0
-4
two numbers of 4700 µF/450 V capacitors. The local
840 0.3 0.35 0.4 nonlinear load consists of an uncontrolled rectifier and series
Vdc (V)

750 RL load in DC side. dSPACE 1104 is employed to run the


660 proposed KF-PI based control scheme in real-time. Hall Effect
4
3
0.3 0.35 0.4 0.45 current sensor (LEM LA 55-P) and voltage sensor (LEM LV
PI (kW)

2
1
25-P) are used to sense the three phase current and voltage and
0
2
signals that are necessary for generating the PWM signal.
0.3 0.35 0.4 0.45
1 Control Desk developer version 3.5 is used to debug the
Pg (kW)

0
-1 proposed KF-PI based control scheme developed in Simulink
-2
0.25 0.3 0.35 0.4 0.45 0.5
into dSPACE 1104. The parameters used for the experimental
Time in Sec
study are presented in Appendix II. Fig. 4(b) shows MPP
Fig.3. Waveforms after compensation using Kalman Filter under distorted
tracking performance obtained by using InC MPPT. The
grid voltage condition. [PCC voltage (vpa), Grid current (iga), DC-link
operating point is shifted to the MPP thus extracting maximum
capacitor voltage (Vdc), Inverter active power (PI), Grid active power (Pg)]
PV power which is 355.86 W.
obtained. The nonlinear load of 1.6 kW is entirely fed from the Fig. 5(a) show the grid current waveforms after
PV array and the remaining PV power minus the losses in the compensation using KF-PI control approach. The grid current
system is sunk into the utility grid. Negative value of grid waveform obtained after compensation using KF-PI are found
active power signifies that the surplus PV power is being to be sinusoidal with reduced harmonic content. The active
injected into the utility grid. The FFT analysis of the PCC power analysis of grid power and inverter power using KF-PI
voltage (vpa) and grid current (iga) using KF-PI control control scheme are shown in Fig. 5(c-d) respectively.
approaches are presented in Table 1. THD of the Nonlinear load of 0.154 kW with 0.93 pf connected at PCC is
uncompensated vpa and iga are 5.95% and 26.90% respectively. entirely fed from PV array and the remaining PV power is
After compensation using KF-PI control approach the THD of sunk into the grid. Negative value of grid power signifies that
vpa and iga reduced to 2.82% and 3.72% respectively. the excess PV power is being injected into the utility grid at
unity power factor. As the reactive power of the grid is almost
Table 1 FFT analysis of PCC Voltage and Grid Current

Control PCC Voltage (vpa) Grid Current (iga)


Approach Fundamental %3rd %5th %7th %11th %13th %THD Fundamental %3rd %5th %7th %11th %13th %THD
Uncompensated 326.5 V 0.00 3.19 2.39 1.95 1.67 5.95 3.219 A 0.03 3.19 3.19 3.19 3.19 26.90
KF 326.5 V 0.03 0.62 0.62 0.32 0.20 2.82 3.686 A 0.08 1.05 1.14 0.53 0.45 3.72

(a) (b)
Fig. 4. (a) Experimental Set-Up of a single stage three phase Grid coupled PV system, (b) Power-Voltage and Current-Voltage Curves of PV array with InC
MPPT performance

4
2017 IEEE Region 10 Symposium (TENSYMP)
PV Converter Technology," IEEE Indust. Electro. Mag., vol.9, no.1,
pp.47-61, Mar. 2015.
[2] IEA-ETSAP and IRENA: “Solar Photovoltaics: Technology brief”
Technical Report, Energy Technology Systems Analysis Programme
and International Renewable Energy Agency, Jan. 2013.
[3] B. Singh, C. Jain and S. Goel, "ILST Control Algorithm of Single-Stage
Dual Purpose Grid Connected Solar PV System," IEEE Trans. Pow.
Electro., vol.29, no.10, pp.5347-5357, Oct. 2014.
[4] L.A. Moran, J.W. Dixon and R.R. Wallace, “A three-phase active power
filter operating with fixed switching frequency for reactive and current
harmonic compensation,” IEEE Trans. Ind. Electro., vol. 42, no. 4,
pp.402–408, Aug 1995.
(a) (b) [5] N. Gupta, S.P. Singh and R.C. Bansal, “A digital signal processor based
performance evaluation of three-phase four wire shunt active filter for
harmonic elimination, reactive power compensation and balancing of
non-linear loads under non-ideal mains voltages,” Elec. Pow. Comp. and
Sys., vol. 40, no. 10, pp. 1119–1148, Jul. 2012.
[6] T. Lobos and J. Rezmer, “Real-time determination of power system
frequency,” IEEE Trans. Pow. Deliv., vol. 46, no. 4, pp. 877-881, Aug
1997.
[7] S. Biricik, S. Redif, Ö. C. Ozerdem, S. K. Khadem and M. Basu, "Real-
time control of shunt active power filter under distorted grid voltage and
unbalanced load condition using self-tuning filter," IET Pow. Electro.,
vol. 7, no. 7, pp. 1895-1905, Jul. 2014.
[8] V.M. Moreno, A.P. Lopez and R.I.D. Garcias, “Reference current
(c) (d) estimation under distorted line voltage for control of shunt active power
Fig. 5 Waveforms after compensation using Kalman Filter: (a) PCC voltage filters," IEEE Trans. Power Electronics, vol. 19, no. 4, pp. 988-994, Jul.
(vpa) with Grid current (iga); (b) Inverter power; (c) Grid power; (d) FFT 2004.
analysis of Grid Current (iga)
[9] D. Simon, “Optimal state estimation: Kalman, H infinity, and nonlinear
approaches”, John Wiley & Sons, 2006.
zero i.e. the power is injected into grid at with unity power
factor. FFT study of the grid current after compensation using [10] R. Faraji, A. Rouholamini, H.R. Naji, Fadaeinedjad, R., Chavoshian,
M.R.: ‘FPGA-based real time incremental conductance maximum power
KF-PI are shown in Fig. 5(b). THD of the grid current is point tracking controller for photovoltaic systems’, IET Pow. Electro.,
reduced to a lower value of 3.8%. vol. 7, no. 5, pp. 1294-1304, May 2014

Conculsions APPENDIX I
Simulation Parameters: PV array Power (PPV) = 5 kW, Grid Voltage (vg) =
In this work a KF-PI control strategy is developed for a 230 V, System Frequency( f ) = 50Hz, Load Impedance (RL) = 200 Ω, (LL) =
single stage three phase grid coupled PV system. From the 25 mH, Grid Impedance: Rg = 0.1 Ω, (Lg) = 1 mH, DC-link Capacitance (Cdc)
presented simulation and experimental studies, it is verified = 1300 µF, Filter Impedance: (Rf) = 0.1 Ω, (Lf) = 13 mH, Switching
that the proposed KF-PI based control scheme provides frequency (fsw) = 20 kHz, Proportional and Integral Gain to regulate Vdc:
(KPdc)= 0.231, (KIdc) = 3.267, Process error covariance matrix (Qk) = [1 0 ; 0
effective grid synchronization of PV system i.e. extracting 1], Measurement error covariance matrix (Rk) = 1.5, Initial error covariance
maximum PV power, active and reactive power compensation matrix (P0) = [10 0 ; 0 10], Initial state variables (x0) = [1 0 ; 0 1].
and also mitigates load current harmonics. KF accurately
extracts the fundamental voltage and current component of the APPENDIX II
distorted PCC voltage and the nonlinear load current. The grid Experimental Parameters: PV array Power (PPV) = 350 W, Grid Voltage (vg) =
current becomes sinusoidal with reduced harmonic content 40 V, System Frequency( f ) = 50Hz, Load Impedance (RL) = 10 Ω, (LL) = 20
and is in phase with the PCC voltage thus guaranteeing unity mH, Grid Impedance: (Rg)= 0.1 Ω, (Lg) = 2 mH, DC-link Capacitance (Cdc) =
power factor operation. InC-based MPPT technique 2350 µF, Filter Impedance: (Rf) = 0.1 Ω, (Lf) = 10 mH, Switching frequency
(fsw) = 20 kHz, Proportional and Integral Gain to regulate Vdc: (KPdc)= 0.417,
effectively tracks the MPP i.e. estimating the reference DC- (KIdc) = 5.906,
link voltage corresponding to maximum PV power. The
maximum PV Power is extracted by regulating the DC-link
voltage using a PI controller, which effectively tracks the
estimated reference value. The FFT analysis shows that by
using the KF control approach, the grid current THD is
reduced to 3.8% which are well with limits presented by the
IEEE 519 standards.

References

[1] S. Kouro, J.I. Leon, D. Vinnikov and L.G. Franquelo, "Grid-Connected


Photovoltaic Systems: An Overview of Recent Research and Emerging

You might also like