Documente Academic
Documente Profesional
Documente Cultură
BACHELOR OF TECHNOLOGY
IN
ELECTRICAL ENGINEERING
Submitted By
Supervisor
Dr. M A Mulla
2018-19
CERTIFICATE
This is to certify that the project report entitled “Control of Single-Stage Single-Phase PV
Inverter” submitted by
Ys Pavan kumar (U15EE105)
Chetan zinzala (U15EE033)
Uday ghantala (U15EE029)
Kiran prajapati (U15EE051)
Aman mistry (U15EE028)
is a record of bonafide work carried out by them in partial fulfilment of the requirement for
the award of the degree of “BACHELOR OF TECHNOLOGY IN ELECTRICAL ENGI-
NEERING”.
Date:
Place: Surat
Dr. M A Mulla
Faculty Supervisor
Examiners
Dr. S N Sharma
Head of Department
2
Acknowledgements
We would like to offer our very great appreciation to our guide Dr. M.A. Mulla for his constant
and patient guidance and constructive suggestions during the preparation of this report.
We wish to acknowledge the help provided by Dr. S N Sharma, Head of the Department for
supporting us by providing useful resources to carry out our project work.
We appreciate all our colleagues whose direct and indirect contribution helped us a lot to ac-
complish this report. We would also like to thank all the teaching and non-teaching staffs for
cooperating with us and providing valuable advice which helped us in the completion of this
work.
At last, We would like to thank our families for their immense support and encouragement in
writing this report.
3
Abstract
In this project, A control strategies for single-stage photovoltaic (PV) inverter is addressed.
Two different current controllers (the classical proportional-integral (PI) and the novel pro-
portional-resonant (PR) controllers) have been implemented and an experimental comparison
between them has been made. A complete control structure for the singlephase PV system is
also presented. The superiority of the PR controller is demonstrated with respect to the PI
controller in terms of harmonic current rejection and the capability to remove the steady-state
error without using the voltage feedforward (VFF). The control strategy was successfully
tested on a real 3.5 kW PV inverter.
4
TABLE OF CONTENTS
ACKNOWLEDGEMENT................................................................................................................................3
ABSTRACT......................................................................................................................................................4
TABLE OF CONTENTS..................................................................................................................................5
ACRONYMS.....................................................................................................................................................6
CHAPTER 1: INTRODUCTION.....................................................................................................................8
3.5 Conclusion......................................................................................................................................23
4.4 Conclusion......................................................................................................................................26
5
5.2.1 Calculation of reference current..........................................................................................29
CONCLUSION
REFERENCES
6
ACRONYMS
PR=Portional-Resonant
PI= Proportional-Integral
7
List of Figures
2.1 5 L evel diode clamped inverter..........................................................................................................10
3.2 PD-PWM........................................................................................................................................17
3.3 POD-PWM....................................................................................................................................17
3.4 APOD-PWM.................................................................................................................................18
8
6.7 Grid voltage, wt...........................................................................................................................38
List of Tables
2.1 Switching of diode clamped inverter..,.........................................................................................10
9
Chapter 1
INTRODUCTION
With restructuring and deregulation of power system, distributed energy resources are becoming more popu-
lar. The conventional power plants are often centralized and use non-renewable energy resources such as
coal, petroleum, natural gas etc. In distributed energy resources, renewable source of energy is used such as
solar, wind, biomass etc. With the increase in pollution and depleting conventional sources of energy, a lot
of focus is on renewable sources.
Recently a tremendous amount of attention is paid to PV connected solar inverter by researchers. The mar-
ket for PV power applications continues to develop at a high rate [1]. Moreover, the price level of the PV
modules and the system costs (inverter included) has decreased significantly [2]. The use of PV systems
connected in parallel with the mains was simplified and is often supported by incentives from utilities and/or
governmental bodies. Before connecting a PV system to the power network, the d.c. voltage of the solar
modules must be converted into an a.c. voltage. Some protection systems are required to prevent damage in
the PV system caused by the utility network and vice versa. The PV systems require standards addressing
the use and the performance of grid-connected PV inverters, thus ensuring the safety and quality of the prod-
ucts.
The purpose of the power electronics in PVPS is to convert the d.c. current from the PV panels into an a.c.
current to the grid, with the highest possible efficiency, the lowest cost and keep a superior performance. The
basic interfacing is shown in Fig. 1.
Fig. 1: Power electronic system with the grid, source (PV array),
power converter and control
10
The objective of work done in this report is to develop a control loop for solar inverter working in
standalone mode. The aim is to propose a simple, stable control loop for getting the constant ac output volt-
age from inverter. The input of solar inverter is connected with solar panel. As solar irradiation level keeps
changing throughout the day, the output of solar panel changes, consequently the input of inverter changes.
To maintain the output constant a closed loop is implemented using a PI controller. The peak value of in-
verter output is compared with a reference signal. The error is fed to PI controller. Duty cycle of inverter
switch is varied with error so as to make the output voltage constant. For current-controlled PV inverters in
most of the cases a PI controller with grid voltage feed-forward (VFF) is used [3], [4], A perturb & observe
method has been used in order to track the Maximum Power Point Tracker (MPPT) of the PV characteristic.
In order to get a clean sinusoidal current reference (synchronized with the grid voltage) a phase locked loop
(PLL) based on a delay structure is used. The conclusions are presented in the final part of the report.
11
CHAPTER 2
System description and Control strategy
Usually the power converter interface from the d.c. source to the load and/or to the grid consists of a two
stage converter: the d.c.- d.c. converter and the d.c -a.c. converter. An alternative solution could be the use
of a single-stage converter where the d.c.-d.c. converter is avoided and in order to ensure the necessary d.c.
voltage level the PV array can be a string of PV panels or a multitude of parallel strings of PV panels. In the
classical solution with two stage converter, the d.c.-d.c. converter requires several additional devices produc-
ing a large amount of conduction losses, sluggish transient response and high cost while the advantages of
the single stage converters are: good efficiency, a lower price and easier implementation. The disadvantages
of the single-stage converter are the fact that the PV panels are in series and if shading occurs on one or sev-
eral PV panels then the efficiency of the whole system is reduced.
As shown in Fig. 2, the PV inverter system consists of a solar panel string and a d.c. link capacitor Cdc on
the d.c. side with an output a.c. filter (LCL), insulation transformer and grid connection on the a.c. side. The
number of panels in the string has to ensure a d.c. voltage higher than the a.c. peak voltage at all time. The
12
energy conversion from d.c. to a.c. side is made by a single-phase voltage source inverter. The used solar
panel string consists of sixteen uniserial PV panels (300 W for each panel).
For the grid-connected PV inverters in the power range of 1-5 kW, the most common control structure for
the d.c.-a.c. grid converter is a current-controlled H-bridge PWM inverter having a low-pass output filter.
Typically L filters are used but the new trend is to use LCL filters that have a higher order (3rd) which leads
to more compact design. The drawback is its resonance frequency which can produce stability problems and
special control design is required [7]. The control structure of the PV power conversion system is shown in
Fig. 3.
The main elements of the control structure are the synchronization algorithm based on PLL, the MPPT, the
input power control, the grid current controller including PWM.
13
The PLL is used to provide a unity power factor operation which involves synchronization of the inverter
output current with the grid voltage and to give a clean sinusoidal current reference. The PI controller param-
eters of the PLL structure are calculated in such a way that the settling time and the damping factor of this
PLL structure can be set directly. The PLL structure is also used for grid voltage monitoring in order to get
the amplitude and the frequency values of the grid voltage. The general form of the PLL structure including
grid voltage monitoring is presented in Fig. 4 [8].
Fig. 4:General structure of a single phase PLL including grid voltage and current monitoring.
Maximum power point tracking (MPPT)[1][2] or sometimes just power point tracking (PPT)[3][4]) is a tech-
nique used commonly with wind turbines and photovoltaic (PV) solar systems to maximize power extraction
under all conditions.
PV solar systems exist in many different configurations with regard to their relationship to inverter systems,
external grids, battery banks, or other electrical loads.[5] Regardless of the ultimate destination of the solar
power, though, the central problem addressed by MPPT is that the efficiency of power transfer from the solar
cell depends on both the amount of sunlight falling on the solar panels and the electrical characteristics of the
load. As the amount of sunlight varies, the load characteristic that gives the highest power transfer efficiency
changes, so that the efficiency of the system is optimized when the load characteristic changes to keep the
power transfer at highest efficiency. This load characteristic is called the maximum power point (MPP) and
14
MPPT is the process of finding this point and keeping the load characteristic there. Electrical circuits can be
designed to present arbitrary loads to the photovoltaic cells and then convert the voltage, current, or frequency
to suit other devices or systems, and MPPT solves the problem of choosing the best load to be presented to
the cells in order to get the most usable power out.
Solar cells have a complex relationship between temperature and total resistance that produces a non-linear
output efficiency which can be analyzed based on the I-V curve.[6][7] It is the purpose of the MPPT system
to sample the output of the PV cells and apply the proper resistance (load) to obtain maximum power for any
given environmental conditions.[8] MPPT devices are typically integrated into an electric power converter
system that provides voltage or current conversion, filtering, and regulation for driving various loads, includ-
ing power grids, batteries, or motors.
Photovoltaic solar cell I-V curves where a line intersects the knee of the curves where the maximum power
transfer point is located.
2.2.2.1 Implementation
When a load is directly connected to the solar panel, the operating point of the panel will rarely be at peak
power. The impedance seen by the panel derives the operating point of the solar panel. Thus by varying the
impedance seen by the panel, the operating point can be moved towards peak power point. Since panels are
DC devices, DC-DC converters must be utilized to transform the impedance of one circuit (source) to the
other circuit (load). Changing the duty ratio of the DC-DC converter results in an impedance change as seen
by the panel. At a particular impedance (i.e. duty ratio) the operating point will be at the peak power transfer
point. The I-V curve of the panel can vary considerably with variation in atmospheric conditions such as ra-
diance and temperature. Therefore, it is not feasible to fix the duty ratio with such dynamically changing op-
erating conditions.
15
MPPT implementations utilize algorithms that frequently sample panel voltages and currents, then adjust the
duty ratio as needed. Microcontrollers are employed to implement the algorithms. Modern implementations
often utilize larger computers for analytics and load forecasting.
2.2.2.2 Classification
Controllers can follow several strategies to optimize the power output of an array. Maximum power point
trackers may implement different algorithms and switch between them based on the operating conditions of
the array.[12]
In the incremental conductance method, the controller measures incremental changes in PV array current
and voltage to predict the effect of a voltage change. This method requires more computation in the control-
ler, but can track changing conditions more rapidly than the perturb and observe method (P&O). Like the
P&O algorithm, it can produce oscillations in power output.[18] This method utilizes the incremental con-
ductance (dI/dV) of the photovoltaic array to compute the sign of the change in power with respect to volt-
age (dP/dV).[19]
The incremental conductance method computes the maximum power point by comparison of the incremen-
tal conductance (IΔ / VΔ) to the array conductance (I / V). When these two are the same (I / V = IΔ / VΔ),
the output voltage is the MPP voltage... The controller maintains this voltage until the irradiation changes
and the process is repeated.[13]
The incremental conductance method is based on the observation that at the maximum power point dP/dV =
0, and that P = IV. The current from the array can be expressed as a function of the voltage: P = I(V)V.
Therefore, dP/dV = VdI/dV + I(V). Setting this equal to zero yields: dI/dV = -I(V)/V. Therefore, the maxi-
mum power point is achieved when the incremental conductance is equal to the negative of the instantane-
ous conductance.
16
(2) Perturb and observe :
In this method the controller adjusts the voltage by a small amount from the array and measures power; if
the power increases, further adjustments in that direction are tried until power no longer increases. This is
called the perturb and observe method and is most common, although this method can result in oscillations
of power output.[13][14] It is referred to as a hill climbing method, because it depends on the rise of the
curve of power against voltage below the maximum power point, and the fall above that point.[15] Perturb
and observe is the most commonly used MPPT method due to its ease of implementation.[13] Perturb and
observe method may result in top-level efficiency, provided that a proper predictive and adaptive hill climb-
ing strategy is adopted.[16][17]
17
The perturb and observe algorithm has been chosen as a MPPT strategy in this report. In this method the
controller adjusts the voltage by a small amount from the array and measures power; if the power increases,
further adjustments in that direction are tried until power no longer increases. This is called the perturb and
observe method and is most common, although this method can result in oscillations of power output.[13][14] .It
is referred to as a hill climbing method, because it depends on the rise of the curve of power against voltage
below the maximum power point, and the fall above that point.[15] Perturb and observe is the most commonly
used MPPT method due to its ease of implementation.[13] Perturb and observe method may result in top-level
efficiency, provided that a proper predictive and adaptive hill climbing strategy is adopted.[16][17]
The flowcharts of the perturb & observe algorithm are shown in Fig. 5 [10], where Vk and Ik are the momentary
voltage and current of the PV array and Vk-1, Ik-1 are the previous sampled voltage and current, respectively.
The dP/dV term can be replaced by I + (∆I/∆V) ⋅ V. The output of the MPPT is the d.c. voltage reference (V*pv).
Both perturb and observe, and incremental conductance, are examples of "hill climbing" methods that can
find the local maximum of the power curve for the operating condition of the PV array, and so provide a true
maximum power point.[6][15][18]
The perturb and observe method requires oscillating power output around the maximum power point even
under steady state irradiance.
18
The incremental conductance method has the advantage over the perturb and observe (P&O) method that it
can determine the maximum power point without oscillating around this value.[13] It can perform maximum
power point tracking under rapidly varying irradiation conditions with higher accuracy than the perturb and
observe method.[13] However, the incremental conductance method can produce oscillations (unintention-
ally) and can perform erratically under rapidly changing atmospheric conditions. The sampling frequency is
decreased due to the higher complexity of the algorithm compared to the P&O method.[19]
2.2.2.4 Advantages
Simplicity: This algorithm solves one linear equation. Therefore, it does not consume much compu-
tational power.
Can be implemented as analog or digital circuits.
Since temperature varies slowly with time, there are no steady-state oscillation and instability.
Low cost: temperature sensors are usually very cheap.
Robust against noise.
2.2.2.5 Disadvantages
Estimation error might not be negligible for low irradiation levels (e.g. below 200 W/m²).
19
Vold=0;
Pold=0;
Dold=Dinit;
end
P= V*I;
dV= V - Vold;
dP= P - Pold;
if dP ~= 0 & Enabled ~=0
if dP < 0
if dV < 0
D = Dold + deltaD;
else
D = Dold - deltaD;
end
else
if dV < 0
D = Dold - deltaD;
else
D = Dold + deltaD;
end
end
else D=Dold;
end
if D >= Dmax | D<= Dmin
D=Dold;
end
Dold=D;
Vold=V;
Pold=P;
20
In this type of inverter different valued sources are used. Main advantage is we can increase no. of levels
without changing no. of H-Bridges. Referring to figure 5 keeping source values different i.e. for 1st H-
Bridge dc voltage is kept V and for 2nd H-Bridge 2V. With different switching patterns 7 levels can be ob-
tained; values of voltage will vary from 3V,2V,V,0,-V,-2V,-3V. In this when switches S1,S4 conducts output
will be V and simultaneously with operation of switches S1*,S4* output of 2nd H- Bridge will be 2V; Result-
ant inverter output will be 3V. When S1,S3, S1*,S4* will conduct the resultant output will be 2V;as switches
S1*,S4* will give output 2V while S1,S3 will give zero. When switches S2,S3,S2*,S3* will conduct equiva-
lent output at each bridge will be -V and -2V; inverter output will be -3V.
Chapter 3
SINE PWM TECHNIQUES
21
PWM technique play an important role in obtaining desired output from MLI. Several PWM schemes have
been proposed for different application with different approach. This different PWM techniques involve sin-
gle pulse modulation technique, Multicarrier PWM technique, sine PWM technique, space vector PWM tech-
nique, selective harmonic elimination technique etc.
The multicarrier inverter technique is widely used because it is simplest technique to generate multiple pulses
to control individual power switches. It works on a basic principle of comparison of different carrier waves
with reference signal. They are mainly classified into two categories: i) Level Shift ii)Phase Shift Multicarrier
PWM technique involve different techniques like Phase disposed (PD), Phase Opposition Disposition(POD),
Alternate Phase Opposition Disposition(APOD), Phase shift(PS)etc.
Referring to fig. above different modulating signals are used like pure sinusoidal, Third Harmonic Injection
etc.
In Sinusoidal Pulse Width Modulation (SPWM) technique, the signal is generated by comparing a sinusoidal
reference signal with a triangular carrier wave of frequency, fc. The frequency of the reference signal, fr
determines the output frequency fo and its peak amplitude, Ar controls the modulation index MI.
There are two approaches i) Unipolar ii) bipolar. In unipolar carrier wave above zero or below zero are com-
pared with two sine reference signal which are 180◦ out of phase. In bipolar all the carrier waves are compared
with reference signal.
22
3.1 Level Shifted PWM Techniques:
In Level shifted technique N-1 levels are used and are compared with reference signal and pulses are gener-
ated.
1) Phase Disposition(PD): IN this method all the carrier signals are in same phase and compared with
reference signal.
2) Phase Opposition Disposition PWM (POD-PWM): In phase opposition disposition all the carrier
waves above zero are out of phase 180◦ with below zero waves.
3) Alternate Phase Opposition Disposition (APOD) PWM: In APOD all the adjacent carrier waves
are out of phase 180◦.
23
Fig 3.4 APOD PWM
Where s is the no. of H bridges connected in cascade per phase and k is the order of harmonics. For a given
desired fundamental peak voltage V1 , it is required to determine switching angles such that lower harmonics
are zero. The above equation is written again as
4Vdc
V1 = (cos α1 + cos α2 + cos α3 + ⋯ + cos αs )
π
Modulation index is defined as the ratio of fundamental voltage to the maximum obtainable fundamental
voltage. The maximum fundamental voltage is obtained when all the switching angles are zero.
4Vdc
V1max =
π
V1
So, according to MI definition, MI = V
1max
2 − V2
Vrms 1
THD = √ 2 ∗ 100%
V1
fc =5kHz
Vdc =200v
A) Phase Disposed
25
Fig 3.7 Phase Disposed PWM scheme
3.5 Conclusion
28
In this particular section we discussed about different PWM schemes and THD. THD at different MI is meas-
ured and data has been shown in tabular form. Major difference between Phase Shifted scheme and Phase
Disposed scheme is how the carrier signals are being applied. From data shown above we can conclude that
90◦ Phase shifted carrier can produce lowest harmonic output voltage.
Chapter 4
29
INTRODUCTION TO PLL
4.1 Working Principle of PLL
A PLL is a closed loop fed-back system that sets fixed relationship between its output clock phase and phase
of a reference lock. A PLL is capable of tracking phase changes that falls in bandwidth of the PLL. A PLL
also multiplies a low frequency clock to produce high frequency clock which is known as clock synthesis. A
PLL has a negative feedback control system circuit. The main objective of PLL is to generate a signal in which
the phase is the same as reference signal. This is achieved after many iterations of comparisons of reference
and feedback signal. In this lock mode the phase of reference and feedback signal is zero. After this PLL
continues to compare the two signals but since they are in lock mode the output becomes constant. The basic
block diagram is shown below. Basically PLL consists of five main blocks.
v) Divide by N counter
The PFD is one of the main parts in the PLL. It compares the phase and frequency difference between the
reference clock and feedback clock. Depending upon the phase and frequency deviation, it generates two
output signals "up" and "down". The charge pump circuit is used in PLL to combine both the output of PFD
and give a signal output. Output signal is fed to LPF to generate a DC control voltage. The Phase and frequency
of VCO output depends upon generated DC control voltage. If the PFD generates an "up" signal error voltage
at output of LPF increases which in turn increases VCO o/p signal frequency. If the "down" signal is generated
VCO o/p signal frequency decreases. The o/p of VCO is then fed back to PFD in order to recalculate the
phase difference and then we can create closed loop control frequency system.
30
ii)Clock Generation : Many electronic systems include processors of various sorts that operate at hundreds of
megahertz. Typically, the clocks supplied to these processors come from clock generator PLLs , which mul-
tiply a lower frequency clock up to the operating frequency of the processor. The multiplication factor can be
quite large in cases where operating freq. is multiple GHz and crystal freq. is tens or hundreds of MHz.
iii)Carrier Recovery: Some data streams, especially high speed serial data streams, are sent w/o an accompa-
nying clock. The receiver generates a clock from an approximate frequency reference and then phase aligns
to the transition in a data stream in PLL. This process is referred to clock recovery.
iv)Skew Reduction: This is one of the very popular and earliest use of PLL. Suppose a synchronous pair of
data and clock line enters a large digital chip. Since clock typically drives a large no. of transistors and logic
interconnects, it is first applied to large buffer. Thus, clock distributed on chip may suffer from substantial
skew with respect to data. This is an undesirable effect which reduces timing budget for ON chip operations.
v) Noise and Jitter Reduction: One desirable property of all PLLs is that the reference and feedback clock
edges be brought into very close alignment. The average difference in time between the phases of the two
signals when the PLLs has achieved lock is called static phase effect. The variance between this phases is
called tracking jitter. Ideally, the static phase offset should be zero and tracking should be as low as possible.
The PLL based on Second Order Generalized Integrator (SOGI) also separates and perfectly detects the phase
angle of positive and negative sequence components but with a much better dynamic response. The PLL struc-
ture involves Quadrature Signal Generation (QSG) with the use of SOGI as shown in Fig. 4. Two SOGI based
QSGs are used to obtain the in phase and quadrature components of the α axis (represented by αv' and α qv'
respectively) and β axis (represented by β v' and β qv' respectively) voltages.
31
Fig 4.2 SOGI based Quadrature Signal Generation
1
𝑣𝛼− = (𝑣𝛼′ + 𝑞𝑣𝛽′ )
2
1
𝑣𝛽+ = 2 (𝑣𝛽′ + 𝑞𝑣𝛼′ )
1
𝑣𝛽− = 2 (𝑣𝛽′ − 𝑞𝑣𝛼′ )
The α and β axis voltages of positive and negative sequence components so obtained are fed two separate
conventional SRF PLLs which separately obtain d and q axis voltages of two sequence components and hence
the corresponding phase angles are properly detected. The d and q axis voltage of the positive sequence com-
ponents are given by eqn given below
𝑈 𝐶𝑂𝑆(𝜃 −𝜃ˆ )
= (𝑈+ 𝑆𝐼𝑁 (𝜃+ −𝜃ˆ+ ))
+ + +
4.4 Conclusion:
In this section introduction of PLL has been discussed. A brief introduction to SOGI PLL and mathematical
interpretation has been discussed.
32
Chapter 5
GRID CONTROL MECHANISM
5.1 Clarke and Park Transformation
Clarke and Park transformation are used in high performance architectures in three phase power system anal-
ysis. Current and voltage are represented in terms of space vector which is represented in a stationary reference
frame. Through the use of the Clarke transformation, the real and imaginary currents can be identified. The
Park transformation is used to realize the transformation of those real and imaginary currents from the station-
ary to the rotating reference frame.
A) Clarke Transformation
Let, iR, iY and iB are the instantaneous balanced three-phase currents. Then
𝑖𝑅 + 𝑖𝑌 + 𝑖𝐵 = 0
𝑖̅ = 𝑘(𝑖𝑅 + 𝛼𝑖𝑌 + 𝛼 2 𝑖𝐵 )
where, α is an operator described earlier and k = Transformation constant. Figure shows space current vector
and its projection.
33
In symmetrical 3-phase machines, the direct and quadrature axis currents iα and iβ are fictitious quad-
rature-phase (2-phase) current components, which are related to the actual 3-phase currents as
1 1
𝑖𝛼 = 𝑘(𝑖𝑅 − 𝑖𝑌 − 𝑖𝐵 )
2 2
√3
𝑖𝛽 = 𝑘 (𝑖 − 𝑖𝐵 )
2 𝑌
In matrix form it can be written as
𝑖𝛼 𝑖𝑅
1 −0.5 −0.5
( )=𝑘∗ ∗ 𝑖𝑌
𝑖𝛽 0 0.866 −0.866 𝑖
𝐵
𝑖𝑅 + 𝑖𝑌 + 𝑖𝐵 = 0
Then,
1 1
𝑖𝛼 𝛼 = 𝑘(𝑖𝑅 − 𝑖𝑌 − 𝑖𝐵 )
2 2
The recommended value of
2
k=3
Thus, transformations from a 3-phase (R, Y, B) to a 2-phase (α,β) system is commonly known as Clarke
transformation.
𝑖𝛼 2 1 𝑖𝑅
−0.5 −0.5
( )= ∗ ∗ 𝑖𝑌
𝑖𝛽 3 0 0.866 −0.866 𝑖
𝐵
𝑖𝛼 𝑖𝑅
( ) = [clarke matrix] ∗ 𝑖𝑌
𝑖𝛽 𝑖𝐵
B)Park Transformation
General Rotating Reference Frame
Besides the stationary reference frame attached to the stator, current space vector equations can be formulated
in a general reference frame which rotates at a general speed wg as shown in Fig.5.2
34
Fig 5.2 General Rotating Frame of Reference
If a general reference frame is used, with direct and quadrature axes x, y rotating at a general instantaneous
speed, , as shown in Fig.5.2 where 𝜃𝑔 is the angle between the direct axis of the stationary reference frame (α)
attached to the real axis (x) of the general reference frame, then, the current space vector in general reference
frame can be written as
In (α,β) plane
𝜓 = 𝜓𝛼 + 𝜓𝛽
in (d,q) plane
𝜓 = 𝜓𝑑 + 𝜓𝑞
𝜓𝛼
cos𝜃=
𝜓𝑑
The following transformations are involved due to rotation of orthogonal d-q system
𝑑 𝑐𝑜𝑠𝜃 𝑠𝑖𝑛𝜃 𝛼
( )=[ ]∗ ( )
𝑞 −𝑠𝑖𝑛𝜃 𝑐𝑜𝑠𝜃 𝛽
𝛼 𝑐𝑜𝑠𝜃 −𝑠𝑖𝑛𝜃 𝑑
( )=[ ]∗ ( )
𝛽 𝑠𝑖𝑛𝜃 𝑐𝑜𝑠𝜃 𝑞
𝑐𝑜𝑠𝜃 𝑠𝑖𝑛𝜃
Park matrix= [ ]
−𝑠𝑖𝑛𝜃 𝑐𝑜𝑠𝜃
𝑑 𝑅
( ) = (𝑃𝑎𝑟𝑘 𝑀𝑎𝑡𝑟𝑖𝑥) ∗ (𝐶𝑙𝑎𝑟𝑘𝑒 𝑀𝑎𝑡𝑟𝑖𝑥) ∗ 𝑌
𝑞
𝐵
Q=0.5*Vs I sin𝜃𝑖
2 +𝑄 2
√𝑃𝑟𝑒𝑓 𝑟𝑒𝑓
𝑖𝑟𝑒𝑓 (𝑡) = 2 ∗ sin(𝜔𝑡 − arctan(𝑄𝑟𝑒𝑓 − 𝑃𝑟𝑒𝑓 )) ............................................................................[a]
𝑉𝑠
Besides its simplicity, providing a pure sinusoidal reference current (in condition that the PLL performs per-
fectly under non-ideal grid voltages) is another advantage of this method, which as a result the distortion of
grid voltage does not appear in the reference current.
Here ol stands for open loop control .The derivative part of can be calculated using the first-order approxima-
tion. This approximation may reduce the speed of the system, especially during transients and load changes.
To deal with the problem, given that the reference current of [a] is a pure sinusoidal waveform, it is possible
to directly replace the derivative of [a] in [d] and then convert it to the discrete form as
The open-loop current control leads to errors in the amplitude and the phase of the converter current. This
error mainly arises from modelling errors and uncertainties, such as neglecting the inductor resistance, rL, the
fact that vs[n] and vs(t) are equal only at sampling instants, and delays introduced by the analogue-to-digital
converters, the program execution and the PWM modulator. To achieve a zero steady-state error, a closed-
loop control system is mandatory. The AC-side current is a suitable feedback signal.
37
Fig 5.4 Current control scheme
The current error sign determines whether the measured current is larger or smaller than the reference current.
When the current error is positive, a decrease, and when the current error is negative, an increase in the con-
verter current is required.Closed loop reference volatge can be given by
where k is the gain of the closed-loop controller, which must be determined carefully to maintain the closed-
loop stability, while ensuring a fast and accurate tracking performance. In the proposed control law of [g], the
amplitude and the sign of the current error are both used to modify the open-loop reference voltage. For in-
stance, when the converter current is greater than the reference current, the current error will be positive and
the kΔi increases the reference voltage; therefore the converter current will be reduced. From the control point
of view, the open-loop term, vref,ol, reduces the feedback control effort, and offers faster and at the same time
smoother transient responses, especially at start-ups.
38
Chapter 6
INTRODUCTION TO WAIJUNG
"Waijung" or " ", a Thai slang for "so fast", is a Simulink Blockset that can be used to easily and automatically
generate C code from your Matlab/simulink simulation models for many kinds of microcontrollers (Targets).
Currently, Waijung has been designed specifically to support STM32F4 family of microcontrollers (STM32F4
Target) which is a Hi-Performance & DSP MCU from STMicroelectronics. Waijung Blockset and STM32F4
Target has been completely redesigned with many new features and improvements, based on our experiences
on developing RapidSTM32 Blockset and "real-world applications with ease of use" philosophy. The follow-
ings list some of the new features included in Waijung Blockset and STM32F4 Target.
iii)Easily add your own C code with the new Basic Custom Code block.
iv)Acquire real-time data to SD Card upto 8 GB upto 100kHz with high speed SD card write block.
39
Chapter 7
SIMULATIONS AND FINAL RESULTS
7.1 Analysis of 5 level CHB Multi Level Inverter
A)Phase Disposed Control of 5 level MLI
40
Fig 7.2 Pulse Generation for Phase Disposed scheme
S1,S4
S6,S7
S5,S8
S2,S3
41
Fig 7.3 Pulses for Phase disposed scheme
43
Grid Voltage
44
Fig 7.8 Park Transformation
Inverter Output
wt
α-β
d-q-0 output
45
Fig 7.10 current control scheme
Id
Iq
46
abc phase voltage wave forms
Id and Iq response
47
Grid V I
PLL fundamental(Mag.)
48
PLL fundamental (Angle)
Id and Iq response
49
Grid Voltage and current
PLL Fundamental(Mag.)
50
III) Id=0 Iq=+3
51
Fundamental Grid Voltage
PLL fundamental(Angle)
Id and Iq
52
converter voltage and current
PLL fundamental(Mag.)
53
PLL fundamental(Angle)
Id Iq Vinv Vgrid 𝛿
-3 0 90 89.81 -175◦
+2 0 90 89.81 176.15◦
0 +3 97.4 89.81 -180◦
0 -3 82.5 89.81 -180◦
54
Fig 7.16 one phase of 3 phase inverter
55
Chapter 8
CONCLUSIONS
56
References
1) C. Boonmee Y.Kumsuwan:''A phase shifted carrier -based PWM technique for cascade H-Bridge inverters
application in PV system" 15th International Power Electronics and Motion Control Conference, EPE-PEMC
2012 ECCE Europe, Novi Sad, Serbia.
2) G. Murali Krishna, V.V.N Murthy, K. Lakshmi Ganesh:"THD Analysis of symmetrical and Asymmetrical
cascaded H-bridge inverter With PV arrays"
3) Majid Sanatkar- Chayjani, Mohammad Monfared:"Simple digital current control strategy for single phase
grid-connected converters", IET power electronics
4) Sourabh Rathore, Mukesh Kumar Kirar and S. K Bhardwaj "SIMULATION OF CASCADED H- BRIDGE
MULTILEVEL INVERTER USING PD, POD, APOD TECHNIQUES" International Journal (ECIJ) Volume
4, Number 3, September 2015
5)Sakda Somkun, Viboon Chunkag "Unified Unbalanced Synchronous Reference Frame Current Control for
Single-Phase Grid-Connected Voltage-Source Converters" IEEE TRANSACTIONS ON INDUSTRIAL
ELECTRONICS, VOL. 63, NO. 9, SEPTEMBER 2016.
6) Binita Sen, Dushyant Sharma and B. Chitti Babu," DSRF and SOGI based PLL-Two Viable Scheme for
Grid Synchronization of DG Systems during Grid Abnormalities"
7) José Rodríguez, Senior Member, IEEE, Jih-Sheng Lai, Senior Member, IEEE, and Fang Zheng Peng, Senior
Member, IEEE, "Multilevel Inverters: A Survey of Topologies, Controls, and Applications," IEEE Trans. Ind.
Electron., vol.49, No.4, Aug. 2002, pp. 724-738.
8)Rishi Kumar Dewangan, Prof. R.M.Potdar " Comparative Analysis of MLI and it's PWM schemes"
New
13 "Maximum Power Point Tracking". zone.ni.com. zone.ni.com. Archived from the original on 2011-04-16.
Retrieved 2011-06-18.
14^ "Advanced Algorithm for MPPT Control of Photovoltaic System" (PDF). solarbuildings.ca. Archived
from the original (PDF) on 2013-12-19. Retrieved 2013-12-19.
15^ Jump up to:a b Hohm, D. P.; Ropp, M. E. (2003). "Comparative Study of Maximum Power Point Tracking
Algorithms". Progress in Photovoltaics: Research and Applications. 11: 47–62. doi:10.1002/pip.459.
16^ "Performances Improvement of Maximum Power Point Tracking Perturb and Observe Method".
actapress.com. 2006-03-09. Retrieved 2011-06-18.
17^ Zhang, Q.; Hu, C.; Chen, L.; Amirahmadi, A.; Kutkut, N.; Batarseh, I. (2014). "A Center Point Iteration
MPPT Method With Application on the Frequency-Modulated LLC Microinverter". IEEE Transactions on
Power Electronics. 29 (3): 1262–1274. doi:10.1109/tpel.2013.2262806.
57
58