Beruflich Dokumente
Kultur Dokumente
Corda
PILOT STUDY
Name:
IKENNA BRUCE EFIKA
SID No:
200502876
April, 2010
The University of Leeds
School of Electronic & Electrical Engineering
Declaration:
Date ……10-05-2010……………
[1] http://www.leeds.ac.uk/AAandR/cpff.htm
[2] http://www.leeds.ac.uk/studenthandbook/
1
ABSTRACT
This pilot study stands in both as a feasibility study and as a feedback to the progress of
my project work with Dr J. Corda. The project involves studying the dynamic response of
inverters which have been implemented using different feedback schemes to be able
determine the one with a better response to change in load current demand.
I have included a literature review of the systems being implemented in the project.
Included within are also possible methods of implementing the different DC-AC
converters, with their different limitations. My chosen method of demonstrating the
responses have been included together with a work plan.
2
List of symbols
A - Ampere (Current)
V - Volts (Voltage)
f - Frequency
PWM - Pulse Width Modulation
SPWM - Sinusoidal Pulse Width Modulation
SVPWM - Space Vector Pulse Width Modulation
VSI - Voltage Source Inverters
CSI - Current Source Inverters
AC - Alternating Current
DC - Direct Current
HVDC - High Voltage Direct Current
R - Resistors/Resistance
L - Inductor / Inductance
t - Instantaneous time
UPS - Uninterrupted Power Supply
THD - Total Harmonic Distortion
3
TABLE OF CONTENTS
Contents
1 Introduction......................................................................................................................... 5
2 Method of approach............................................................................................................ 5
3 Literature Review................................................................................................................ 6
3.1 Basic circuit analysis (Response in RL Circuits).......................................................... 6
3.1.1 Step Response......................................................................................................... 6
3.1.2 Single Pulse Response ............................................................................................ 7
3.1.3 Multi Pulse Response............................................................................................... 9
3.2 Inverters .................................................................................................................... 10
Basic TYPES, STRUCTURE and Topologies...................................................................... 11
3.3 Gate Drive circuit – Switching Signal Generation ...................................................... 18
3.3.1 Sinusoidal Pulse Width Modulation (SPWM).......................................................... 18
4 Control Schemes for Inverter Control ............................................................................... 29
4.1 Voltage Feedback Control Scheme ........................................................................... 29
4.1.1 Single Phase Implementation................................................................................. 29
4.1.2 Three Phase Implementation ................................................................................. 30
4.2 Current Feedback Control Scheme ........................................................................... 30
4.2.1 Single Phase Implementation................................................................................. 31
4.2.2 Three Phase Implementation ................................................................................. 31
4.3 Current Tracking Using fixed hysteresis chopping..................................................... 31
4.3.1 Single Phase Implementation................................................................................. 31
4.3.2 Three Phase Implementation ................................................................................. 32
5 Dynamic System Response.............................................................................................. 33
5.1 Voltage Feedback (Response) .................................................................................. 33
5.2 Current Feedback (Expected Response) .................................................................. 34
5.3 Current Tracking using fixed hysteresis chopping (Simulations and Plots) ............... 35
Conclusions ............................................................................................................................ 36
Work Plan ............................................................................................................................... 36
References ............................................................................................................................. 37
Appendix................................................................................................................................. 39
4
3 Introduction
PROJECT OBJECTIVES
The scope of this project surrounds the investigation of the dynamic response of different
type’s inverters. This study is important, as some applications require a fast response to
changes in load demand especially in drive applications.
BACKGROUND STUDY
The first publication on inverters was made by David Prince, where he defined it as the
inverse of a rectifier which was already in common use. This publication was made during
1925 in the GE Review, titled “The Inverter”.
Inverters are used to convert Direct current to Alternating current and they were first
implemented using converters with rotary parts called “inverted rotaries”, until around
1950s when germanium diodes became available. [1]
Their importance could not be over emphasized by the time they started being applied to
variable speed drives like induction motor drives and switched reluctance motor drives.
A proof of this importance is a patent [YU44023B] obtained by Dr. J. For Variable-
reluctance electric motor with continuous speed regulation for reversible variable-speed
drives in 1990. [14]
4 Method of approach
Line (self) commutation will be used on all inverter switches being simulated and
implemented. The gate signals will be generated using a Pulse Width Modulation (PWM)
scheme.
5
5 Literature Review
V = 100V
L = 1mH
i R = 10 Ω
Initial current ; I0 = 0A
Switch S has been in the open position for t = 0- and the switch is closed at t = 0+.
[3]
After switch is closed:
Applying Kirchhoff’s Voltage law
= + Equ (1)
= = = =− −
= −
ln ( )− − ln (0) − = − ( − )
( )
ln = − ( − )
( )
( )
( )
=
( )
( )− = −
( )
( )= + Equ (2)
( )
= − × − Substituting this in VL above gives:
( ) ( )
= − × − = Equ (3)
thereby building up the current until its steady state value is reached.
The time constant is ( ). Theoretically, the current should have reached 63% of its steady
state value at t = .
7
Figure 3.1.2 a: Single pulse response circuit
For this analysis, the switch has been in the closed position for a while (t = 0-)and steady state
values have been reached [2]. At the time t = 0, the switch is opened and the circuit response
is monitored.
Applying Kirchhoff’s Voltage law:
= + = +
= 0, ℎ ;0 = +
= −
= −
( )
( )= Equ (4)
Points to note:
- The response shown by this will be a decay of the energy flowing in the circuit.
- The inductor in the circuit will prevent the current from changing instantly.
- The time constant (L/R) depicts the rate at which the current decays.
The MATlab code for this response is contained in Appendix 1b.
8
5.1.3 Multi Pulse Response [3]
Gate Pulses
TON TOFF
The ratio (TON/T) known as the Duty ratio, has been fixed at 0.5 (i.e 50%).
The waveform will show the current in its quasi-steady state nature, until its waveform finally
reaches steady state operation.
9
5.2 Inverters
The output from these systems are expected to have properties such as
- Change in direction of conduction (+ve and – ve half cycles)
- Repetition of waveform after each period.
Some Applications / Uses of Inverters are:
1. UPS Back UP systems
They act as standby power systems.
They comprise of AC-DC converter, DC BUS (usually a battery) and a DC – AC converter.
B D
A C DC – AC
MAINS T || INVERTER OUTPUT
SUPPLY AC – DC T B (AC)
E U
R S
Y
The basic output features to expect from inverters used in this application is constant
voltage – constant frequency.
10
Basic TYPES, STRUCTURE and Topologies
11
TOPOLOGIES
VOLTAGE SOURCE TOPOLOGIES
HALF BRIDGE (SINGLE PHASE) INVERTER TOPOLOGY
VDC/2 VDC/2
- VDC/2 - VDC/2
Current Current
Output Output
Conducting D1 S1 D2 S2
D1 S1 D2 S2 Conducting
Devices Devices
( ) = ∑∞ × ( )
13
FULL BRIDGE (SINGLE PHASE) INVERTER TOPOLOGY [8]
This design contains an extra leg B, the principle of operation is same as the half bridge.
However, two switches are conducting at the same time to produce the pole Voltages (V ao
and Vbo).
The total voltage output is a sum of these two pole voltages to produce Vab.
Figure 3.2 f : Full Bridge Topology waveforms
VDC/2 VDC/2
Voltage
Voltage
Output
Output
(Vao)
(Vao)
- VDC/2
- VDC/2
VDC/2
VDC/2
Voltage
Output Voltage
(Vbo) Output
(Vbo)
- VDC/2
VDC - VDC/2
VDC
Voltage
Output Voltage
(Vab) Output
(Vab)
- VDC
- VDC
Current
Output
Current
Output
Conducting S1 D3 S3
D1 S1 D3 S3
Devices S4 D2 S2
D4 S4 D2 S2
Conducting
D1
Devices
D4
- The 3rd harmonics will move for 3600 for every 1200 shift in the fundamental. Also, 3rd
order harmonics (3rd, 9th, 12th, 21th, …) will be in the same phase with their pole
voltages.
( ) + ( ) + ( ) ≠0 ℎ
+ + =0
- If the connection to ground (0) is broken, the triplan currents will not have a return path.
This gives rise to the use of the circuit in Figure 3.2 h below.
15
Figure 3.2h: Six Step three phase topology
We now have the voltage output (VAN, VBN, VCN) and no triplan harmonics.
= + −−−−−−−−−−−−− (4 )
= + −−−−−−−−−−−−− (4 )
= + −−−−−−−−−−−−− (4 )
+ + = + + + 3 −−−−−− (5)
3 ℎ , + + =0
+ +
ℎ (4): =
3
(4 , 4 4 )
LEG A
LEG B
LEG C
2 1
= − ( + ) −−−−−−−−−−−−− (6 )
3 3
16
2 1
= − ( + ) −−−−−−−−−−−−− (6 )
3 3
2 1
= − ( + ) −−−−−−−−−−−−− (6 )
3 3
These can be shown in the waveforms below
VAN
VBN
VCN
There will be no 3rd order harmonics (6n ∓ 1), present in the wave form above.
Limitations
- We cannot still control the amplitude of the output voltage.
- Harmonics will be overwhelming during low frequency operation.
- Total Harmonic Distortion is 29.66 %. - [4]
This system’s simulation and output waveforms are featured in Appendix 2c.
17
Conduction sequence for the thyristors is (T1, T2, T3, T4, T5 and T6). Each thyristor conducts
for 600.
According to Vithayathl. J [4] “During any one commutation, one capacitor is effectively in
parallel with the series combination of the other two capacitors. For example in the case of the
commutation of T1, when T3 is fired, the parallel combination is the capacitor C 13 in parallel
with the series combination of C35 and C51.”
Limitations
- The circuit is not easy to implement.
- Total harmonic distortion is around 29.68%
The limitations above give rise to the use of Sinusoidal PWM schemes.
18
This technique involves the comparing a modulated waveform with a sampled waveform in
other to obtain switching pulses which will produce an output with fundamental similar to the
reference waveform.
Terms which will be used in this section are:
Carrier / Sample wave frequency:
Reference / Modulated wave frequency: ; Carrier / Sample wave Amplitude: MC
Reference / Modulated wave Amplitude: MM;
: = ;0 < <1
: = ; ≫
BIPOLAR SWITCHING: Two alternate switches are made to operate at the same time. It is
obtained by comparing one reference waveform. The signals for the bottom switches are
supplied with the same pulses shifted by 1800.
Here fM is made to be an odd large integer in other for even harmonics to cancel out.
THREE PHASE SWITCHING: Same as above. However the switching signals for each
inverter leg (A, B and C) will be phase displaced by 1200.
19
BIPOLAR SWITCHING UNIPOLAR SWITCHING
VDC/2
VAN
-VDC/2
VDC
VBN
-VDC
Figure 3.3.1 a: Sine Triangle Method showing Unipolar and Bipolar (Single Phase)
schemes
This system’s simulation and output waveforms are fully featured in Appendix 3a.
20
5.3.1.2 Space Vector PWM Signals [13]
This method handles all three phases as one combined vector, representing the reference
voltage as a rotating vector and mapping each switching state to a two phase orthogonal α-β
plane.
S1 S2 S3
A
C
S4 S5 S6
We can say the each leg will always have one of the two configurations shown below
1 – Top switch on, Bottom switch off
0 – Top switch off, Bottom switch on
Since there are three legs, we will have (23 = 8) switching states and these states are shown
below:
ACTIVE STATES
4. [101]
6. [011] 5. [001]
21
ZERO STATES
8. [111] 7. [000]
For proper PWM operation, these states have to be combined in such a way that the average
voltage output traces a circle.
Assuming we are working with a Variable speed motor drive (Voltage-frequency operation)
and we have a demand to provide VS as output from the converter, we can represent the
space vector implementation of this control operation as shown below:
We take the volts-second balance with reference to the α-β axis; this is then multiplied by the
sampling frequency.
22
Figure 1.2b: Analyzing Sector 1 (100)
While VS is rotating, vector [100] has a period T1, till
β vector [110] which has a period T2.
T2
Total period (T0) = Sampling Period (TS) – (T1 + T2)
V2 We need to find the value for T0, such that the α-β
should be matching
Equations (1.2 A) and (1.2 B) can be used to solve for T1 and T2 to obtain the following below
| | ( ) | | ( )
= = ----- (1.2C)
√
| | ( ) | | ( )
= = ----- (1.2D)
√
VA0
−
2
VB0
VC0
( ) = − + + + = [ + ] ----- (1.2E)
( ) = − − + + = [− + ] ----- (1.2F)
( ) = − − − + = [− − ] ----- (1.2G)
Substituting the values for T1 and T2 from equations (1.2C) and (1.2D) into (1.2E), (1.2F) and
(1.2G) we obtain the following
| | ( ) | | | |
( ) = + = (60 + ) ----- (1.2 H)
√ √ √
| | | | ( )
( ) = − =| | ( − 30) ----- (1.2 I)
√ √
| |
( ) = ( ) = − (60 + ) ----- (1.2 J)
√
The values shown above are for sector one. This analysis can be done for all the six sectors
by aligning α to the beginning of each sector and evaluating.
To convert to the time domain:
Figure 1.2 d : EVALUATION OF ωt EQUATIONS
First, evaluating in Sector 5, where A minimum occurs:
We have achieved an almost sinusoidal waveform which peaks twice every half cycle.
This peak is caused by the triplan(3rd order harmonics) which are present in the waveforms.
These harmonics however, do not affect the average voltage variation, which is affected only
by the fundamental component.
Where;
Mtri =Amplitude of triangular wave
Msvm = Amplitude of SVPWM wave
Vswi = Voltage output of switch
The output of the above is the gate drive switching signal. It is as shown in Appendix 3b
25
Also, trying to operate these switching schemes at low frequencies produces overwhelming
harmonic disturbances.
The current hysteresis controlled PWM signal is very known and used in applications with
need for fast dynamic response.
A hysteresis band, enveloped around the current is used to produce switching signals for the
gate.
Figure 3.3.1.3 a: Current Hysteresis Control [5]
When top switch is ON (Bottom switch OFF), the current rises from I to Ip, when the bottom
switch is ON (Top switch OFF), the current slowly decays.
The PWM output is controlled by the hysteresis envelope and we can determine parameters
such as the hysteresis envelope (∆i) and the switching frequency (fs).
ℎ 1 :
−
= 2
∆
= = ℎ = ℎ [11]
∆ ∆
= ; = =
∆
=
2 +
26
∆ ∆ 1 1
= + = + = ∆ +
− + − +
2 2 2 2
= − (3.3.1.3 )
( 2 ) −
1 ( ) − ( ) − 1
= = 2 − (3.3.1.3 ) ∆ = 2 ℎ =
∆ ∆
ℎ ℎ ,∆ ℎ .
ℎ ℎ (∆ ), ℎ ℎ , ℎ
.
ℎ ℎ .
= sin( )
ℎ , ℎ ℎ ℎ ℎ ∆
⁄4
(3.3.1.3 ) ( ℎ = 0; = =
∆
ℎ ; = 1− ⁄
(3.3.1.3 )
(3.3.1.3 ) ℎ ℎ , ℎ
.
= sin( ); ℎ =
2
( )
then = [1 − ( )] = 1− +
2
27
experiencing the lowest switching frequency will be decided by the other two phases.
Sometimes, this phase might experience a current overshoot of around 2∆ .
- The zero states are not properly utilized in this control method.
This method however has the fastest dynamic response as will be demonstrated in the next
section.
28
6 Control Schemes for Inverter Control [11]
Control schemes are implemented to ensure sinusoidal output over different load demands.
Response will be determined at every sampling instant by the control scheme.
Since the load for an inverter system may vary, it is difficult to design a generalized control
scheme.
Using an LC filter and assuming a nominal RL load, it can be modelled as a continuous time,
2nd order system with the state variables listed below:
- DC Line Voltage Vd, which can be 0.5VDC or zero.
- VC, iL, VO(load Voltage after filter)
- rL(Inductor equivalent series resistance) , rC(Inductor Equivalent series capacitance)
iR 1
V0 iL -
1
V0(ref) +
PI Controller + + iC 1 Gate
Error Amplifier + Signals
+
(Vo)
- -
29
6.1.2 Three Phase Implementation
iR 1
V0 iL -
1 iC Gate
iL(ref) + - + +
PI Controller 1 Signals
Error Amplifier +
- + (Vo)
30
6.2.1 Single Phase Implementation
31
6.3.2 Three Phase Implementation
32
7 Dynamic System Response
The type of dynamic response used in evaluating is a sudden change in load current demand.
The expected waveforms showing response are shown below.
The dynamic responses have not been fully simulated, but based on their principles the
expected waveforms are known and will be shown below.
Current Demand
Changes
33
7.2 Current Feedback (Expected Response)
Current Demand
Changes
Response time is almost same as that of the Voltage feedback for the same reasons. The
control adjusts the Voltage pulses, so the current will react to these pulses.
34
7.3 Current Tracking using fixed hysteresis chopping
This will produce the quickest response.
Response is immediate as the current is tracked within a hysteresis band.
When the current demand changes, the reference current and its corresponding band limits (Ip
and Iv) will change instantly and the current will be tracked using this new level.
The diagram below explains this operation.
IP(NEW)
IP I(NEW)
IV(NEW)
I IV
35
Conclusions
This project is meant to compare the dynamic response of the different implementations of
inverters
So far, it has been discovered that the SVPWM modulation technique and the fixed hysteresis
control scheme when applied, produce the best response and output waveform.
This scheme is well suited for low power high dynamic requirements, especially drives.
Work Plan
36
References
[1] History: Origins of the Inverter, 1996. IEEE Industry Applications Magazine. [internet]
Edinburgh : SIGN (Published 1996) Available at:
http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber-476602&userType=inst
[Accessed 05 May 2010].
[2] [William H. Hayt, Jack E. Kemmerly, Steven M. Durbin. Engineering Circuit Analysis.
7th ed. Boston, Mass. ; London: McGraw-Hill Higher Education.
[3] James W. Nillson, Susan A. Riedel. Electric Circuits. 8th ed. Upper Saddle River. ;:
Pearson Prentice Hall, 2008.
[4] Joseph Vithayathil. Power Electronics: principles and applications. New York ; London:
McGraw-Hill Higher Education. 1995
[5] Mohan, N., 2003. Power Electronics: converters, applications, and design. 3rd ed.
Hoboken, NJ: John Wiley & Sons.
[6] William Shepherd, Li Zhang. 2004. Power Converter Circuits. New York: Marcel
Dekker.
[7] Basics of DC-AC converter (Part 1-2): a joint venture by Indian Institutes of Technology
& Indian Institute of Science. 2007 [Online:
http://nptel.iitm.ac.in/showVideo.php?v=7CRexeMAXHA ] Bangalore, India: Centre for
Electronics Design and Technology, IISC. [Last Accessed: 21st April 2010].
[8] Inverter Sine Triangle PWM: a joint venture by Indian Institutes of Technology & Indian
Institute of Science. 2007 [Online:
http://nptel.iitm.ac.in/showVideo.php?v=cvBKfuFD098 ] Bangalore, India: Centre for
Electronics Design and Technology, IISC. [Last Accessed: 21st April 2010].
[9] Inverter – Current Hysteresis controlled PWM: a joint venture by Indian Institutes of
Technology & Indian Institute of Science. 2007 [Online:
http://nptel.iitm.ac.in/showVideo.php?v=jFygrb42-JQ ] Bangalore, India: Centre for
Electronics Design and Technology, IISC. [Last Accessed: 21st April 2010].
[10] Space Vector PWM (Part 1-3): a joint venture by Indian Institutes of Technology
& Indian Institute of Science. 2007 [Online:
http://nptel.iitm.ac.in/showVideo.php?v=w_go3Q85UIM ] Bangalore, India: Centre for
Electronics Design and Technology, IISC. [Last Accessed: 21st April 2010].
[11] YING-YU TZOU, SHIH-LIANG JUNG. Full Control of a PWM DC-AC Converter
for AC Voltage Regulation, [Online]. Available at: Scribd.com
37
http://www.scribd.com/doc/Full-Control-of-a-PWM-DC-AC-Converter-for-AC-Voltage-
Regulation [Accessed 5 May 2010].
[12] B. Chitti. Babu. An improved dynamic response of voltage source inverter using novel
hysteresis dead band current controller. [Online]. Available at: docstoc.com
http://www.docstoc.com/docs/28654699/An-Improved-Dynamic-Response-of-Voltage-
Source-Inverter-using/ [Accessed 5 May 2010].
[13] Efika, I. ELEC 5510 SVPWM Assignment [2009/2010]. School of Electrical Electronics,
University of Leeds.
[14] Corda, J; Stephenson, JM Speed control of switched reluctance motors in: 5th
International Conference on Electrical Machines (ICEM'82), Budapest, vol. Pt 1,
pp.235-239. 1982.
38
Appendix
1 Basic Circuit Analysis
1a. Step Response
MATLAB CODE
clear all % clear all previously stored values from memory
Io = 0; % Initial Current
V = 100; % Voltage Supply
R = 10; % Resistance
L = 1e-3; % Inductance
T = L / R; % Time Constant
for t=0:0.00001:10T
It = (V/R)-((V/R)*exp(-t/T)); % Instantaneous Current
Vl = V * exp(-t/T); % Voltage across inductor
Vr = It * R; % Voltage across resistor
Iarr = [Iarr , It]; % Append value for current to the array
Varr = [Varr, Vl]; % Append value for voltage
Vrarr = [Vrarr, Vr]; % Append value for Voltage across resistor
tarr = [tarr, t]; % Store current time
end;
subplot(3,1,1); plot(tarr, Iarr); xlabel('t - time(secs)'); ylabel('I - Current(A)');
subplot(3,1,2); plot(tarr, Varr);xlabel('t - time(secs)'); ylabel('Vl - Inductor Voltage(V)');
subplot(3,1,3); plot(tarr, Vrarr); xlabel('t - time(secs)'); ylabel('Vr - Resistor Voltage(A)');
WAVEFORMS
39
1b. Single pulse response
MATLab Code
clear all % clear all previously stored values from memory
Io =V / sqrt((R^2) + (L^2)); % Initial Current
V = 100; % Voltage Supply
R = 10; % Resistance
L = 1e-3; % Inductance
T = L / R; % Time Constant
for t=0:0.00001:5T
It = (Io * exp(-t/T)); % Instantaneous Current
40
Vt = It * R; % Voltage across resistor
Iarr = [Iarr , It]; % Append value for current to the array
Varr = [Varr, Vl]; % Append value for voltage
tarr = [tarr, t]; % Store current time
end;
subplot(3,1,1); plot(tarr, Iarr); xlabel('t - time(secs)'); ylabel('I - Current(A)');
subplot(3,1,2); plot(tarr, Varr);xlabel('t - time(secs)'); ylabel('Vl - Inductor Voltage(V)');
WAVEFORMS
( )
( )=
( )
( )=
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%
%Loop for calculating
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%
for t=0:(T/200):(10*T)
It = It + Iadd;
Iarr = [Iarr , It];
tarr = [tarr, t];
Varr = [Varr, V];
n = n+1;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%
%SECTION FOR TURNING SWITCHING ON AND OFF
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%
if n == 100
p = p + 1;
if (mod(p,2) > 0)
V = 0;
42
else
V = 100;
end;
n = 0;
Io = It;
end;
end;
WAVEFORM
2 Topologies
2a. Half Bridge
43
WAVEFORMS
QUASI STEADY
STEADY STATE
STATE
44
2b. Full Bridge
WAVEFORMS
45
2c. Six Step (Three Phase) Topology
WAVEFORMS
46
47
2 Gate Driving Signals
48
3b. SPACE VECTOR PULSE WIDTH MODULATION
MATLAB CODE
f = 50; %frequency of operation
Vs = 230; %reference voltage
wt = 0:(pi/1000):(pi/6); %sampling frequency 2nd ½ sector 5
wt1 = (pi/6):((pi)/1000):(pi)/2; %sampling frequency sector 6
wt2 = (pi)/2:((pi)/1000):(5*(pi)/6); %sampling frequency sector 1
wt3 = (5*(pi)/6):((pi)/1000):((pi)); %sampling frequency 1st ½ sector 2
wt4 = ((pi)):((pi)/1000):(7*(pi)/6); %sampling frequency ½ sector 2
wt5 = (7*(pi)/6):((pi)/1000):(9*(pi)/6); %sampling frequency ½ sector 3
wt6 = (9*(pi)/6):((pi)/1000):(11*(pi)/6); %sampling frequency sector 4
wt7 = (11*(pi)/6):((pi)/1000):(2*(pi)); %sampling frequency 1st ½ sector 5
wt8 = 0:((pi)/1000):(2*(pi));
49
Vaarr = [0];
wtaarr = [0];
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% SECOND HALF SECTOR 5 - A MINIMUM
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Va = Vs * sin (wt);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% SECTOR 6
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Va = (Vs/sqrt(3)) * sin (wt1 + (pi/6));
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% SECTOR 1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Va = (Vs/sqrt(3)) * sin (wt1 + (pi/6));
50
wtaarr = [wtaarr wt2];
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% FIRST HALF SECTOR 2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Va = Vs * sin (wt3);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% SECOND HALF SECTOR 2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Va = Vs * sin (wt4);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% SECTOR 4
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Va = (Vs/sqrt(3)) * sin (wt5 + (pi/6));
Vaarr = [Vaarr Va];
51
wtaarr = [wtaarr wt6];
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% FIRST HALF SECTOR 5
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Va = Vs * sin (wt7);
Vaarr = [Vaarr Va];
wtaarr = [wtaarr wt7];
Vref = (Vs/sqrt(3))*sin(wt8);
n = 1;
Vswi = [0];
Mswi = Vs/2;
for p = (pi/1000):(pi/1000):(2*pi);
Vacomp = Vaarr(n);
x1comp = x1(n);
if (Vacomp > 0)
end
if (Vacomp == 0)
Vswi = [Vswi 0];
end
52
53
1st half of Sector 5; VA0= | | ( )
| |
Sector 4; VA0= ( + )
√
| |
Sector 3; VA0= ( + )
√
Sector 2; VA0= | | ( )
| |
Sector 1; VA0= ( + )
√
if (Vacomp > x1comp)
Sector 6; VA0= ( + )
√
WAVE FORMS
n = n+1;
end
end
2nd half of Sector 5; VA0= | | ( )
end
end;
3c. Current regulated Inverters
IMPLEMENTATION (SINGLE PHASE – HALF BRIDGE)
54
55