(1) Aligarh Muslim University, India (2) Liverpool John Moores University, UK
ABSTRACT
Variable voltage and frequency supply to ac drives is invariably obtained from a three-phase voltage source inverter
(VSI). A number of Pulse width modulation (PWM) scheme is used to obtain variable voltage and frequency supply.
The most widely used PWM schemes for three-phase VSI are carrier-based sinusoidal PWM and space vector PWM
(SVPWM). There is an increasing trend of using space vector PWM (SVPWM) because of their easier digital
realisation and better dc bus utilisation. This paper focuses on step by step development of MATLAB/SIMULINK
model of SVPWM. Firstly model of a three-phase VSI is discussed based on space vector representation. Next
simulation model of SVPWM is obtained using NIATLAB/SIMULINK. Simulation results are also provided.
diode for protection. Leg voltage waveforms is shown
in Fig. 2 for 180 conduction mode.
1. INTRODUCTION
K3
A
Vd
2
Vca
Vab
_
N
nVb
V
6
z73
T
2;T3
4;T3
5;T3
2X
VB
VB
VC
1096
AL
(010)
""I
-(2/3) VdC
2,3,6
-(1/3)VdC
(2/3)Vdc
-(1/3)VdC
|2)35
2,4,5
1,4,5
7&
8
,,'
-(1/3)VdC (2/3)vdc
(1/3)vdC
-(2/3)vdC (1/3)vdC
1,3,5
0
0
0
2,4,6
Table 2 Phase voltage space vectors
State
Phase voltage space vectors
12/ 3) Vdc
2
(101)
Figure 3. Phase voltage space vectors.
(3) Vc ~l/.))vdc
(I
(I
-(2/3)Vc
(3)Vdc
Z/d))V~,fc ~l/.))vdc
-(1/3)VdC
'(100) Real
(001)
(1/3) Vdc
(110)
7,8
65
(4)
--
(011) X'.4
Vc = (2 / 3) vC - (1 / 3) (VB + VA )
Phase voltages are summarised in Table 1 and their
corresponding space vectors are listed in Table 2.
Img.
Vb
.b
b
6
(2 /3) Vdc exp(15w /3)
7 and 8
0
The discrete phas e voltage space vector positions are
shown in Fig. 3.
---------------------
1097
Iv
Vs
Three-phase
sin(UTI3-a)
Va sin (2Uf/ 3)
v
sin (a)
Vb
sin(22T/3)
- ta - tb
to to
st
(5)
tb =(6)
sin
=-V,,
(/T/6)
(7)
Asml
~~ ~ ~ ~ ~ ~ ~
eeeonceVlaeGnrto.lc
1098
albSmln
oe
speetdt
imlenSVW fothe-asVS.Abefrvw
of the VSI model iS also reported based on space vector
reesnai.AMtabSmikbsdmolfr
alb/lumkbsdmoe o
ersetto.
implementation of SVPWM is presented. The step-by-
La
111111111-
MLX MT LAB
l~~~~~uxb
FunIizn
Ion
vs
5-Ph b
SbA
Vl
Fh
HptinG
RepEati ng
S,equ encDe
Va ref
p i/3)+u
[S]foosgcV p iS3))
(7k
Magnitude
Vfd
ocosgu[1]2-pi'f1-2rpi/3ysqrbp)
Mux
Vb ref
|
cos(u[1 ]2
____
pit3)sqrI()
pi:f1-4
-1 C nG)
W
____
____
____
____
____
____
____
____A
ngle
q
rtesia
~~~~~Ca
Voref
~~~
to
Polar
(a)
[
ref 1
F on
CDref2
CI)-*-
refS
Va
d
yc13XX(2%ru2]-u[']-up])
Vb
Fonl
u
J(Vd&3(22W[]-u[2]-u[]J)
Transfer
0Tm0IIIIIt-*
Vo
F on2
(b)
In2
Vc
O.OOOSsl
CII
ut2
Transfer Fonl
Transfer Fon2
CL
0 ut3
(c)
~~~~~~~~~~~~~~~Va
~~~~~~~~~~~~~~~~~~~~~~0.4
0.6
0.3
on
O.0OOSs+l1
InS
0.6
Vb
Va
-0.2
Vb
Vc
tO =(ts-ta-tb);
tl=[tO/4 ta/2 tb/2 tO/2 tb/2 ta/2 tO/4];tl=cumsum(tl);
vl=[O 0 0 1 0 0 O];v2=[O 11 11 1 O];v3=[O 0 1 1 1 0 0];
for j=1 :7
if(Y<t (I ))
break
end
end
sa=vl();sb=v2(j);sc=v3(j);
end
0osector IV
if (x>=-pi) & (x<-2*pi/3)
adv x + pi;
tb=mag * sin(pi/3 - adv);ta=mag * sin(adv);
tO =(ts-ta-tb);
tl=[tO/4 ta/2 tb/2 tO/2 tb/2 ta/2 tO/4];tl=cumsum(tl);
vl=[O 0 0 1 00 0];v2=[0 0 1 1 1 0 0];v3=[0 11 11 1 0];
[2]
Kazmierkowski, M.P., Krishnan, R. and
Blaabjerg, F., Control in power electronics- selected
problems, Academic Press, California, USA, 2002.
with
AMD,
SVPWM
Implementing
[3]
Application notes, Analogue Electronics
guide
Matalb/Simulink
reference
[4]
www.mathworks.co.uk.
for=j1:7
break
end
end
APPENDIX 1
%Matlab Code to generate Switching functions
%0 Inputs are magnitude u1(:),angle u2(:)
00 and ramp time signal for comparison u3(:)
function [sfl=aaa(u)
ts=0.0002;vdc= 1 ;peak_phase max= vdc/sqrt(3);
x=u(2); y=u(3); mag=(u(l)/peakphasemax) * ts;
sa=vl();sb=v2(j);sc=v3(j);
end
00 sector V
if (x>=-2*pi/3) & (x<-pi/3)
adv = x+2*pi/3;
ta=mag*sin(pi/3-adv);tb=mag sin(adv);
ItO(ttab)
tl=[tO/4 ta/2 tb/2 tO/2 tb/2 ta/2 tO/4];tl=cumsum(tl);
if (x>=O) & (x<pi/3)
vl=[O 0 1 1 1 0 0];v2=[0 0 0 1 0 0 0];v3=[0 11 11 1 0];
ta = mag * sin(pi/3-x);tb = mag * sin(x);
0%sector
for j=1:7
tO =(ts-ta-tb);
tl=[tO/4 ta/2 tb/2 tO/2 tb/2 ta/2 tO/4];tl=cumsum(tl);
vl=[O 11 1 1 0];v2=[0 0 1 1 1 0 0];v3=[000 1 0 0 0];
forj=1:7
if(y<t1I(j))
break
end
end
if(y<t1 (j))
break
end
end
sa=v I ();sb=v2(j);sc=v3 ();
%Sector VI
end
sa=vl );sb=v2(j);sc=v3(j);
end
0 sector II
if (x>=pi/3) & (x<2*pi/3)
forj=l1:7
if(y<t1 (I))
break
end
end
sa=v );sb=v2(j);sc=v3(j);
end
sf=[sa,
sb, sc];
Corresponding Author: Dr. Atif Iqbal, Reader,
Department of Electrical Engineering, Aligarh Muslim
University, Aligarh 202002, India. Phone: 91 571
Mob.
91
9411210372,
Email:
2901029,
forj=1:7
if(y<tl(j))
break
end
end
sa=vl(j);sb=v2(j);sc=v3(j);
end
/osector III
if (x>=2*pi/3) &(x<pi)
adv=x-2*pi/3;
atif_iqballgrediffinail.com
1100