Figure 1: Block Diagram of Proposed System
Figure 1: Block Diagram of Proposed System
Figure 1: Block Diagram of Proposed System
To achieve proper grid synchronization the phase, amplitude and frequency of the inverter and grid are
important factors.This factors are required for the operation of grid connected power conditioning
equipments. In those applications an accurate and rapid detection of the grid voltage is essential to obtain
the correct generation of reference signals. The main aim of this paper is to simulate the grid tied inverter
and to apply the phase locked loop. In order to operate the inverter and the grid in synchronization, the
input angle of the grid voltage is achieved by using Phase Locked Loop in the dq-synchronous reference
frame.
This paper describes about the Sinusoidal Pulse Width Modulation(SPWM) technology which overcomes
the low performance of conventional pulse width modulation technique use for active filter. In this
method the desired output voltage is obtained by comparing the reference waveform with the triangular
‘Carrier Waveform’. Therefore by using SPWM method, the voltage source inverter can be controlled as
well as THD can be reduced to the limit of IEEE harmonic standard. The simulation results shows that the
inverter output voltage and grid voltage are in same phase and frequency.
1
interactive operation may be a typical closed-
loop servo system where the instantaneous
phase-angle of the grid voltage, θ, is detected.
The block scheme of PLL designed in dq
synchronous-rotating coordinate system is
illustrated in figure 3. As seen from the figure,
the three-phase grid voltages Va, Vb, Vc are
measured and transformed into the stationary
reference voltages Vα and Vβ, then converted to
Figure 2: Block Diagram of conventional PLL
the rotating reference voltages Vd and Vq .Vd
and Vq appear as DC quantities. The PI worked
PLL is a feedback control system. It
as a loop filter of PLL is typically wont to
automatically matches the phase of a locally
control Vq parameter, and under ideal conditions
generated signal with the phase of input signal.
like no harmonics, balanced grid voltages, Vq
In grid connected system, PLL synchronizes the
value is zero while Vd is adequate to the utmost
instantaneous phase angle of inverter voltage
value of the grid voltage. On the opposite part,
with the phase angle of grid voltage to get power
the output of PI controller becomes the grid
factor close to unity. The block diagram of
frequency by adding feedforward angular
conventional PLL is given in figure 2[5].
It consist of PD, LF and VCO. The PD measures
the phase difference between the input and
reproduced output then generates a voltage
consistent with the phase difference between the
two signals. It is often analog or digital.
2
often controlled by using SPWM technique. In Figure 4: Block diagram of Pulse Width Modulation
SPWM technique each period is characterized
by constant amplitude pulses, but with different Controlling of Voltage Source Inverter
duty cycles[8]. Here so as to scale
back harmonic content and to regulate the output
The Proportional Integral controller which is used
voltage, width of the pulses are modulated. In
for three phase system is as shown in figure 5. The
SPWM to get the PWM signal, three sine waves
most important advantage of PI controller is that
and a triangular carrier of high frequency is
after the set point change there will be no any
employed. The sinusoidal waves of 120 deg
remaining control error. But on the other hand it
phase difference with one another are
has disadvantage that there is steady state error for
often considered because the reference
three phase system. But it is effective for single
signal supported the need of inverter output
phase system. As shown in figure 5. The filtered
frequency, the frequency of sinusoidal waves is
voltage is sensed and phase lock loop is used to
chosen.
determine the angular frequency from it. Here the
A wave with high frequency is taken into stationary dqo transformation is used to determine
account as triangular wave. By analyzing the the error signal and then these error signal is again
comparison between sinusoidal wave and converted into abc quantities. Then these signal is
triangular wave, generation of switching signal given to PWM generator. The main function of PI
takes place. When sine voltage exceeds the controller is to decrease the error signal which is
triangular voltage, comparator generates a pulse generated between actual current quantities sensed
and it is utilized in triggering of respective before the filter and reference signal after the filter.
inverter switches. And hence the voltage The reference generator block takes grid voltage in
regulation and harmonic reduction takes dqo reference frame (V od andV oq ) as input
place. Just in case of harmonics with several signal[10].
orders, it becomes difficult to eradicate
harmonics with SPWM technique, hence to After that they generate the reference current signal
beat from that problem LC filter is (i dref andi qref ). These reference signals are compared
synchronized within the circuit which is capable with the actual current signals.[10]
of eradicating higher order harmonics. Figure 4
shows the pulse width modulation technique. The active power (P) and reactive power (Q)
Comparator compares the carrier waveform with supplied to grid can be given in synchronous
the reference waveform and generates PWM reference frame as
signals[9].
P = 1.5(V od i d+V oq i q)
(1)
Q = 1.5(V od i q+V oq i d)
(2)
3
Figure.5. Proportional Integral controller block diagram
and P, Q are the active and reactive power voltage employing a Voltage Source Inverter .To
respectively. get rid of high frequency switching components
from the inverter output LC filter is employed. The
Assume filtered output of inverter is totally synchronized
V oq=0 ,∧hence (1)∧( 2) can be written as with grid and is therefore connected with grid.
Phase locked loop and dq current controller using
P = 1.5(V od i d ¿(3) PI controller also are implemented in Simulink.
Figure 6 shows the simulink model of Grid Tied
Q = 1.5(V od i q) (4)
Inverter. Here the PI controller is used to reduce the
i d = 2P/3V od error. Two loads are connected after the V- I
(5)
measurement block. The V-I measurement block
i q= 2Q/3V od (6) measures the three phase voltage and current. The
system parameters utilized in simulation are listed
These current signals are compared with actual in Table1.
quantities and given to the PI controller. As PI
controller requires feed forward path to improve Simulation Results
reference tracking, grid voltage is fed to it. Then
these signals are again transformed to abc frame Figure 7 shows the inverter output and grid voltage
on same axis. Yellow line indicates the inverter
and from SPWM, it is fed to the inverter switches. voltage whereas pink line indicates the grid voltage.
From waveform it is observed that the voltage of
System configuration
inverter and grid are same both in magnitude and
phase. This is the condition for inverter grid
Simulation of the entire system that's the facility
synchronization. Therefore by using dq PLL
electronics interface of renewable energy with grid method proper synchronization can be achieved.
and therefore the control methodology is completed Figure 8 shows the inverter output waveform.
using Simulink. The renewable energy is modeled Initially the breaker which is connected in series
by a DC voltage source which is converted into AC with first R-L load is open. Therefore the
4
.
Figure 6: MATLAB simulink model of grid tied inverter
current is small upto 0.4 sec. But after 0.4 Sec the supplied by inverter to grid, inverter grid
breaker will be closed. Therefore second load is synchronized voltage and current are observed. The
added to the system and load current increases after simulation of simple voltage source inverter is
0.4 sec. studied and observed with its harmonic analysis.
The simulation result shows that initially the
According to IEEE standard 519 the THD value voltage waveform is not pure sinusoidal but when
should be less than 5%[11]. Figure 9 shows the filter is use, we get pure sinusoidal waveform.
THD value of inverter output voltage after
synchronization. The THD value is 0.76%. Then we used PI controller and SPWM Technique
for controlling of inverter. The advantage of PI
Conclusion controller is that there is no remaining steady state
error after a set point changed. The advantages of
In this paper the method use for synchronization i.e. SPWM are easy to implement and control, Lower
dq-PLL method, SPWM technique & PI controller power dissipation, lower switching losses etc. The
is discussed. From this paper the simulation results dq PLL method is used for real time following of
of inverter filtered output voltage, inverter non- grid phase angle and voltage. All simulation results
filtered output voltage, active and reactive power
5
confirmed that the output voltage of the SPWM grid and grid synchronization is successfully
controlled grid tied inverter are balanced with the achieved.
6
Figure 9: THD analysis of inverter output voltage after synchronization