Você está na página 1de 231

Electrical Drives

MEP 1422
2004/2005-02
Module 1. Introduction to drives:
Elements in electrical drives, overview of DC and AC drives.
Torque equations,
Components of load torque, torque characteristics. Four-quadrant
operation
Notes on Introduction to Electromechanical Energy Conversion
Module 2 Converters in electric drive systems:
Controlled rectifier, Linear scheme, Non-linear scheme,
Switched-mode converters - average model and transfer function,
Two-quadrant converters, Four-quadrant converters, Bipolar
switching, Unipolar switching,
Current-controlled converters, Fixed switching frequency control,
Hysteresis control
Example of Simulink file for 2-Q converter (switching and average
model)
Current ripple in 4 Q converter
Space Vector Modulation (SVM)
Module 3 DC motor drives
DC drives in power point format, in .pdf
Construction, modeling and transfer function, Converters for DC
drives quadrant of operations.
MATLABbased controller design method here
Linear analysis in Simulink
Large signal simulation using SIMULINK here
http://encon.fke.utm.my/courses/mep1422/modules.html (1 von 2) [17.05.2005 17:09:50]
Module 4. Induction motor drives
Dynamic model of induction machine
Construction and principle of operations,
Speed Control-
constant V/f, Scalar control problems at low speed,
current
Simulink example on open-loop constant V/Hz using SIMULINK
s-function for IM simulation
Compiled with Borland C - here
Current controlled and voltage boost, open-loop and closed-loop
control.
Field-oriented control of IM:
Rotor flux orientation
Stator flux orientation
Simulink example on indirect FOC IM requires imch.dll
PPoint for principles of direct torque control and in pdf
Direct Torque Control using SIMULINK and the required *.dll files
for the S-function
http://encon.fke.utm.my/courses/mep1422/modules.html (2 von 2) [17.05.2005 17:09:50]
1
INTRODUCTION TO ELECTRICAL DRIVES

Drivcs can lc dcfincd as sysicns cnloycd for noiion conirol c.g. iransoriaiion, fans, rolois,
uns, cic.

Princ novcrs arc rcquircd in drivc sysicns io rovidc iIc novcncni - can lc dicscl cngincs,
cirol cngincs, Iydraulic noiors, clcciric noiors cic

Drivcs iIai usc clcciric noiors as iIc rinc novcrs arc lnown as clccirical drivcs


Cononcnis of clccirical drivcs.
Elcciric drivcs is nulii-discilinary ficld. Various rcscarcI arcas can lc sul-dividcd fron
clcciric drivcs.
Advaniagcs of clccirical drivcs.
casy io conirol (c.g. ly varying voliagc or currcni} widc rangc of sccd
IigI cfficicncy swiicI-nodc convcricrs and clccirical noiors arc vcry cfficicni
clcan docs noi olluic
casy io siorc or iransori cncrgy
Sourcc
Conirol
f/lacl
Powcr
roccssor
Conirol
Unii
Moior
Elcciric
Drivcs
MacIinc
TIcory
Powcr
clccironics
Conirol
TIcory
Scnsors
Fcal-iinc
DSP or
Uiiliiy
inicrfacc
Load
2
Components oI EIectrIcaI DrIves

Moiors
Moiors oliain owcr fron clccirical sourccs. TIcy convcri cncrgy fron clccirical io nccIanical -
iIcrcforc can lc rcgardcd as cncrgy convcricrs.
TIcrc arc scvcral iycs of noiors uscd in clcciric drivcs cIoicc of iyc uscd dccnds on
alicaiions and clccirical sourccs availallc. Droadly, iIcy can lc classificd as ciiIcr DC or AC
noiors.
DC noiors (wound or crnancni nagnci} - DC voliagc,
AC noiors
Induciion noiors squirrcl cagc, wound roior - AC voliagc
syncIronous noiors wound ficld, crnancni nagnci - AC voliagc
DrusIlcss DC noior - AC voliagc
Siccr noiors rcquirc owcr clccironic convcricrs
SyncIronous rcluciancc noiors or swiicIcd rcluciancc noior rcquirc owcr clccironic
convcricrs

Sourcc
Elccirical sourccs or owcr sulics rovidc iIc cncrgy io iIc clccirical noiors. For IigI
cfficicncy ocraiion, iIc owcr oliaincd fron iIc clccirical sourccs nccd io lc rcgulaicd using
owcr clccironic convcricrs
Powcr sourccs can lc AC or DC in naiurc and iIcy nornally unconirollallc, i.c. iIcir
nagniiudcs or frcqucncics arc ficd or dccnd on iIc sourccs of cncrgy sucI as solar or wind.
AC sourcc can lc ciiIcr iIrcc Iasc or singlc Iasc
3-Iasc sourccs arc nornally for IigI owcr alicaiions

Powcr roccssor or owcr nodulaior
Sincc iIc clccirical sourccs arc nornally unconirollallc, ii is iIcrcforc ncccssary io lc allc io
conirol iIc flow of owcr io iIc noior iIis is acIicvcd using owcr roccssor or owcr
nodulaior. WiiI conirollallc sourccs (i.c. ouiui of owcr roccssor}, iIc noior can lc rcvcrscd,
lralc or can lc ocraicd wiiI variallc sccd. Classical nciIod uscd, for canlc, variallc
incdancc or rclays, io sIac iIc voliagc or currcni iIai is sulicd io iIc noior iIcsc
nciIods Iowcvcr arc inflcillc and incfficicni.
Incrcasing nunlcr of owcr roccssors usc owcr clccironic convcricrs wIicI Ias advaniagcs
ovcr classical nciIod sucI as .
Morc cfficicni sincc idcally no losscs occur in owcr clccironic convcricrs
Flcillc voliagc and currcni can lc sIacd ly sinly conirolling swiicIing funciions of
iIc owcr convcricr

Pouc ccctonc conuctcs
Convcricrs arc uscd io convcri and ossilly rcgulaic (i.c. using closcd-loo conirol} iIc
availallc sourccs io suii iIc load i.c. noiors
DC io AC,
AC io DC,
DC io DC
AC io AC
TIcsc convcricrs arc cfficicni lccausc iIc swiicIcs ocraic in ciiIcr cui-off or
saiuraiion nodcs

Conirol Unii
Conlciiy dccnds on drivc crfornancc
analog - noisc, nonflcillc, infiniic landwidiI
digiial innunc io noisc, configurallc, landwidiI dccnds on sanling frcqucncy
DSP/nicroroccssor flcillc, lowcr landwidiI conarcd io alovc. DSPs crforn fasicr
ocraiion iIan nicroroccssors (nuliilicaiion in singlc cyclc}. WiiI DSP/nicro.,
conlc csiinaiions and olscrvcrs can lc casily inlcncnicd.


3

OvervIew oI AC and DC drIves

Dcforc scniconducior dcviccs wcrc iniroduccd.
AC drivcs uscd for ficd sccd ocraiion. TIis is lccausc ii is noi casy io oliain variallc
frcqucncy suly. TIc cfficicncy of iIc drivc is low wIcn ficd frcqucncy and variallc voliagc
suly is uscd io conirol iIc sccd of iIc noiors. Howcvcr, variallc DC suly can lc casily
oliaincd. Conscqucnily, DC drivcs arc widcly uscd for variallc sccd ocraiion.

Aficr scniconducior dcviccs wcrc iniroduccd in 1950s
Sccd conirol is acIicvallc in AC drivcs lccausc variallc frcqucncy can lc oliaincd
using voliagc sourcc invcricr (i.c. owcr clccironic convcricr}. DC drivcs wcrc rclaccd wiiI AC
drivcs in variallc sccd alicaiions wIicI do noi rcquirc IigI crfornancc ocraiions. AC
drivcs uscs AC noiors Icncc rcquirc lcss nainicnancc c.g. squirrclcagc induciion noiors
rcquirc nininun nainicnancc sincc no coniaci lrusIcs arc uscd.

Aficr scniconducior dcviccs wcrc iniroduccd aficr nid 1980s
WiiI iIc advanccncni of owcr scniconducior dcviccs and owcrful nicroroccssors
(sucI as digiial signal roccssors (DSP}}, ii is ossillc io conirol iIc AC noiors iIai will givc
conarallc crfornancc io iIai of iIc DC drivcs. AC drivcs uiilizing conirol iccIniqucs sucI as
cd-ocntcd conto (FOC} and dcct toquc conto (DTC} arc now gradually rclacing DC drivcs
in IigI crfornancc alicaiions.

Conarison lciwccn DC and AC drivcs
Moiors .
DC rcquirc nainicnancc, Icavy, ccnsivc, sccd liniicd ly nccIanical consiruciion
AC lcss nainicnancc, ligIi, cIcacr, rolusi, IigI sccd (cs. squirrclcagc iyc}

Conirol unii.
DC sinlc conirol dccouling iorquc and flu ly nccIanical connuiaior iIc
conirollcr can lc inlcncnicd using sinlc analog circuii cvcn for IigI crfornancc
iorquc conirol cIcacr !
For AC drivcs, iIc iyc of conirollcrs io lc uscd dccnd on iIc rcquircd drivc
crfornancc olviously cosi incrcasc wiiI crfornancc IigI crfornancc rcquirc
rclaiivcly norc conlc conirol iccIniquc (c.g. ficldoricnicd conirol} norc ccnsivc

Pcrfornancc.
In DC noiors, flu and iorquc crcndicular iIus cannoi influcncc onc anoiIcr quicl
iorquc rcsonsc. Pcrfornancc is cccllcni.
AC induciion nacIinc
scalar conirol . iorquc and flu cononcnis of iIc siaior currcni arc coulcd sluggisI
iorquc rcsonsc. Pcrfornancc is ncdiun
vccior conirol. iorquc and flu cononcnis of siaior currcni arc dccoulcd iIus sinilar
io DC drivcs. Pcrfornancc conarallc io iIai of iIc DC drivcs.













4
Torque EquatIons For RotatIng Systems

Loads can lc dirccily coulcd io noior sIafi
iIrougI iransnission sysicns c.g. gcars or lcli sccd rcduccd
iranslaiional noiion
roiaiional noiion

For iIc urosc of analysis and conirollcr dcsign, a conlincd noiorload sysicn can lc
rcrcscnicd ly an cquivalcni roiaiional sysicn.














TIc sysicn can lc dcscrilcd ly a firsi ordcr nccIanical sysicn.


.


If dJ/di 0 (sysicn wiiI consiani incriia}






Tc Moior iorquc (Nn}
Tl Load iorquc (Nn}
J Moncni of incriia conlincd noior load (lgn
2
}
n insianiancous angular vclociiy of noior sIafi (rad/s}



dynanic iorquc rcscni during iransicni, i.c. accclcraiion or dccclcraiion. In
sicady siaic, wIcrc d/di 0 , Tc Tl

For canlc, in ordcr io accclcraic in forward dircciion, iIc nci iorquc, i.c. Tc Tl, nusi lc
osiiivc and io accclcraic in rcvcrsc dircciion, iIc nci iorquc nusi lc ncgaiivc.

Civcn a sccd rofilc of a drivc sysicn, ii is iIcrcforc ossillc io csiinaic iIc rcquircd iorquc
roduccd ly iIc noior, rovidcd iIai iIc load iorquc is lnown. In ordcr io calculaic iIc noior
iorquc, iIc sysicn Ias io lc rcrcscnicd ly iIc cquivalcni roiaiing sysicn as rcviously
dcscrilcd.





Motor Ioad
TI
Te
m
J
( )
dt
J d
T T
m
l e

+ =
( )
dt
J d
m

dt
d
J T T
m
l e

+ =
J
1




+
Tl
Tc

S
Components oI Load Torque, TI

Load iorquc can lc dividcd inio 3 najor cononcnis.

(i} Friciion iorquc, TF

Friciion iorquc cisis duc io iIc friciion lciwccn various noving aris of iIc noior, c.g. ai
iIc sIafi. TF can lc sul-dividcd inio 3 cononcnis.
TV, Viscous friciion rooriional io iIc sccd (Tv D}
TC, Colounl friciion indccndcni of iIc sccd
Ts, Siaiic friciion cisi during siariu

In nosi cascs, Tc and Ts is ncgligilly snall.



















(ii} Windagc iorquc, TW

Causcd ly wind iIai ooscs iIc noiion of iIc noior. TW is dirccily rooriional io iIc
squarc of iIc sccd, TW K
2
. In sonc cascs TW is ncgligilly snall conarcd io TV.

















(iii} Torquc rcquircd for uscful nccIanical worl, TL

TL dccnds on ariicular alicaiion. Ii nay lc consiani or ii nay vary wiiI iinc. Ii nay
dccnds on osiiion nay lc rccaiing ovcr a criod or ii nay noi.

Tc
Ts
Tv
TF
M
M
TF
Tw

6
TIc ovcrall load iorquc, Tl nay lc wriiicn as.

2
C L l
K T D T T + + + =

WiiI TC and K
2
wIicI arc nornally ncgligilly snall, iIis can lc wriiicn as.

+ +

= D T
di
d
J T
L c



Load torque cbaracterIstIcs

Ccncrally, can lc classificd inio iwo iycs.

Actuc oud toquc.
Caallc of driving iIc noior undcr cquililriun. TIc dircciion of aciivc load iorquc is
indccndcni of sccd ii rciain iIc dircciion cvcn wIcn iIc dircciion of roiaiion rcvcrsc ar
cIangc, c.g. graviiy, icnsion or conrcssion undcrgonc ly clasiic lody.

Pussuc oud toquc.
Always ooscs iIc noiion iIc dircciion dccnds on dircciion of roiaiion of iIc noior, c.g.
friciion and windagc.



Four-quadrant operatIon oI a drIve system

TIc T lanc wiiI noior's sIafi cross scciional arca is sIown.






















TIc osiiivc or forward sccd is arliirarily cIoscn in counicrcloclwisc dircciion (ii can also lc
cIoscn as cloclwisc}. TIc osiiivc iorquc is in iIc dircciion iIai will roducc accclcraiion in
forward sccd, as sIown alovc.

TIc lanc is dividcd inio 4 quadranis , iIus 4 nodcs of ocraiion. TIc quadranis arc narlcd as
I, II, III and IV





T
I II
III IV
Tc
Tc
Tc
Tc
?
Quadrani I
DoiI iorquc and sccd arc osiiivc iIc noior roiaics in forward dircciion, wIicI is in iIc sanc
dircciion as iIc noior iorquc. TIc owcr of iIc noior is iIc roduci of iIc sccd and iorquc (P
Tc}, iIcrcforc iIc owcr of iIc noior is osiiivc. Encrgy is convcricd fron clccirical forn io
nccIanical forn, wIicI is uscd io roiaic iIc noior. TIc nodc of ocraiion is lnown as forward
noioring.

Quadrani II
TIc sccd is in forward dircciion lui iIc noior iorquc is in oosiic dircciion or ncgaiivc valuc.
TIc iorquc roduccd ly iIc noior is uscd io 'lralc' iIc forward roiaiion of iIc noior. TIc
nccIanical cncrgy during iIc lraling, is convcricd io clccirical cncrgy iIus iIc flow of cncrgy
is fron iIc nccIanical sysicn io iIc clccirical sysicn. TIc roduci of iIc iorquc and sccd is
ncgaiivc iIus iIc owcr is ncgaiivc, inlying iIai iIc noior ocraics in lraling nodc. TIc
nodc of ocraiion is lnown as forward lraling.

Quadrani III
TIc sccd and iIc iorquc of iIc noior arc in iIc sanc dircciion lui arc loiI ncgaiivc. TIc
rcvcrsc clccirical iorquc is uscd io roiaic iIc noior in rcvcrsc dircciion. TIc owcr, i.c. iIc
roduci of iIc iorquc and sccd, is osiiivc inlying iIai iIc noior ocraics in noioring nodc.
TIc cncrgy is convcricd fron clccirical forn io nccIanical forn. TIis nodc of ocraiion is
lnown as rcvcrsc noioring.


Quadrani IV
TIc sccd is in rcvcrsc dircciion lui iIc iorquc is osiiivc. TIc noior iorquc is uscd io 'lralc'
iIc rcvcrsc roiaiion of iIc noior. TIc nccIanical cncrgy gaincd during iIc lraling is convcricd
io clccirical forn iIus owcr flow fron iIc nccIanical sysicn io iIc clccirical sysicn. TIc
roduci of iIc sccd and iorquc is ncgaiivc inlying iIai iIc noior ocraics in lraling nodc.
TIis nodc of ocraiion is lnown as rcvcrsc lraling.


ReIerences

G.K. Dubey, Fundamental of Electrical Drives, Narosa, 1994.
N. Mohan, Power Electronics: Converters, applications and design John Wiley and Sons, 1995.
E
L
E
C
T
R
O
M
E
C
H
A
N
I
C
A
L

E
N
E
R
G
Y

C
O
N
V
E
R
S
I
O
N

E
l
e
c
t
r
o
m
e
c
h
a
n
i
c
a
l

e
n
e
r
g
y

c
o
n
v
e
r
s
i
o
n

p
r
o
c
e
s
s

i
n
v
o
l
v
e
s

t
h
r
e
e

f
o
r
m
s

o
f

e
n
e
r
g
y
:

e
l
e
c
t
r
i
c
a
l
,

m
a
g
n
e
t
i
c

f
i
e
l
d

a
n
d

m
e
c
h
a
n
i
c
a
l
.

I
n

r
o
t
a
t
i
n
g

e
l
e
c
t
r
i
c
a
l


m
a
c
h
i
n
e
s
,

e
n
e
r
g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
t
e
m

s
h
o
w
n

i
n

F
i
g

1

i
s

d
e
t
e
r
m
i
n
e
d

b
y

t
h
e

B
-
H

c
h
a
r
a
c
t
e
r
i
s
t
i
c

o
f

t
h
e

c
o
r
e

a
n
d

t
h
e

l
e
n
g
t
h

o
f

t
h
e

a
i
r
-
g
a
p
.

W
i
t
h

s
m
a
l
l

a
i
r
-
g
a
p

l
e
n
g
t
h
,

g
,

t
h
e

-
i

c
h
a
r
a
c
t
e
r
i
s
t
i
c

i
s

d
o
m
i
n
a
t
e
d

b
y

t
h
e

B
-
H

c
h
a
r
a
c
t
e
r
i
s
t
i
c

o
f

t
h
e

c
o
r
e

w
h
i
c
h

h
a
s

a

n
o
n
-
l
i
n
e
a
r

c
h
a
r
a
c
t
e
r
i
s
t
i
c

d
u
e

t
o

t
h
e

c
o
r
e

m
a
g
n
e
t
i
c

s
a
t
u
r
a
t
i
o
n
.

W
i
t
h

l
a
r
g
e

g
,

h
o
w
e
v
e
r
,

t
h
e

l
i
n
e
a
r

m
a
g
n
e
t
i
c

c
h
a
r
a
c
t
e
r
i
s
t
i
c

o
f

t
h
e

a
i
r
-
g
a
p

w
i
l
l

d
o
m
i
n
a
t
e
.

T
h
u
s

f
o
r

l
a
r
g
e

a
i
r
-
g
a
p

s
y
s
t
e
m

t
h
e

-
i

c
u
r
v
e

o
f

t
h
e

s
y
s
t
e
m

d
i
s
p
l
a
y
s

a

l
i
n
e
a
r

c
h
a
r
a
c
t
e
r
i
s
t
i
c
.

I
f

a

l
i
n
e
a
r

s
y
s
t
e
m

i
s

a
s
s
u
m
e
d
,

a
l
l

o
f

t
h
e

m
m
f

d
r
o
p
s

a
p
p
e
a
r

a
c
r
o
s
s

t
h
e

a
i
r
-
g
a
p
.

I
n

o
t
h
e
r

w
o
r
d
s
,

i
t

i
s

a
s
s
u
m
e
d

t
h
a
t

t
h
e

r
e
l
u
c
t
a
n
c
e

o
f

t
h
e

c
o
r
e

i
s

n
e
g
l
i
g
i
b
l
y

s
m
a
l
l

c
o
m
p
a
r
e
d

t
o

t
h
a
t

o
f

t
h
e

a
i
r
-
g
a
p

s

r
e
l
u
c
t
a
n
c
e
.

T
h
i
s

a
s
s
u
m
p
t
i
o
n

i
s

b
a
s
e
d

o
n

t
h
e

f
a
c
t

t
h
a
t

t
h
e

m
a
g
n
e
t
i
c

p
e
r
m
e
a
b
i
l
i
t
y

o
f

t
h
e

c
o
r
e

i
s

m
u
c
h

l
a
r
g
e
r

t
h
a
n

t
h
e

a
i
r
-
g
a
p

p
e
r
m
e
a
b
i
l
i
t
y
.

T
h
e

-
i

c
u
r
v
e
s

f
o
r

d
i
f
f
e
r
e
n
t

a
i
r
-
g
a
p

v
a
l
u
e
s

a
r
e

t
h
e
r
e
f
o
r
e

l
i
n
e
a
r
.






F
i
g
.

1


g

+

c



+

v



F

x

n
o
u

n
g

t

s
i
a
i
i
o
n
a
r
y

a
r
i



n
o
n
-
l
i
n
e
a
r

s
y
s
t
e
m




l
i
n
e
a
r

s
y
s
t
e
m


F
i
g
.

2

T
h
e

d
i
f
f
e
r
e
n
t
i
a
l

r
e
l
a
t
i
o
n

b
e
t
w
e
e
n

t
h
e

3

f
o
r
m
s

o
f

e
n
e
r
g
y

e
x
i
s
t
s

i
n

t
h
e

s
y
s
t
e
m

c
a
n

b
e

w
r
i
t
t
e
n

a
s
:


d
W
e

=

d
W
f

+

d
W
m






(
1
)


W
h
e
r
e

d
W
e


d
i
f
f
e
r
e
n
t
i
a
l

c
h
a
n
g
e

i
n

e
l
e
c
t
r
i
c
a
l

e
n
e
r
g
y


d
W
f

-

d
i
f
f
e
r
e
n
t
i
a
l

c
h
a
n
g
e

i
n

f
i
e
l
d

e
n
e
r
g
y


d
W
m

-

d
i
f
f
e
r
e
n
t
i
a
l

c
h
a
n
g
e

i
n

m
e
c
h
a
n
i
c
a
l

e
n
e
r
g
y

I
f

t
h
e

p
o
s
i
t
i
o
n

o
f

t
h
e

m
o
v
i
n
g

p
a
r
t

i
s

f
i
x
e
d

(
a
i
r
-
g
a
p

l
e
n
g
t
h

i
s

f
i
x
e
d
,

t
h
u
s

d
W
m

=

0
)

a
n
d

t
h
e

c
u
r
r
e
n
t

i
n

t
h
e

c
o
i
l

i
s

i
n
c
r
e
a
s
e
d

f
r
o
m

0

t
o

i
x
,

t
h
e

f
i
e
l
d

e
n
e
r
g
y

w
i
l
l

i
n
c
r
e
a
s
e

a
n
d

i
s

g
i
v
e
n

b
y
:



d
W
e

=

e
.
i

d
t

=

d
W
f






(
2
)


S
u
b
s
t
i
t
u
t
i
n
g

e

=

d

/
d
t
,

d
W
f

=

i

d







(
3
)

I
f

t
h
e

f
l
u
x

l
i
n
k
a
g
e

i
n
c
r
e
a
s
e
d

f
r
o
m

0

t
o

x
,

t
h
e

s
t
o
r
e
d

e
n
e
r
g
y

c
a
n

b
e

w
r
i
t
t
e
n

a
s
:

=
x
0
f
i
d
W






(
4
)

x

i
x


c
o
-
e
n
e
r
g
y

e
n
e
r
g
y


i

i

i
n
c
r
c
a
s
c
d

a
i
r
-
g
a


i
n
c
r
c
a
s
c
d

a
i
r
-
g
a


F
i
g
.

3

T
h
e

c
o
-
e
n
e
r
g
y
,

w
h
i
c
h

i
s

u
s
e
d

l
a
t
e
r

t
o

c
a
l
c
u
l
a
t
e

t
h
e

f
o
r
c
e
,

i
n

t
h
i
s

p
a
r
t
i
c
u
l
a
r

e
x
a
m
p
l
e

i
s

d
e
f
i
n
e
d

a
s
:

=
i
x
0
f
d
i
'
W






(
5
)

I
t

s
h
o
u
l
d

b
e

n
o
t
e
d

t
h
a
t

f
o
r

a

l
i
n
e
a
r

s
y
s
t
e
m
,

W
f

=

W
f


I
f

t
h
e

m
o
v
i
n
g

p
a
r
t

i
s

a
l
l
o
w

t
o

m
o
v
e

s
l
o
w
l
y
,

f
r
o
m

x

=

x
1

t
o

x

=

x
2
,

s
u
c
h

t
h
a
t

t
h
e

a
i
r
-
g
a
p

i
s

r
e
d
u
c
e
d
,

t
h
e

r
a
t
e

o
f

c
h
a
n
g
e

o
f

f
l
u
x

l
i
n
k
a
g
e

w
i
l
l

b
e

v
e
r
y

s
m
a
l
l

d
u
r
i
n
g

t
h
i
s

m
o
v
e
m
e
n
t

a
n
d

h
e
n
c
e

t
h
e

c
u
r
r
e
n
t

c
a
n

b
e

a
s
s
u
m
e
d

t
o

b
e

c
o
n
s
t
a
n
t
.


F
i
g
.

4

T
h
e

m
e
c
h
a
n
i
c
a
l

f
o
r
c
e

a
s
s
o
c
i
a
t
e
d

w
i
t
h

t
h
i
s

m
o
v
e
m
e
n
t

c
a
n

b
e

o
b
t
a
i
n
e
d

i
f

t
h
e

c
h
a
n
g
e

i
n

m
e
c
h
a
n
i
c
a
l

e
n
e
r
g
y

i
s

k
n
o
w
n
.

T
h
u
s
,


d
W
m

=

d
W
e

-

d
W
f







(
6
)

D
u
r
i
n
g

t
h
e

m
o
t
i
o
n
,

d
W
e

=

e
.
i

d
t

=

i

d

.

H
e
n
c
e

=
2
x 1
x
e
i
d
W

T
h
e

c
h
a
n
g
e

i
n

t
h
e

s
t
o
r
e
d

f
i
e
l
d

e
n
e
r
g
y

c
a
n

b
e

o
b
t
a
i
n
e
d

b
y

c
a
l
c
u
l
a
t
i
n
g

t
h
e

d
i
f
f
e
r
e
n
c
e

i
n

s
t
o
r
e
d

e
n
e
r
g
y

b
e
t
w
e
e
n

t
h
e

t
w
o

p
o
s
i
t
i
o
n
s
.

I
t

c
a
n

b
e

s
h
o
w
n

g
r
a
p
h
i
c
a
l
l
y

t
h
a
t

W
m

i
s

g
i
v
e
n

b
y

t
h
e

s
h
a
d
e
d

a
r
e
a

o
f

F
i
g
.
4

w
h
i
c
h

e
s
s
e
n
t
i
a
l
l
y

i
s

t
h
e

i
n
c
r
e
a
s
e

i
n

c
o
-
e
n
e
r
g
y
.

T
h
u
s
:


d
W
m

=

d
W
f


S
i
n
c
e

d
W
m

=

f

d
x
,

t
h
e

m
e
c
h
a
n
i
c
a
l

f
o
r
c
e

c
a
n

b
e

c
a
l
c
u
l
a
t
e
d

a
s
:


t
t
a
n
c
o
n
s
i
f
m
x
)
x
,
i
(
'
W
f
=

=





(
7
)

I
f

t
h
e

m
o
v
e
m
e
n
t

o
f

t
h
e

m
o
v
i
n
g

p
a
r
t

i
s

v
e
r
y

f
a
s
t

(
i
.
e
.

f
o
r

t
h
e

s
a
m
e

d
i
s
p
l
a
c
e
m
e
n
t

b
u
t

f
o
r

a

v
e
r
y

s
h
o
r
t

t
i
m
e
)
,

t
h
e

c
h
a
n
g
e

i
n

f
l
u
x

l
i
n
k
a
g
e

c
a
n

b
e

a
s
s
u
m
e
d

n
e
g
l
i
g
i
b
l
e
.

H
o
w
e
v
e
r
,

t
h
e

r
a
t
e

o
f

c
h
a
n
g
e

o
f

t
h
e

f
l
u
x

l
i
n
k
a
g
e

w
i
t
h

t
i
m
e

i
s

f
i
n
i
t
e

a
n
d

h
e
n
c
e

c
a
u
s
e
s

t
h
e

c
u
r
r
e
n
t

t
o

d
e
c
r
e
a
s
e

d
u
r
i
n
g

t
h
i
s

m
o
v
e
m
e
n
t
.

I
t

c
a
n

b
e

g
r
a
p
h
i
c
a
l
l
y

s
h
o
w
n

t
h
a
t

t
h
e

m
e
c
h
a
n
i
c
a
l

e
n
e
r
g
y

i
s

g
i
v
e
n

b
y

t
h
e

s
h
a
d
e
d

1

i

1

a
r
e
a

o
f

F
i
g

5
,

w
h
i
c
h

i
s

a

r
e
d
u
c
t
i
o
n

i
n

f
i
e
l
d

e
n
e
r
g
y
.

T
h
u
s

t
h
e

m
e
c
h
a
n
i
c
a
l

f
o
r
c
e

i
s

g
i
v
e
n

b
y
:


t
t
a
n
c
o
n
s
f
m
x
)
x
,
i
(
W
f
=

=





(
8
)

I
f

t
h
e

d
i
f
f
e
r
e
n
t
i
a
l

m
o
v
e
m
e
n
t

i
s

s
m
a
l
l
,

t
h
e

s
h
a
d
e
d

a
r
e
a

o
f

F
i
g

4

a
n
d

F
i
g

5

i
s

t
h
e

s
a
m
e
.

H
e
n
c
e

t
h
e

f
o
r
c
e

c
a
l
c
u
l
a
t
e
d

u
s
i
n
g

e
q
u
a
t
i
o
n

(
7
)

a
n
d

(
8
)

w
i
l
l

b
e

t
h
e

s
a
m
e
.



F
i
g
.

5

L
i
n
e
a
r

s
y
s
t
e
m

F
o
r

l
i
n
e
a
r

s
y
s
t
e
m
,

t
h
e

f
l
u
x

l
i
n
k
a
g
e

i
s

p
r
o
p
o
r
t
i
o
n
a
l

t
o

t
h
e

c
u
r
r
e
n
t
,

w
h
e
r
e

t
h
e

c
o
n
s
t
a
n
t

o
f

p
r
o
p
o
r
t
i
o
n
a
l
i
t
y

i
s

t
h
e

i
n
d
u
c
t
a
n
c
e

o
f

t
h
e

c
o
i
l
.

T
h
e

i
n
d
u
c
t
a
n
c
e

h
o
w
e
v
e
r

d
e
p
e
n
d
s

o
n

t
h
e

p
o
s
i
t
i
o
n
,

x
.

T
h
u
s
,


=

L
(
x
)
i







(
9
)

T
h
e

c
o
-
e
n
e
r
g
y

i
s

g
i
v
e
n

b
y
:


)
x
(
L
i
2 1
d
i
'
W
2
i
0
f
=






(
1
0
)

U
s
i
n
g

e
q
u
a
t
i
o
n

(
7
)
,


d
x
)
x
(
d
L
i
2 1
x
)
x
,
i
(
'
W
f
2
t
t
a
n
c
o
n
s
i
f
m
=

=
=



(
1
1
)

R
o
t
a
t
i
n
g

m
a
c
h
i
n
e
s

F
i
g

6

s
h
o
w
s

a

g
e
n
e
r
a
l

r
o
t
a
t
i
n
g

m
a
c
h
i
n
e

w
i
t
h

s
a
l
i
e
n
t

s
t
a
t
o
r

a
n
d

s
a
l
i
e
n
t

r
o
t
o
r
.

B
o
t
h

s
t
a
t
o
r

a
n
d

r
o
t
o
r

a
r
e

e
x
i
t
e
d

(
d
o
u
b
l
y

f
e
d
)
.

W
e

a
r
e

i
n
t
e
r
e
s
t
e
d

i
n

o
b
t
a
i
n
i
n
g

t
h
e

e
l
e
c
t
r
o
m
a
g
n
e
t
i
c

t
o
r
q
u
e

e
x
p
r
e
s
s
i
o
n

o
f

t
h
e

s
y
s
t
e
m
.

W
e

c
a
n

d
o

t
h
i
s

b
y

o
b
t
a
i
n
i
n
g

t
h
e

e
x
p
r
e
s
s
i
o
n

f
o
r

t
h
e

c
o

e
n
e
r
g
y

(
o
r

e
n
e
r
g
y
)

a
n
d

d
i
f
f
e
r
e
n
t
i
a
t
e

i
t

w
i
t
h

r
e
s
p
e
c
t

t
o

x

f
o
r

c
o
n
s
t
a
n
t

c
u
r
r
e
n
t

(
o
r

c
o
n
s
t
a
n
t

f
l
u
x
)
.

1

i

1


F
i
g
.

6

W
i
t
h

n
o

r
o
t
a
t
i
o
n

(
r
o
t
o
r

n
o
t

m
o
v
i
n
g
)
,

t
h
e

s
t
o
r
e
d

f
i
e
l
d

e
n
e
r
g
y

c
a
n

b
e

c
a
l
c
u
l
a
t
e
d

a
s
:

d
W
f

=

e
s
i
s

d
t

+

e
r
i
r

d
t






(
1
2
)

S
u
b
s
t
i
t
u
t
i
n
g

e
s

=

d

s
/
d
t

a
n
d

e
r

=
d

r
/
d
t
,


d
W
f

=

i
s

d

s

+

i
r

d

r






(
1
3
)

T
h
e

f
l
u
x

l
i
n
k
a
g
e

o
f

t
h
e

s
t
a
t
o
r

w
i
n
d
i
n
g

c
a
n

b
e

e
x
p
r
e
s
s
e
d

i
n

t
e
r
m
s

o
f

s
t
a
t
o
r

s
e
l
f

i
n
d
u
c
t
a
n
c
e

a
n
d

m
u
t
u
a
l

i
n
d
u
c
t
a
n
c
e
:

s

=

L
s
s
i
s

+

L
s
r
i
r







(
1
4
)

T
h
e

f
i
r
s
t

t
e
r
m

o
f

(
1
4
)

i
s

t
h
e

f
l
u
x

l
i
n
k
a
g
e

o
f

t
h
e

s
t
a
t
o
r

w
i
n
d
i
n
g

c
a
u
s
e
d

b
y

t
h
e

s
t
a
t
o
r

c
u
r
r
e
n
t

w
h
e
r
e
a
s

t
h
e

s
e
c
o
n
d

t
e
r
m

i
s

c
a
u
s
e
d

b
y

t
h
e

r
o
t
o
r

c
u
r
r
e
n
t
.

S
i
m
i
l
a
r
l
y
,

t
h
e

f
l
u
x

l
i
n
k
a
g
e

o
f

t
h
e

r
o
t
o
r

w
i
n
d
i
n
g

c
a
n

b
e

e
x
p
r
e
s
s
e
d

a
s
,

r

=

L
r
r
i
r

+

L
s
r
i
s







(
1
5
)

S
u
b
s
t
i
t
u
t
i
n
g

(
1
4
)

a
n
d

(
1
5
)

i
n
t
o

(
1
3
)
,


d
W
f

=

L
s
s
i
s
d
i
s

+

L
r
r
i
r
d
i
r

+

L
s
r

d
(
i
s
i
r
)





(
1
6
)

F
o
r

a

l
i
n
e
a
r

s
y
s
t
e
m
,

W
f

=

W
f

.

I
t

c
a
n

b
e

s
h
o
w
n

t
h
a
t

f
o
r

r
o
t
a
t
i
o
n
a
l

s
y
s
t
e
m
s
,


i
i
a
n
c
o
n
s
i
f
}
,
i
(
'
W
T
=

=






(
1
7
)

T
h
u
s

t
h
e

t
o
r
q
u
e

i
s

g
i
v
e
n

b
y
:

=
d
d
L
i
i
2 1
d
d
L
i
2 1
d
d
L
i
2 1
T
s
r
r
s
r
r
2 r
s
s
2 s





(
1
8
)

B
a
s
e
d

o
n

e
q
u
a
t
i
o
n

(
1
8
)
,

t
w
o

t
y
p
e
s

o
f

t
o
r
q
u
e

c
a
n

b
e

c
l
a
s
s
i
f
i
e
d
:


i
s

i
r
r
o
i
o
r

s
i
a
i
o
r


i
)

R
e
l
u
c
t
a
n
c
e

t
o
r
q
u
e

(
t
h
e

f
i
r
s
t

t
w
o

t
e
r
m
s

o
f

e
q
u
a
t
i
o
n

(
1
8
)
)
.

I
t

i
s

c
a
u
s
e
d

b
y

a

t
e
n
d
e
n
c
y

o
f

t
h
e

i
n
d
u
c
e
d

p
o
l
e

t
o

a
l
i
g
n

w
i
t
h

t
h
e

e
x
c
i
t
e
d

p
o
l
e

s
u
c
h

t
h
a
t

m
i
n
i
m
u
m

r
e
l
u
c
t
a
n
c
e

i
s

p
r
o
d
u
c
e
d
.

T
h
e

t
o
r
q
u
e

o
n
l
y

e
x
i
s
t
s

i
f

t
h
e

s
t
a
t
o
r

o
r

r
o
t
o
r

(
o
r

b
o
t
h
)

s
e
l
f

i
n
d
u
c
t
a
n
c
e
s

d
e
p
e
n
d
s

o
n

t
h
e

r
o
t
o
r

p
o
s
i
t
i
o
n
.

T
h
i
s

c
a
n

e
x
i
s
t
s

i
f
:

1
)

b
o
t
h

s
t
a
t
o
r

a
n
d

r
o
t
o
r

a
r
e

s
a
l
i
e
n
t
,

2
)

e
i
t
h
e
r

s
t
a
t
o
r

o
r

r
o
t
o
r

i
s

s
a
l
i
e
n
t
.

I
n

o
t
h
e
r

w
o
r
d
s
,

i
n

a

c
y
l
i
n
d
r
i
c
a
l

m
a
c
h
i
n
e

(
w
h
e
r
e
b
y

b
o
t
h

s
t
a
t
o
r

a
n
d

r
o
t
o
r

a
r
e

n
o
n
-
s
a
l
i
e
n
t
)

r
e
l
u
c
t
a
n
c
e

t
o
r
q
u
e

w
i
l
l

n
o
t

e
x
i
s
t
.

F
u
r
t
h
e
r

i
t

c
a
n

b
e

s
e
e
n

t
h
a
t

b
o
t
h

s
t
a
t
o
r

a
n
d

r
o
t
o
r

n
e
e
d

n
o
t

t
o

b
e

e
x
c
i
t
e
d

a
t

t
h
e

s
a
m
e

t
i
m
e
.

i
i
)

A
l
i
g
n
m
e
n
t

t
o
r
q
u
e

(
t
h
e

t
h
i
r
d

t
e
r
m

o
f

e
q
u
a
t
i
o
n

(
1
8
)
)
.

I
t

i
s

c
a
u
s
e
d

b
y

a

t
e
n
d
e
n
c
y

o
f

t
h
e

e
x
c
i
t
e
d

r
o
t
o
r

t
o

a
l
i
g
n

w
i
t
h

e
x
c
i
t
e
d

s
t
a
t
o
r
.

B
o
t
h

w
i
n
d
i
n
g
s

m
u
s
t

b
e

e
x
c
i
t
e
d
.

T
h
e

m
u
t
u
a
l

i
n
d
u
c
t
a
n
c
e

d
e
p
e
n
d
s

o
n

r
o
t
o
r

p
o
s
i
t
i
o
n

r
e
g
a
r
d
l
e
s
s

o
f

w
h
e
t
h
e
r

t
h
e

s
t
a
t
o
r

o
r

r
o
t
o
r

i
s

s
a
l
i
e
n
t

o
r

n
o
t
.

I
n

o
t
h
e
r

w
o
r
d
s
,

t
h
e

a
l
i
g
n
m
e
n
t

t
o
r
q
u
e

e
x
i
s
t
s

e
v
e
n

i
f

b
o
t
h

s
t
a
t
o
r

a
n
d

r
o
t
o
r

i
s

n
o
t

s
a
l
i
e
n
t
.

I
n

i
n
d
u
c
t
i
o
n

m
a
c
h
i
n
e
s
,

r
o
t
o
r

c
u
r
r
e
n
t

i
s

p
r
o
d
u
c
e
d

t
h
r
o
u
g
h

i
n
d
u
c
t
i
o
n

r
a
t
h
e
r

t
h
a
n

e
x
c
i
t
a
t
i
o
n

b
y

e
x
t
e
r
n
a
l

c
i
r
c
u
i
t
,

a
s

i
n

t
h
e

c
a
s
e

o
f

c
y
l
i
n
d
r
i
c
a
l

s
y
n
c
h
r
o
n
o
u
s

m
a
c
h
i
n
e
s
.




S
t
a
t
o
r

-

n
o
n
-
s
a
l
i
e
n
t




R
o
t
o
r


s
a
l
i
e
n
t

-

S
t
a
t
o
r

s
e
l
f

i
n
d
u
c
t
a
n
c
e

d
e
p
e
n
d
s

o
n

r
o
t
o
r

p
o
s
i
t
i
o
n

-

R
o
t
o
r

s
e
l
f

i
n
d
u
c
t
a
n
c
e

d
o
e
s

n
o
t

d
e
p
e
n
d

o
n

r
o
t
o
r

p
o
s
i
t
i
o
n

S
t
a
t
o
r

-

s
a
l
i
e
n
t




R
o
t
o
r


s
a
l
i
e
n
t

-

S
t
a
t
o
r

s
e
l
f

i
n
d
u
c
t
a
n
c
e

d
e
p
e
n
d
s

o
n

r
o
t
o
r

p
o
s
i
t
i
o
n

-

R
o
t
o
r

s
e
l
f

i
n
d
u
c
t
a
n
c
e

d
e
p
e
n
d
s

o
n

r
o
t
o
r

p
o
s
i
t
i
o
n

S
t
a
t
o
r

-

s
a
l
i
e
n
t




R
o
t
o
r


n
o
n
-
s
a
l
i
e
n
t

-

S
t
a
t
o
r

s
e
l
f

i
n
d
u
c
t
a
n
c
e

d
o
e
s

n
o
t

d
e
p
e
n
d

o
n

r
o
t
o
r

p
o
s
i
t
i
o
n

-

R
o
t
o
r

s
e
l
f

i
n
d
u
c
t
a
n
c
e

d
e
p
e
n
d
s

o
n

r
o
t
o
r

p
o
s
i
t
i
o
n

S
t
a
t
o
r

-

s
a
l
i
e
n
t




R
o
t
o
r


n
o
n
-
s
a
l
i
e
n
t

-

S
t
a
t
o
r

s
e
l
f

i
n
d
u
c
t
a
n
c
e

d
o
e
s

n
o
t

d
e
p
e
n
d

o
n

r
o
t
o
r

p
o
s
i
t
i
o
n

-

R
o
t
o
r

s
e
l
f

i
n
d
u
c
t
a
n
c
e

d
o
e
s

n
o
t

d
e
p
e
n
d

o
n

r
o
t
o
r

p
o
s
i
t
i
o
n


1

C
O
N
V
E
R
T
E
R
S

I
N

E
L
E
C
T
R
I
C

D
R
I
V
E

S
Y
S
T
E
M
S

C
O
N
T
R
O
L
L
E
D

R
E
C
T
I
F
I
E
R

W
e

h
a
v
e

s
e
e
n

i
n

p
r
e
v
i
o
u
s

c
o
u
r
s
e

(
u
n
d
e
r
g
r
a
d
u
a
t
e

c
o
u
r
s
e
)

t
h
a
t

a

r
e
l
a
t
i
o
n

b
e
t
w
e
e
n

t
h
e

a
v
e
r
a
g
e

v
o
l
t
a
g
e

a
n
d

t
h
e

f
i
r
i
n
g

a
n
g
l
e

(
o
r

d
e
l
a
y

a
n
g
l
e
)

o
f

a

s
i
n
g
l
e
-
p
h
a
s
e

c
o
n
t
r
o
l
l
e
d

r
e
c
t
i
f
i
e
r

i
s

g
i
v
e
n

b
y
:


w
h
e
r
e


i
s

t
h
e

d
e
l
a
y

a
n
g
l
e
,

V
m

i
s

t
h
e

p
e
a
k

i
n
p
u
t

v
o
l
t
a
g
e

a
n
d

V
a

i
s

t
h
e

a
v
e
r
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e
r
a
g
e

v
o
l
t
a
g
e

t
o

c
h
a
n
g
e
.

F
o
r

i
n
s
t
a
n
c
e
,

i
f

a

3
-
p
h
a
s
e

s
y
s
t
e
m
,

5
0
H
z

s
y
s
t
e
m

i
s

u
s
e
d

a
s

t
h
e

i
n
p
u
t

t
o

t
h
e

f
u
l
l
-
w
a
v
e

c
o
n
t
r
o
l
l
e
d

r
e
c
t
i
f
i
e
r
,

t
h
e
n
,

t
h
e

t
i
m
e

t
a
k
e
n

f
o
r

t
h
e

a
v
e
r
a
g
e

v
o
l
t
a
g
e

t
o

c
h
a
n
g
e

v
a
r
i
e
s

b
e
t
w
e
e
n

0

t
o

3
.
3
3

m
s

(
(
1
/
5
0
)
/
6
)
.

T
h
e

a
v
e
r
a
g
e

t
i
m
e

o
f

3
.
3
3
m
s
/
2

=

1
.
6
7

m
s

i
s

t
a
k
e
n
.

I
f

t
h
i
s

d
e
l
a
y

i
s

n
o
t

t
o

b
e

u
s
e
d

i
n

t
h
e

m
o
d
e
l
,

t
h
e

b
a
n
d
w
i
d
t
h

o
f

t
h
e

d
r
i
v
e

m
u
s
t

b
e

m
a
d
e

m
u
c
h

s
m
a
l
l
e
r

t
h
a
n

6
0
0

H
z
.




T
h
e

S
C
R
s

a
r
e

n
o
r
m
a
l
l
y

t
r
i
g
g
e
r
e
d

b
a
s
e
d

o
n

t
h
e

c
o
n
t
r
o
l

s
i
g
n
a
l

g
e
n
e
r
a
t
e
d
,

f
o
r

e
x
a
m
p
l
e
,

b
y

a

c
u
r
r
e
n
t

c
o
n
t
r
o
l
l
e
r
.

D
e
p
e
n
d
i
n
g

o
n

t
h
e

f
i
r
i
n
g

c
i
r
c
u
i
t

u
s
e
d
,

a

l
i
n
e
a
r

o
r

a

n
o
n

l
i
n
e
a
r

r
e
l
a
t
i
o
n

b
e
t
w
e
e
n

v
c

a
n
d

V
a

c
a
n

b
e

o
b
t
a
i
n
e
d
.








=
c
o
s
V
V
n
a
l
|r
|r
g

c
|r
c
u
|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e

w
i
l
l

a
s
s
u
m
e

t
h
a
t

t
h
e

c
o
n
v
e
r
t
e
r
s

o
b
t
a
i
n
e
d

t
h
e

s
w
i
t
c
h
i
n
g

s
i
g
n
a
l
s

f
r
o
m

a

c
o
m
p
a
r
i
s
o
n

b
e
t
w
e
e
n

c
o
n
t
r
o
l

s
i
g
n
a
l

v
c

a
n
d

a

t
r
i
a
n
g
u
l
a
r

w
a
v
e
f
o
r
m
s
.


T
w
o
-
q
u
a
d
r
a
n
t

c
o
n
v
e
r
t
e
r

A
s

i
n

a
l
l

o
t
h
e
r

c
o
n
v
e
r
t
e
r
s
,

t
h
e

s
t
a
t
u
s

o
f

t
h
e

u
p
p
e
r

a
n
d

l
o
w
e
r

s
w
i
t
c
h
e
s

i
n

a

l
e
g
,

m
u
s
t

a
l
w
a
y
s

c
o
m
p
l
e
m
e
n
t
,

i
.
e
.

i
f

t
h
e

u
p
p
e
r

s
w
i
t
c
h

i
s

o
n
,

t
h
e

l
o
w
e
r

s
w
i
t
c
h

m
u
s
t

b
e

o
f
f

o
r

v
i
c
e

v
e
r
s
a
-

t
h
u
s

o
n
l
y

o
n
e

c
o
n
t
r
o
l

s
i
g
n
a
l

i
s

r
e
q
u
i
r
e
d

t
o

c
o
n
t
r
o
l

a

l
e
g

o
f

a

t
w
o
-
q
u
a
d
r
a
n
t

c
o
n
v
e
r
t
e
r
.

I
f

t
h
e

u
p
p
e
r

s
w
i
t
c
h

i
s

O
N
,

t
h
e

o
u
t
p
u
t

v
o
l
t
a
g
e
,

v
o

e
q
u
a
l
s

V
d
c

a
n
d

i
f

t
h
e

l
o
w
e
r

s
w
i
t
c
h

i
s

O
N

v
o

=

0
.

T
h
e

i
n
s
t
a
n
t
a
n
e
o
u
s

o
u
t
p
u
t

v
o
l
t
a
g
e

w
i
l
l

s
w
i
n
g

b
e
t
w
e
e
n

V
d
c

a
n
d

0
,

h
o
w
e
v
e
r

i
t
s

a
v
e
r
a
g
e

v
a
l
u
e

d
e
p
e
n
d
s

o
n

h
o
w

l
o
n
g

t
h
e

s
w
i
t
c
h

u
p
p
e
r

(
o
r

l
o
w
e
r
)

s
w
i
t
c
h

i
s

O
N
.


Q
1

Q
2

Q
3

Q
4

Q
1

Q
2

Q
3

Q
4

T


F
o
u
r
-
q
u
a
d
r
a
n
t

+


v
a


T
w
o
-
q
u
a
d
r
a
n
t

+

V
a

-

F
i
g
u
r
c

1


3

W
e

w
i
l
l

a
s
s
u
m
e

t
h
e

c
o
n
t
r
o
l

s
i
g
n
a
l
s

f
o
r

t
h
e

s
w
i
t
c
h
e
s

a
r
e

o
b
t
a
i
n
e
d

a
s

a

r
e
s
u
l
t

o
f

c
o
m
p
a
r
i
s
o
n

b
e
t
w
e
e
n

t
h
e

c
o
n
t
r
o
l

s
i
g
n
a
l

a
n
d

a

t
r
i
a
n
g
u
l
a
r

T
h
e

o
u
t
p
u
t

o
f

t
h
e

c
o
m
p
a
r
a
t
o
r

i
s

o
b
t
a
i
n
e
d

a
s

f
o
l
l
o
w
s
:









w
h
e
n

v
c

>

v
t
r
i
,

u
p
p
e
r

s
w
i
t
c
h

O
N

(
1
)









w
h
e
n

v
c

<

v
t
r
i
,

l
o
w
e
r

s
w
i
t
c
h

O
N

O
b
v
i
o
u
s
l
y
,

t
h
e

w
a
v
e
f
o
r
m

o
f

v
a

w
i
l
l

f
o
l
l
o
w

t
h
a
t

o
f

q
.

T
h
e

i
n
s
t
a
n
t
a
n
e
o
u
s

v
a
l
u
e

o
f

v
a

i
s

g
i
v
e
n

b
y
:

v
a

=

q
(
V
d
c
)

T
h
e

a
v
e
r
a
g
e

v
a
l
u
e

o
f

v
a

w
i
l
l

d
e
p
e
n
d

o
n

t
h
e

d
u
t
y

r
a
t
i
o

o
f

q

a
n
d

t
h
e

d
u
t
y

r
a
t
i
o

o
f

q

i
n

t
u
r
n

d
e
p
e
n
d
s

o
n

t
h
e

c
o
n
t
r
o
l

s
i
g
n
a
l

v
c
.

W
e

c
a
n

o
b
t
a
i
n

t
h
e

r
e
l
a
t
i
o
n

b
e
t
w
e
e
n

t
h
e

a
v
e
r
a
g
e

v
o
l
t
a
g
e

V
a

a
n
d

t
h
e

d
u
t
y

r
a
t
i
o

d

b
y

c
a
l
c
u
l
a
t
i
n
g

t
h
e

a
v
e
r
a
g
e

v
a
l
u
e

o
f

v
a

i
n

t
e
r
m
s

o
f

d
.








W
h
e
r
e

d

=

t
o
n
/
T



(
2
)

d

i
s

i
n

f
a
c
t

a
n

a
v
e
r
a
g
e

v
a
l
u
e

o
f

q

o
v
e
r

a

c
y
c
l
e

a
n
d

t
h
e
r
e
f
o
r
e

h
a
v
e

a

r
a
n
g
e

o
f

b
e
t
w
e
e
n

0

a
n
d

1
,

t
h
u
s
,


(
3
)



=
0 1
q
d
c
d
T
0
d
c
a
d
V
d
t
V
T 1
V
s
=
=
}
d
t
q
T
1
d
tr
i
T
t
t
t
r
i
}
+
=
v
c

v
i
r
i

+

V
d
c



V
d
c

q

F
i
g
u
r
c

2


4

I
f

t
h
e

t
r
i
a
n
g
u
l
a
r

f
r
e
q
u
e
n
c
y

i
s

h
i
g
h

a
n
d

t
h
e
r
e
f
o
r
e

i
s

m
u
c
h

l
a
r
g
e
r

t
h
a
n

t
h
e

c
o
n
t
r
o
l

s
i
g
n
a
l
,

d

c
a
n

b
e

a
s
s
u
m
e
d

c
o
n
t
i
n
u
o
u
s
.

H
o
w
e
v
e
r

w
h
e
n

s
e
l
e
c
t
i
n
g

t
h
e

b
a
n
d
w
i
d
t
h

o
f

t
h
e

c
l
o
s
e
d
-
l
o
o
p

s
y
s
t
e
m
,

t
h
e

d
i
s
c
r
e
t
e

v
a
l
u
e
s

o
f

d

m
u
s
t

b
e

t
a
k
e
n

i
n
t
o

a
c
c
o
u
n
t
,

i
.
e
.

t
h
e

b
a
n
d
w
i
d
t
h

m
u
s
t

b
e

l
i
m
i
t
e
d

t
o

o
n
e

o
r

t
w
o

o
r
d
e
r

l
o
w
e
r

t
h
a
n

t
h
e

t
r
i
a
n
g
u
l
a
r

f
r
e
q
u
e
n
c
y
.

T
h
e

r
e
l
a
t
i
o
n

b
e
t
w
e
e
n

d

a
n
d

v
c

i
s

o
b
t
a
i
n
e
d

a
s

f
o
l
l
o
w
s
:

W
h
e
n

v
c

=

V
t
r
i
,
p

,

d

=

1
,

w
h
e
n

v
c

=

-
V
t
r
i
,
p
,

d

=

0
.


A
s
s
u
m
i
n
g

d

i
s

c
o
n
t
i
n
u
o
u
s
,

t
h
e

r
e
l
a
t
i
o
n

b
e
t
w
e
e
n

d

a
n
d

v
c

i
s

o
b
t
a
i
n
e
d

a
s
:


(
4
)

T
h
e

r
e
l
a
t
i
o
n

b
e
t
w
e
e
n

v
c

a
n
d

V
a

c
a
n

b
e

o
b
t
a
i
n
e
d

b
y

s
u
b
s
t
i
t
u
t
i
n
g

(
4
)

i
n
t
o

(
2
)
,


(
5
)

I
f

w
e

w
a
n
t

t
o

i
n
c
l
u
d
e

t
h
e

c
o
n
v
e
r
t
e
r

i
n
t
o

o
u
r

c
l
o
s
e
d
-
l
o
o
p

m
o
d
e
l

o
f

a

D
C

d
r
i
v
e

s
y
s
t
e
m
,

w
e

n
e
e
d

t
o

o
b
t
a
i
n

t
h
e

s
m
a
l
l

s
i
g
n
a
l

t
r
a
n
s
f
e
r

f
u
n
c
t
i
o
n

b
e
t
w
e
e
n

v
c

a
n
d

V
a
.

T
h
i
s

i
s

d
o
n
e

b
y

i
n
t
r
o
d
u
c
i
n
g

s
m
a
l
l

s
i
g
n
a
l

p
e
r
t
u
r
b
a
t
i
o
n

i
n

V
a

a
n
d

v
c
.



(
6
)

S
e
p
a
r
a
t
i
n
g

t
h
e

d
c

a
n
d

a
c

c
o
m
p
o
n
e
n
t
s
,

v
c

q

T
i
r
i

d

V
t


V
t


v
c

d

l

U

U
.
5

p
,
t
r
i
c
V
2
v
5
.
0
d
+
=
c
p
,
t
r
i
d
c
d
c
a
v
V
2
V
V
5
.
0
V
+
=
(
)
(
)
c
c
p
,
t
r
i
d
c
d
c
a
a
v ~
v
V
2
V
V
5
.
0
v ~
V
+
+
=
+
F
i
g
u
r
c

3

F
i
g
u
r
c

4


5


D
C

:









(
7
)


A
C

:









(
8
)

B
y

t
a
k
i
n
g

L
a
p
l
a
c
e

t
r
a
n
s
f
o
r
m

o
f

e
q
u
a
t
i
o
n

(
8
)
,

t
h
e

s
m
a
l
l

s
i
g
n
a
l

t
r
a
n
s
f
e
r

f
u
n
c
t
i
o
n

b
e
t
w
e
e
n

v
c

a
n
d

V
A

c
a
n

b
e

o
b
t
a
i
n
e
d
.



F
o
u
r
-
q
u
a
d
r
a
n
t

c
o
n
v
e
r
t
e
r

T
h
e

m
o
d
e
l

d
e
v
e
l
o
p
e
d

f
o
r

t
h
e

t
w
o
-
q
u
a
d
r
a
n
t

c
o
n
v
e
r
t
e
r

c
a
n

b
e

u
s
e
d

a
s

a

b
u
i
l
d
i
n
g

b
l
o
c
k

i
n

d
e
v
e
l
o
p
i
n
g

t
h
e

m
o
d
e
l

f
o
r

t
h
e

f
o
u
r
-
q
u
a
d
r
a
n
t

c
o
n
v
e
r
t
e
r
.

A
s

i
l
l
u
s
t
r
a
t
e
d

i
n

t
h
e

f
i
g
u
r
e

b
e
l
o
w
,

t
h
e

4
-
q
u
a
d
r
a
n
t

c
o
n
v
e
r
t
e
r

i
s

c
o
m
p
o
s
e
d

o
f

t
w
o

l
e
g
s
,

w
i
t
h

e
a
c
h

l
e
g

s
i
m
i
l
a
r

t
o

t
h
a
t

o
f

t
h
e

2
-
q
u
a
d
r
a
n
t

c
o
n
v
e
r
t
e
r
.

W
e

w
i
l
l

c
o
n
s
i
d
e
r

t
w
o

s
w
i
t
c
h
i
n
g

s
c
h
e
m
e
s

n
o
r
m
a
l
l
y

e
m
p
l
o
y
e
d
:

(
1
)

B
i
p
o
l
a
r

s
w
i
t
c
h
i
n
g

s
c
h
e
m
e

(
2
)

u
n
i
p
o
l
a
r

s
w
i
t
c
h
i
n
g

s
c
h
e
m
e
.


T
h
e

i
n
s
t
a
n
t
a
n
e
o
u
s

v
o
l
t
a
g
e

v
a

c
a
n

b
e

m
a
d
e

e
i
t
h
e
r

e
q
u
a
l
s

V
d
c

,

-
V
d
c

o
r

0
.


V
a

=

V
d
c


w
h
e
n

Q
1

a
n
d

Q
2

a
r
e

O
N

v
a

=

-
V
d
c


w
h
e
n

Q
3

a
n
d

Q
4

a
r
e

O
N




v
a

=

0


w
h
e
n

c
u
r
r
e
n
t

f
r
e
e
w
h
e
e
l
s

t
h
r
o
u
g
h

Q

a
n
d

D

T
h
e
r
e
f
o
r
e

t
h
e

o
u
t
p
u
t

v
o
l
t
a
g
e

v
a

c
a
n

s
w
i
n
g

b
e
t
w
e
e
n

V
d
c

a
n
d

V
d
c
,

V
d
c

a
n
d

0

o
r

0

a
n
d

V
d
c
,

w
h
i
c
h

i
s

d
e
t
e
r
m
i
n
e
d

b
y

t
h
e

s
w
i
t
c
h
i
n
g

s
c
h
e
m
e

c
h
o
s
e
n
:


c
p
,
t
r
i
d
c
d
c
a
v
V
2
V
V
5
.
0
V
+
=
c
p
,
t
r
i
d
c
a
v ~
V
2
V
v ~
=
p
,
t
r
i
d
c
V
2
V
v
c
(
s
}

v
a
(
s
}

l
c
g

A

l
c
g

D

+


v
a


Q
1

Q
4

Q
3

Q
2

D
1

D
3

D
2

D
4

F
i
g
u
r
c

5

F
i
g
u
r
c

6


6

B
i
p
o
l
a
r

s
w
i
t
c
h
i
n
g

L
e
g

A

a
n
d

L
e
g

B

o
b
t
a
i
n
e
d

t
h
e

s
w
i
t
c
h
i
n
g

s
i
g
n
a
l
s

f
r
o
m

t
h
e

s
a
m
e

c
o
n
t
r
o
l

s
i
g
n
a
l
.

T
h
i
s

i
m
p
l
i
e
s

t
h
a
t

s
w
i
t
c
h
i
n
g

o
f

L
e
g

A

a
n
d

L
e
g

B

a
r
e

a
l
w
a
y
s

c
o
m
p
l
e
m
e
n
t
s
.


I
n

a

f
o
r
w
a
r
d

b
r
e
a
k
i
n
g

m
o
d
e

w
h
e
r
e

t
h
e

a
v
e
r
a
g
e

v
o
l
t
a
g
e

V
a

i
s

p
o
s
i
t
i
v
e

a
n
d

s
m
a
l
l
e
r

t
h
a
n

t
h
e

b
a
c
k

e
m
f

o
f

t
h
e

a
r
m
a
t
u
r
e
,

c
u
r
r
e
n
t

w
i
l
l

f
l
o
w

t
h
r
o
u
g
h

D
1

a
n
d

D
2

w
h
e
n

v
a

=

V
d
c

a
n
d

w
i
l
l

f
l
o
w

t
h
r
o
u
g
h

Q
3

a
n
d

Q
4

w
h
e
n

v
a

=

-
V
d
c

U
s
i
n
g

t
h
e

c
o
m
p
a
r
i
s
o
n

b
e
t
w
e
e
n

t
h
e

c
o
n
t
r
o
l

s
i
g
n
a
l

a
n
d

t
r
i
a
n
g
u
l
a
r

w
a
v
e
f
o
r
m

a
s

s
h
o
w
n

i
n

F
i
g
u
r
e

7
,

t
h
e

r
e
s
u
l
t
a
n
t

q

a
n
d

q

i
s

a
s

b
e
l
o
w
:


+






V
a





i
a

O

A

D

F
i
g
u
r
c

7

F
i
g
u
r
c

8

v
c

v
i
r
i

+

V
d
c



q


7

F
r
o
m

p
r
e
v
i
o
u
s

a
n
a
l
y
s
i
s
,

t
h
e

a
v
e
r
a
g
e

v
o
l
t
a
g
e

f
o
r

L
e
g

A

a
n
d

L
e
g

B

i
s

g
i
v
e
n

b
y
:



V
A
O

=

d
A
(
V
d
c
)


a
n
d

V
B
O

=

d
B
(
V
d
c
)
=
(
1
-
d
A
)
(
V
d
c
)



(
9
)

S
i
m
i
l
a
r
l
y

r
e
l
a
t
i
o
n

b
e
t
w
e
e
n

v
c

a
n
d

d
A

a
n
d

d
B

c
a
n

b
e

w
r
i
t
t
e
n

a
s
:


F
o
r

L
e
g

A










(
1
0
)


F
o
r

L
e
g

B










(
1
1
)

W
e

a
r
e

i
n
t
e
r
e
s
t
e
d

i
n

t
h
e

v
o
l
t
a
g
e

a
c
r
o
s
s

t
h
e

a
r
m
a
t
u
r
e

c
i
r
c
u
i
t
,

V
A
B


V
A
B

=

V
A
O


V
B
O

=

(
d
A


(
1
-
d
A
)
)
V
d
c

=

(
2
d
A

-
1
)
V
d
c



(
1
2
)

S
u
b
s
t
i
t
u
t
i
n
g

d
A

f
r
o
m

(
1
0
)

i
n
t
o

(
1
2
)

g
i
v
e
s
,


(
1
4
)

B
y

t
a
k
i
n
g

t
h
e

L
a
p
l
a
c
e

t
r
a
n
s
f
o
r
m

o
f

t
h
e

a
c

c
o
m
p
o
n
e
n
t
s

i
n

(
1
4
)
,

t
h
e

t
r
a
n
s
f
e
r

f
u
n
c
t
i
o
n

b
e
t
w
e
e
n

t
h
e

v
A
B
(
s
)

a
n
d

v
c
(
s
)

i
s

o
b
t
a
i
n
e
d
:


(
1
5
)


q



a
v
c
r
a
g
c

v
a
l
u
c
,

d

q



a
v
c
r
a
g
c

v
a
l
u
c
,

1
-
d


p
,
t
r
i
c
A
V
2
v
5
.
0
d
+
=
p
,
t
r
i
c
B
V
2
v
5
.
0
d

=
c
p
,
t
r
i d
c
A
B
v
V
V
V
=
)
s
(
v
V
V
)
s
(
v
c
p
,
t
r
i d
c
A
B
=
F
i
g
u
r
c

9

2
v
i
r
i

v
c


8

U
n
i
p
o
l
a
r

s
w
i
t
c
h
i
n
g

T
h
e

s
w
i
t
c
h
i
n
g

s
i
g
n
a
l
s

f
o
r

L
e
g

B

i
s

o
b
t
a
i
n
e
d

f
r
o
m

t
h
e

i
n
v
e
r
s
e

o
f

c
o
n
t
r
o
l

s
i
g
n
a
l

f
o
r

L
e
g

A
.

T
h
i
s

i
s

i
l
l
u
s
t
r
a
t
e
d

i
n

F
i
g
u
r
e

1
0
.

A
c
c
o
r
d
i
n
g

t
o

o
u
r

p
r
e
v
i
o
u
s

a
n
a
l
y
s
i
s
,

t
h
e

c
o
n
t
i
n
u
o
u
s

d
u
t
y

r
a
t
i
o

f
o
r

L
e
g

A
,

d
A
,

i
s

g
i
v
e
n

b
y
:


(
1
6
)

S
i
n
c
e

L
e
g

B

u
s
e
s

t
h
e

i
n
v
e
r
s
e

c
o
n
t
r
o
l

s
i
g
n
a
l

,

a
c
c
o
r
d
i
n
g
l
y

t
h
e

c
o
n
t
i
n
u
o
u
s

d
u
t
y

r
a
t
i
o

f
o
r

L
e
g

B

i
s

g
i
v
e
n

b
y
:


(
1
7
)

T
h
i
s

g
i
v
e
s

a
n
d

a
v
e
r
a
g
e

a
r
m
a
t
u
r
e

v
o
l
t
a
g
e

a
s
,


V
A
B

=

(
d
A


d
B
)
V
d
c

=









(
1
8
)

T
h
e

t
r
a
n
s
f
e
r

f
u
n
c
t
i
o
n

o
b
t
a
i
n
e
d

f
o
r

u
n
i
p
o
l
a
r

s
w
i
t
c
h
i
n
g

s
c
h
e
m
e

i
s

t
h
e
r
e
f
o
r
e

s
i
m
i
l
a
r

t
o

t
h
e

b
i
p
o
l
a
r

s
w
i
t
c
h
i
n
g

s
c
h
e
m
e
.


p
,
t
r
i d
c
V
V
v
c
(
s
}

v
a
(
s
}

F
i
g
u
r
c

9

p
,
t
r
i
c
A
V
2
v
5
.
0
d
+
=
p
,
t
r
i
c
B
V
2
v
5
.
0
d

=
c
p
,
t
r
i d
c
v
V
V
F
i
g
u
r
c

1
0

+

V
d
c



v
c

v
i
r
i

q
a

-
v
c

v
i
r
i

q
l

L
c
g

a

L
c
g

l


9

C
U
R
R
E
N
T
-
C
O
N
T
R
O
L
L
E
D

C
O
N
V
E
R
T
E
R

D
C

a
n
d

A
C

i
n
d
u
s
t
r
i
a
l

d
r
i
v
e
s

n
o
r
m
a
l
l
y

e
m
p
l
o
y

c
a
s
c
a
d
e

c
o
n
t
r
o
l

s
t
r
u
c
t
u
r
e
.

I
t

c
o
n
s
i
s
t
s

o
f

m
u
l
t
i
p
l
e

l
o
o
p
s
:

w
i
t
h

i
n
n
e
r

m
o
s
t

l
o
o
p

b
e
i
n
g

t
h
e

f
a
s
t
e
s
t
.

T
y
p
i
c
a
l
l
y
,

t
h
e

i
n
n
e
r

m
o
s
t

l
o
o
p

i
s

t
h
e

t
o
r
q
u
e

l
o
o
p
,

f
o
l
l
o
w
e
d

b
y

s
p
e
e
d

l
o
o
p

a
n
d

p
o
s
i
t
i
o
n

l
o
o
p


t
h
i
s

i
s

s
h
o
w
n

i
n

F
i
g
u
r
e

1
2

b
e
l
o
w
.



F
i
g
u
r
e

1


C
a
s
c
a
d
e

c
o
n
t
r
o
l

s
t
r
u
c
t
u
r
e

T
w
o

m
a
i
n

f
e
a
t
u
r
e
s

o
r

a
d
v
a
n
t
a
g
e
s

o
f

c
a
s
c
a
d
e

c
o
n
t
r
o
l

s
t
r
u
c
t
u
r
e

i
s
:


2
v
i
r
i

v
c

q

q

F
i
g
u
r
c

1
1

-
v
c

1
/
s

c
o
n
v
c
r
i
c
r

i
o
r
q
u
c

c
o
n
i
r
o
l
l
c
r

s

c
c
d

c
o
n
i
r
o
l
l
c
r

o
s
i
i
i
o
n

c
o
n
i
r
o
l
l
c
r

+



-

+



-

+



-

i
a
c
I
o

M
o
i
o
r




l
T


1
0

a
)

T
h
e

c
o
n
t
r
o
l

v
a
r
i
a
b
l
e

o
f

i
n
n
e
r

l
o
o
p

(
e
.
g
.

t
o
r
q
u
e
)

c
a
n

b
e

l
i
m
i
t
e
d

b
y

l
i
m
i
t
i
n
g

i
t
s

r
e
f
e
r
e
n
c
e

v
a
l
u
e

b
)

I
t

i
s

f
l
e
x
i
b
l
e


o
u
t
e
r

l
o
o
p

c
a
n

b
e

r
e
a
d
i
l
y

a
d
d
e
d

o
r

r
e
m
o
v
e
d

d
e
p
e
n
d
i
n
g

o
n

t
h
e

c
o
n
t
r
o
l

r
e
q
u
i
r
e
m
e
n
t
s

I
m
p
l
e
m
e
n
t
i
n
g

c
a
s
c
a
d
e

c
o
n
t
r
o
l

s
t
r
u
c
t
u
r
e

r
e
q
u
i
r
e
s

t
h
e

t
o
r
q
u
e

a
n
d

h
e
n
c
e

t
h
e

c
u
r
r
e
n
t

t
o

b
e

c
o
n
t
r
o
l
l
e
d
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r

d
e
c
r
e
a
s
e
d
.

F
o
r

i
n
s
t
a
n
c
e
,

w
h
e
n

t
h
e

c
u
r
r
e
n
t

t
o
u
c
h
e
s

t
h
e

u
p
p
e
r

b
a
n
d
,

P
I

c
o
n
i
r
o
l
l
c
r

P
I

c
o
n
i
r
o
l
l
c
r

d
c
q
c


a
l
c

S
V
M

o
r

S
P
W
M

V
S
I

I
M

c

a
l
c


d
c
q
c

i
d
c


i
q
c


v
a


v
l


v
c


+

+


i
d
c

i
q
c

P
I

c
o
n
i
r
o
l
l
c
r

P
I

c
o
n
i
r
o
l
l
c
r

d
q

a
l
c

a
l
c

d
q

S
V
M

o
r

S
P
W
M

V
S
I


I
M

i
d


i
q


v
a


v
l


v
c


i
d

i
q

+

+


F
i
g
u
r
c

3
.


C
u
r
r
c
n
i

r
c
g
u
l
a
i
i
o
n

i
n

s
i
a
i
i
o
n
a
r
y

f
r
a
n
c


F
i
g
u
r
c

4
.


C
u
r
r
c
n
i

r
c
g
u
l
a
i
i
o
n

i
n

s
y
n
c
I
r
o
n
o
u
s

f
r
a
n
c



1
2

c
u
r
r
e
n
t

n
e
e
d

t
o

b
e

r
e
d
u
c
e
d

a
n
d

t
h
i
s

i
s

a
c
c
o
m
p
l
i
s
h
e
d

b
y

t
u
r
n
i
n
g

o
n

t
h
e

l
o
w
e
r

s
w
i
t
c
h

o
f

t
h
a
t

p
a
r
t
i
c
u
l
a
r

l
e
g
.

T
h
i
s

i
s

i
l
l
u
s
t
r
a
t
e
d

i
n

F
i
g
u
r
e

5
.



F
i
g
u
r
e

5



H
y
s
t
e
r
e
s
i
s

b
a
s
e
d

c
u
r
r
e
n
t

c
o
n
t
r
o
l
l
e
d

H
y
s
t
e
r
e
s
i
s

b
a
s
e
d

c
o
n
t
r
o
l
l
e
d

h
a
s

l
a
r
g
e

b
a
n
d
w
i
d
t
h
.

H
o
w
e
v
e
r
,

t
h
e

s
w
i
t
c
h
i
n
g

f
r
e
q
u
e
n
c
y

v
a
r
i
e
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n

t
h
e

h
e
x
a
g
o
n
a
l

d
e
f
i
n
e
d

b
y

t
h
e

h
y
s
t
e
r
e
s
i
s

b
a
n
d
s
.

H
o
w
e
v
e
r
,

d
u
e

t
o

t
h
e

i
n
t
e
r
a
c
t
i
o
n
s

b
e
t
w
e
e
n

p
h
a
s
e
s
,

t
h
e

c
u
r
r
e
n
t

e
r
r
o
r

m
a
y

g
o

o
u
t
s
i
d
e

t
h
e

h
y
s
t
e
r
e
s
i
s

b
a
n
d
.

A
s

a

r
e
s
u
l
t
,

c
u
r
r
e
n
t

e
r
r
o
r

m
a
y

b
e
c
o
m
e

a
s

l
a
r
g
e

a
s

t
w
i
c
e

t
h
e

h
y
s
t
e
r
e
s
i
s

b
a
n
d

(
F
i
g
u
r
e

7
)


i
r
c
f

+

V
d
c




1
3






-
0
.
2
-
0
.
1
5
-
0
.
1
-
0
.
0
5
0
0
.
0
5
0
.
1
0
.
1
5
0
.
2
-
0
.
2
-
0
.
1
5
-
0
.
1
-
0
.
0
5 0
0
.
0
5
0
.
1
0
.
1
5
0
.
2

R
e
f
e
r
e
n
c
e
s
:


N
.

M
o
h
a
n
,

P
o
w
e
r

E
l
e
c
t
r
o
n
i
c
s
:

C
o
n
v
e
r
t
e
r
s
,

a
p
p
l
i
c
a
t
i
o
n
s

a
n
d

d
e
s
i
g
n


J
o
h
n

W
i
l
e
y

a
n
d

S
o
n
s
,

1
9
9
5
.


N
.

M
o
h
a
n
,

E
l
e
c
t
r
i
c

D
r
i
v
e
s


a
n

i
n
t
e
g
r
a
t
i
v
e

a
p
p
r
o
a
c
h


M
N
P
E
R
E
,

2
0
0
0
.


W
.

L
e
o
n
h
a
r
d
,

C
o
n
t
r
o
l

o
f

e
l
e
c
t
r
i
c
a
l

d
r
i
v
e
s

,


S
p
r
i
n
g
e
r
-
V
e
r
l
a
g
,

1
9
8
4
.


J
.

M
.

D
.

M
u
r
p
h
y

a
n
d


F
.
G
.

T
u
r
n
b
u
l
l
,

P
o
w
e
r

e
l
e
c
t
r
o
n
i
c

c
o
n
t
r
o
l

o
f

A
C

m
o
t
o
r

,

P
e
r
g
a
m
o
n

p
r
e
s
s
,

1
9
8
8
.


I

I

A

D

C

i
s

i
s

i
s

F
i
g
u
r
c

6


C
o
n

l
c

l
a
n
c

s
w
i
i
c
I
i
n
g

d
i
a
g
r
a
n

F
i
g
u
r
c

7


S
i
n
u
l
a
i
i
o
n

r
c
s
u
l
i
s

s
I
o
w
i
n
g

i
I
a
i

i
I
c

c
r
r
o
r

c
a
n

g
o

o
u
i
s
i
d
c

i
I
c

I
c

a
g
o
n
a
l

l
o
u
n
d
a
r
y

Model {
Name "rl_2q_average"
Version 5.0
SaveDefaultBlockParams on
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowLoopsOnError on
IgnoreBidirectionalLines off
ShowStorageClass off
ExecutionOrder off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
covSaveCumulativeToWorkspaceVar on
CovSaveSingleToWorkspaceVar on
CovCumulativeVarName "covCumulativeData"
CovCumulativeReport off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
MinMaxOverflowArchiveMode "Overwrite"
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Thu Sep 11 20:51:10 2003"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "Nik Rumzi"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Mon Jul 19 11:38:36 2004"
ModelVersionFormat "1.%<AutoIncrement:14>"
ConfigurationManager "None"
SimParamPage "Solver"
LinearizationMsg "none"
Profile off
ParamWorkspaceSource "MATLABWorkspace"
AccelSystemTargetFile "accel.tlc"
AccelTemplateMakefile "accel_default_tmf"
AccelMakeCommand "make_rtw"
TryForcingSFcnDF off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "normal"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
http://encon.fke.utm.my/courses/mep1422/rl_2q_average.mdl (1 von 10) [17.05.2005 17:11:15]
ExtModeArmWhenConnect on
ExtModeSkipDownloadWhenConnect off
ExtModeLogAll on
ExtModeAutoUpdateStatusClock on
BufferReuse on
RTWExpressionDepthLimit 5
SimulationMode "normal"
Solver "ode5"
SolverMode "Auto"
StartTime "0.0"
StopTime "100e-3"
MaxOrder 5
MaxStep "auto"
MinStep "auto"
MaxNumMinSteps "-1"
InitialStep "auto"
FixedStep "1e-6"
RelTol "1e-3"
AbsTol "auto"
OutputOption "RefineOutputTimes"
OutputTimes "[]"
Refine "1"
LoadExternalInput off
ExternalInput "[t, u]"
LoadInitialState off
InitialState "xInitial"
SaveTime on
TimeSaveName "t"
SaveState off
StateSaveName "xout"
SaveOutput on
OutputSaveName "yout"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Array"
Decimation "1"
LimitDataPoints off
MaxDataPoints "1000"
SignalLoggingName "sigsOut"
ConsistencyChecking "none"
ArrayBoundsChecking "none"
AlgebraicLoopMsg "warning"
BlockPriorityViolationMsg "warning"
MinStepSizeMsg "warning"
InheritedTsInSrcMsg "warning"
DiscreteInheritContinuousMsg "warning"
MultiTaskRateTransMsg "error"
SingleTaskRateTransMsg "none"
CheckForMatrixSingularity "none"
IntegerOverflowMsg "warning"
Int32ToFloatConvMsg "warning"
ParameterDowncastMsg "error"
ParameterOverflowMsg "error"
ParameterPrecisionLossMsg "warning"
UnderSpecifiedDataTypeMsg "none"
UnnecessaryDatatypeConvMsg "none"
VectorMatrixConversionMsg "none"
InvalidFcnCallConnMsg "error"
SignalLabelMismatchMsg "none"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
SfunCompatibilityCheckMsg "none"
RTWInlineParameters off
BlockReductionOpt on
http://encon.fke.utm.my/courses/mep1422/rl_2q_average.mdl (2 von 10) [17.05.2005 17:11:15]
BooleanDataType on
ConditionallyExecuteInputs on
ParameterPooling on
OptimizeBlockIOStorage on
ZeroCross on
AssertionControl "UseLocalSettings"
ProdHWDeviceType "Microprocessor"
ProdHWWordLengths "8,16,32,32"
RTWSystemTargetFile "grt.tlc"
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
RTWRetainRTWFile off
TLCProfiler off
TLCDebug off
TLCCoverage off
TLCAssertion off
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType Constant
Value "1"
VectorParams1D on
ShowAdditionalParam off
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
}
Block {
BlockType Gain
Gain "1"
Multiplication "Element-wise(K.*u)"
ShowAdditionalParam off
ParameterDataTypeMode "Same as input"
ParameterDataType "sfix(16)"
ParameterScalingMode "Best Precision: Matrix-wise"
ParameterScaling "2^0"
OutDataTypeMode "Same as input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType Inport
Port "1"
PortDimensions "-1"
SampleTime "-1"
ShowAdditionalParam off
LatchInput off
DataType "auto"
OutDataType "sfix(16)"
http://encon.fke.utm.my/courses/mep1422/rl_2q_average.mdl (3 von 10) [17.05.2005 17:11:15]
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
Interpolate on
}
Block {
BlockType Outport
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Reference
}
Block {
BlockType Relay
OnSwitchValue "eps"
OffSwitchValue "eps"
OnOutputValue "1"
OffOutputValue "0"
ShowAdditionalParam off
OutputDataTypeScalingMode "All ports same datatype"
OutDataType "sfix(16)"
OutScaling "2^0"
ConRadixGroup "Use specified scaling"
ZeroCross on
}
Block {
BlockType "S-Function"
FunctionName "system"
PortCounts "[]"
SFunctionModules "''"
}
Block {
BlockType Sin
SineType "Time based"
Amplitude "1"
Bias "0"
Frequency "1"
Phase "0"
Samples "10"
Offset "0"
SampleTime "-1"
VectorParams1D on
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
ShowAdditionalParam off
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
http://encon.fke.utm.my/courses/mep1422/rl_2q_average.mdl (4 von 10) [17.05.2005 17:11:15]
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType ToWorkspace
VariableName "simulink_output"
MaxDataPoints "1000"
Decimation "1"
SampleTime "0"
}
Block {
BlockType TransferFcn
Numerator "[1]"
Denominator "[1 2 1]"
AbsoluteTolerance "auto"
Realization "auto"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "rl_2q_average"
Location [2, 78, 1022, 701]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 212
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "115"
ReportName "simulink-default.rpt"
Block {
BlockType Constant
Name "Constant"
Position [315, 390, 345, 420]
Value "100"
}
Block {
BlockType Reference
Name "Dot Product"
Ports [2, 1]
Position [610, 431, 640, 464]
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
}
Block {
BlockType Gain
http://encon.fke.utm.my/courses/mep1422/rl_2q_average.mdl (5 von 10) [17.05.2005 17:11:15]
Name "Gain1"
Position [480, 95, 510, 125]
Gain "200"
}
Block {
BlockType Gain
Name "Gain3"
Position [255, 320, 285, 350]
Gain "200/30"
}
Block {
BlockType Relay
Name "Relay"
Position [340, 95, 370, 125]
OnSwitchValue "0"
OffSwitchValue "0"
}
Block {
BlockType Sin
Name "Sine Wave"
Position [115, 55, 145, 85]
SineType "Time based"
Amplitude "2"
Frequency "1000"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [0, 1]
Position [110, 130, 150, 190]
TreatAsAtomicUnit off
MaskPromptString "frekuensi|V peak"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "f=@1;v1=@2;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "5000|15"
System {
Name "Subsystem"
Location [553, 276, 688, 358]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name "Repeating\nSequence"
Ports [0, 1]
Position [25, 25, 55, 55]
SourceBlock "simulink/Sources/Repeating\nSequence"
SourceType "Repeating table"
http://encon.fke.utm.my/courses/mep1422/rl_2q_average.mdl (6 von 10) [17.05.2005 17:11:15]
rep_seq_t "[0 1/(2*f) 1/f]"
rep_seq_y "[-v1 v1 -v1]"
}
Block {
BlockType Outport
Name "Out1"
Position [80, 33, 110, 47]
}
Line {
SrcBlock "Repeating\nSequence"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [205, 100, 225, 120]
ShowName off
IconShape "round"
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [350, 325, 370, 345]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [485, 240, 545, 270]
VariableName "vave"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace2"
Position [255, 20, 315, 50]
VariableName "vc"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace3"
Position [660, 100, 720, 130]
VariableName "vau"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
http://encon.fke.utm.my/courses/mep1422/rl_2q_average.mdl (7 von 10) [17.05.2005 17:11:15]
Block {
BlockType ToWorkspace
Name "To Workspace4"
Position [925, 160, 985, 190]
VariableName "iau"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace5"
Position [665, 320, 725, 350]
VariableName "iave"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace8"
Position [715, 435, 775, 465]
VariableName "iD"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [785, 157, 845, 193]
Denominator "[0.01 10]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Position [500, 317, 560, 353]
Denominator "[0.01 10]"
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [25, 0]
Branch {
Points [5, 0]
Branch {
Points [0, -35]
DstBlock "To Workspace2"
DstPort 1
}
Branch {
Points [35, 0]
DstBlock "Sum"
DstPort 1
}
}
Branch {
Points [0, 265]
DstBlock "Gain3"
DstPort 1
}
}
Line {
SrcBlock "Subsystem"
SrcPort 1
http://encon.fke.utm.my/courses/mep1422/rl_2q_average.mdl (8 von 10) [17.05.2005 17:11:15]
Points [60, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Relay"
DstPort 1
}
Line {
SrcBlock "Relay"
SrcPort 1
Points [65, 0]
Branch {
DstBlock "Gain1"
DstPort 1
}
Branch {
Points [0, 345]
DstBlock "Dot Product"
DstPort 2
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [20, 0; 0, 45; 80, 0; 0, 20; 30, 0]
Branch {
DstBlock "Transfer Fcn"
DstPort 1
}
Branch {
DstBlock "To Workspace3"
DstPort 1
}
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "To Workspace4"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn1"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "To Workspace5"
DstPort 1
}
Branch {
DstBlock "Dot Product"
DstPort 1
}
}
Line {
SrcBlock "Dot Product"
SrcPort 1
DstBlock "To Workspace8"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
http://encon.fke.utm.my/courses/mep1422/rl_2q_average.mdl (9 von 10) [17.05.2005 17:11:15]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Transfer Fcn1"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "To Workspace1"
DstPort 1
}
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [10, 0]
DstBlock "Sum1"
DstPort 2
}
Annotation {
Name "2-quadrant with iD"
Position [736, 44]
FontName "Arial"
FontSize 20
FontWeight "bold"
}
Annotation {
Name "qA"
Position [399, 99]
}
}
}
http://encon.fke.utm.my/courses/mep1422/rl_2q_average.mdl (10 von 10) [17.05.2005 17:11:15]
CURRENT RIPPLE FOR UNIPOLAR AND BIPOLAR SWITCHING SCHEMES

TIc ouiui voliagc of a dc-dc owcr convcricr is conoscd of iIc dcsircd avcragc voliagc and ac
cononcnis, or rilc. TIc rilc in ouiui voliagc conscqucnily coniriluics io iIc rilc in
arnaiurc currcni. Ii is cusionary io nininizc iIc currcni rilc in clccirical drivcs for iIc
following rcasons.

a} Torquc is nornally dirccily rclaicd io currcni. TIus, rilc in currcni will causc rilc in iIc
clccironagnciic iorquc. Filc in iorquc will lc rcflccicd in iIc sccd or osiiion rcsonscs,
in ariicular for sysicns wiiI snall incriia.

l} Currcni rilc Ias zcro avcragc valuc and docs noi coniriluic io iIc uscful iorquc
roduciion. Insicad, currcni rilc incrcasc nacIinc Icaiing cddy currcni and Iysicrcsis
losscs.

c} Currcni coniaining IigI rilc nusi lc considcrcd wIcn sclcciing iIc swiicIing dcviccs for
iIc convcricr. A IigI currcni rilc rcquircs IigI raiing of cal currcni for iIc dcviccs.


Currcni rilc is invcrscly rooriional io iIc swiicIing frcqucncy and dirccily rooriional io iIc
inui dc voliagc of iIc convcricr. For iIc sanc iriangular frcqucncy and DC voliagc, uniolar and
liolar swiicIing scIcncs rcsuli in diffcrcni anouni of rilc rcscni in iIc arnaiurc currcni.
TIis can lc analyzcd as follows.

UnIpoIar swItcbIng
TIc ouiui voliagc wiiI uniolar scIcnc swings lciwccn Vdc and 0 or 0 and Vdc voliagcs. Dccausc
of iIc diffcrcni (i.c. invcricd} conirol signals uscd for iIc iwo lcgs in iIc invcricr, iIc frcqucncy of
iIc ouiui voliagc is iwicc iIai of iIc iriangular wavcforn. TIc currcni rilc can lc calculaicd ly
considcring iIc rilc cononcni of iIc ouiui voliagc. TIis is acconlisIcd ly scaraiing an
avcragc and rilc cononcnis of iIc wavcforn as dcicicd in Fig.1. Assuning iIai rilc voliagc
nainly acar across iIc inducior, iIc currcni rilc can lc calculaicd ly using iIc voliagc
currcni rclaiion of an inducior.


























+
irr
Tdal
T
vL
Vdc Vavc
Vdc
T
Vdc Vavc
Vavc
Tiri


TIc currcni rilc calcal is givcn ly.


T d
L
V V
i
al
avc dc
rr

= (1}

TIc avcragc voliagc, Vavc in icrns of ouiui voliagc duiy raiio, dal and criod, T, is givcn ly

Vavc dalVdc (2}

WIicI givcs iIc currcni rilc calcal as.

( )
2
al al
dc
rr
d d
L
T V
i = (3}

Ii can lc sIown iIai iIc nainun rilc calcal is wIcn dal 0.5

Wc Iavc alrcady sccn iIai dal 2da 1 , wIcrc da is iIc duiy raiio of lcg a (osiiivc conirol signal}.
TIcrcforc, iIc nainun calcal currcni rilc occurs wIcn da 0.75. For uniolar swiicIing
scIcnc, iIc criod of iIc iriangular wavcforn is iwicc iIai of iIc ouiui voliagc, i.c. 2TTiri . TIus
iIc nainun rilc currcni can lc csiinaicd as.

( )
L 8
T V
5 . 0 5 . 0
L 2
T V
i
iri dc 2 iri dc
rr
= = (4}


BIpoIar scbeme
In liolar scIcnc, iIc ouiui voliagc swings lciwccn Vdc and Vdc. TIc duiy raiio of lcg a is iIc
sanc as iIc duiy raiio of iIc ouiui voliagc. Again, iIc currcni rilc can lc csiinaicd ly
considcring iIc voliagccurrcni of iIc arnaiurc induciancc. Ii is assuncd iIai all iIc voliagc
rilc acar across iIc inducior.












TIc currcni rilc calcal is givcn ly.


T d
L
V V
i
al
avc dc
rr

= (5}

TIc avcragc voliagc, Vavc in icrns of ouiui voliagc duiy raiio, dal and criod, T, is givcn ly

Vavc (2dal 1}Vdc (6}

WIicI givcs iIc currcni rilc calcal as.
+
Vdc
-Vdc
Vdc - Vavc
Vavc

2
al al
dc
rr
d d
L
T V 2
i = (7}

As in iIc uniolar scIcnc, iIc nainun rilc occurs wIcn dal 0.5

In iIc casc of liolar scIcnc, iIc duiy raiio of iIc ouiui voliagc, dal, is iIc sanc as iIc duiy
raiio of lcg a, da. TIcrcforc, iIc duiy raiio of lcg a is 0.5 ai nainun calcal currcni rilc. For
liolar swiicIing scIcnc, iIc criod of iIc iriangular wavcforn and iIc ouiui voliagc is iIc sanc,
i.c. TTiri . TIus iIc nainun rilc currcni can lc csiinaicd as.

( )
L 2
T V
5 . 0 5 . 0
L
T V 2
i
iri dc 2 iri dc
rr
= = (8}

Equaiions (4} and (8} sIow iIai in uniolar swiicIing scIcnc, iIc nainun currcni rilc is
rcduccd ly four iincs conarcd io iIc currcni rilc in liolar scIcnc.




SPACE VECTOR MODULATION

In contrast to Sinusoidal Pulse Width Modulation (SPWM), which treats the 3-phase quantities
separately, in SVM, the 3-phase quantities are treated using single equation known as space vector.
Therefore in terms of microprocessor or digital implementation, SVM gives less computational
burden. The space vector of a 3-phase voltage is defined as:
2 4
j j
3 3
s a b c
2
v v (t) v (t)e v (t)e
3


= + +


,
where v
a
, v
b
and v
c
are the phase voltages.

In 3-phase VSI, there are 8 possible switch configurations, hence there are eight possible voltage
vectors that can be generated or obtained from the VSI. SVM utilized these 8 voltage vectors to
synthesize the reference voltage.



























Given a location of the reference voltage in any of the sectors, the actual voltage can be synthesized,
within a sampling period, by selecting the two adjacent voltage vectors and zero voltage vectors. For
example, if the reference voltage is located in sector 1, voltage vectors v
1
, v
2
, v
0
and v
7
should be
selected. This is illustrated in Figure 2








v
d
*
v
q
*
Space vector
modulator
AC
Motor
+


V
d




Figure 1 Space vector
modulator applied to AC
motor drive





















































(2/3)V
d

Sector 1 Sector 3
Sector 4
Sector 5
Sector 2
Sector 6
(1/3)V
d

[100]
[110]
[010]
[011]
[001]
[101]
*
s
v
0 0.005 0.01 0.015 0.02 0.025 0.03
-100
-50
0
50
100
a
b
c
sector 6 sector 1 sector 2 sector 3 sector 4 sector 5
Figure 3 Sinusoidal
reference voltage
Figure 4 Example of
modulated waveform in
sector 2
000 010 110 111 110 010 000
Phase a
Phase b
Phase c
T T
d
q

Figure 2 Voltage
vectors of a 3-phase
VSI
T
0
T
1 T
2
T
7
The interval for each voltage vector, as shown in Figure 4, is determined by equating volt-second
integral of v
s
with the sum of all voltage vectors within a cycle. Thus, for example in sector 1,

7 7 2 2 1 1 o o s
T v T v T v T v T v + + + =
Note that v
1
and v
2
equal
d
V
3
2
. Thus in terms of d-q components this can be written as:

0 T ) 60 sin j 60 (cos T V
3
2
T V
3
2
0 T T v
7
o o
2 d 1 d o s
+ + + + =

Also, we need to satisfy the time constraint: T= T
0
+ T
1
+ T
2
+ T
7


If we let T
0
= T
7,
we can calculate all the required time intervals. If the angle between the reference
voltage and the adjacent vector (to the right of the reference voltage) equals , it can be shown that
for any sector, the time intervals T
1
and T
2
are given by:

1 s
3 1
T T v cos sin
2 3

=




2 s
T 3 T v sin =

In the above equation, v
s
is the normalized reference vector. The interval for the zero voltage vector is
given by: T
0
+ T
7
= T (T
1
+T
2
). The ratio between T
0
and T
7
essentially control the amount of
triplen harmonic components in the fundamental phase voltage.


Further readings:
PG Handley and JT Boys, Practical real-time PWM modulators: an assessment IEE Proceedings-B,
Vol 139, No. 2 March 1992

W. Leonhard, Control of electrical drives, Springer-Verlag, 1984.


1
DC DRIVES

Pri nc i ple of ope rat i on and c ons t ruc t i on a re vi e w

DC ma ch in e con s is t s of

s t a t or s t a t ion a r y wh er e t h e field flu x is pr odu ced
r ot or r ot a t in g wh er e t h e a r ma t u r e win din g is pla ced.

Field flu x is obt a in ed eit h er fr om per ma n en t ma gn et or fr om field win din g excit a t ion . Field flu x
in t er a ct s wit h cu r r en t ca r r yin g con du ct or s in a r ma t u r e t o pr odu ce t or qu e. Commu t a t or in
a r ma t u r e cir cu it will en s u r e t h a t t h e t or qu e pr odu ct ion is a lwa ys ma ximu m, r ega r dles s of r ot or
pos it ion .



Mode li ng of DC mot or

Th e t or qu e is pr odu ced a s a r es u lt of in t er a ct ion of field flu x wit h cu r r en t in a r ma t u r e
con du ct or s a n d is given by

Te = kt ia (1)

wh er e kt is a con s t a n t depen din g on mot or win din gs a n d geomet r y
is t h e flu x per pole du e t o t h e field win din g

For t h e mot or wit h wou n d field, t h e flu x ca n be va r ied t o con t r ol t h e s peed, bu t for per ma n en t
ma gn et mot or , t h e flu x is fixed a n d t h u s ca n be wr it t en a s :

Te = Kt ia

wh er e Kt depen ds on t h e per ma n en t ma gn et ma t er ia l
Th e dir ect ion of t h e t or qu e pr odu ced depen ds on t h e dir ect ion of t h e a r ma t u r e cu r r en t
Wh en t h e a r ma t u r e r ot a t es , t h e flu x lin kin g t h e a r ma t u r e win din g will va r y wit h t ime a n d
t h er efor e a ccor din g t o Fa r a da ys la w, a n emf will be in du ced a cr os s t h e win din g. Th is gen er a t ed
emf, kn own a s t h e ba ck emf, depen ds on s peed of r ot a t ion a s well a s on t h e flu x pr odu ced by
t h e field a n d is given by:

ea = kt (2)

Simila r ly, for per ma n en t ma gn et , t h is ca n be wr it t en a s :

2
ea = Kt

Th e pola r it y of t h e ba ck emf depen ds on t h e dir ect ion of t h e mot or r ot a t ion


For s epa r a t ely excit ed DC mot or , t h e a r ma t u r e cir cu it is s h own :











Ra lu mped a r ma t u r e win din g r es is t a n ce
La s elf in du ct a n ce of t h e a r ma t u r e win din g
ea a s defin ed befor e, is t h e ba ck emf of t h e mot or

Us in g KVL,

(3)

In s t ea dy s t a t e con dit ion ,

(4)


In t er ms of t or qu e a n d s peed t h e s t ea dy s t a t e equ a t ion ca n be wr it t en a s :

(5)


wh ich gives :

(6)



Th u s t h r ee met h ods ca n be u s ed t o con t r ol t h e s peed: Vt , a n d Ra

Speed con t r ol u s in g a r ma t u r e r es is t a n ce by a ddin g ext er n a l r es is t or Rext is s eldom u s ed,
es pecia lly for la r ge mot or du e t o t h e los s es a s s ocia t ed wit h Ia
2
Rext . Vt is n or ma lly con t r ol for
s peed u p t o r a t ed s peed. Beyon d r a t ed s peed, for s epa r a t ely excit ed DC mot or , t h e s peed con t r ol
is a ch ieved by flu x con t r ol, . Wh en s peed con t r ol by flu x con t r ol is u s ed, t h e ma ximu m t or qu e
ca pa bilit y of t h e mot or is r edu ced s in ce for a given ma ximu m a r ma t u r e cu r r en t , t h e flu x is les s
t h a n t h e r a t ed va lu e a n d t h u s t h e ma ximu m t or qu e pr odu ced is les s t h a n t h e ma xu mu m
t or qu e. Als o it s h ou ld be n ot ed t h a t , wit h per ma n en t ma gn et excit a t ion , s peed con t r ol u s in g
flu x wea ken in g is n ot pos s ible t h u s ma ximu m s peed of per ma n en t ma gn et mot or is limit ed.

Wh en des ign in g con t r oller s for DC mot or dr ives u s ed in s er vo or h igh per for ma n ce a pplica t ion s ,
a s ma ll s ign a l model of t h e mot or is r equ ir ed. A s epa r a t ely excit ed DC mot or wit h fixed field
excit a t ion , or a per ma n en t ma gn et DC mot or , is des cr ibed by equ a t ion s (3), (1) a n d (2). If a s ma ll
per t u r ba t ion a r ou n d a DC oper a t in g poin t is in t r odu ced, t h es e equ a t ion s ca n be wr it t en a s (7)-
(9). Th e ~ in dica t es a s ma ll per t u r ba t ion , wh ich is a dd t o t h e DC compon en t s of vt , ia, ea, Te, TL
a n d :
+

ea


a
a
a a a t
e
dt
di
L R i v + + =
+

vt


R
a
L
a
+

=
t a
t
t
k R
k
T
V
a a a t
E R I V + =
( )
a
2
t
t
t
R
k
T
k
V

=
3


(7)



(8)


(9)


Equ a t ion des cr ibin g t h e dyn a mic of t h e mech a n ica l s ys t em is given by:

(10)

wh er e Tl = TL + B

Tl is t h e loa d t or qu e compos ed of wor kin g t or qu e of t h e loa d, TL a n d t or qu e du e t o fr ict ion , B.
Th e fr ict ion a l t or qu e depen ds on t h e r ot a t ion a l s peed, wh ile TL depen ds on t h e n a t u r e of t h e
loa d bein g dr iven . Simila r ly, if a s ma ll per t u r ba t ion is in t r odu ced in Te a n d TL a n d , equ a t ion
(10) ca n be wr it t en a s :

(11)


Sepa r a t in g t h e DC a n d s ma ll per t u r ba t ion or AC compon en t s in (7)(9) a n d (11), t h e s t ea dy s t a t e
a n d s ma ll s ign a l equ a t ion s des cr ibin g t h e DC mot or ca n be obt a in ed:

















Th e t r a n s fer fu n ct ion of t h e DC mot or is obt a in ed by t a kin g t h e La pla ce t r a n s for m of t h e s ma ll
s ign a l equ a t ion s .


Vt (s ) = Ia(s )Ra + Las Ia + Ea(s ) (12)

Te(s ) = kEIa(s ) (13)

Ea(s ) = kE(s ) (14)

Te(s ) = TL(s ) + B(s ) + s J (s ) (15)


( )
) e
~
E (
dt
i
~
I d
L R ) i
~
I ( v
~
V
a a
a a
a a a a t t
+ +
+
+ + = +
) i I ( k T
~
T
a a E e e
+ = +
)
~
( k e
~
E
E e e
+ = +
dt
d
J T T
m
l e

+ =
dt
)
~
( d
J )
~
( B T
~
T T
~
T
L L e e
+
+ + + + = +
a
a
a a a t
e
~
dt
i
~
d
L R i
~
v
~
+ + =
) i
~
( k T
~
a E e
=
)
~
( k e
~
E e
=
a a a t
E R I V + =
a E e
I k T =
=
E e
k E
dt
)
~
( d
J
~
B T
~
T
~
L e

+ + =
) ( B T T
L e
+ =
AC compon en t s DC compon en t s
4

Th u s t h e block dia gr a m r epr es en t in g t h e DC mot or is s h own :

















Powe r e le c t roni c c onve rt e rs i n DC dri ve s

Th e power elect r on ic con ver t er s a r e u s ed t o obt a in a n a dju s t a ble DC volt a ge a pplied t o t h e
a r ma t u r e of a DC mot or . Th er e a r e ba s ica lly t wo t ypes of con ver t er n or ma lly employed in DC
dr ives : (i) con t r olled r ect ifier (ii) s wit ch mode con ver t er .

(i) Con t r olled r ect ifier
Con t r olled r ect ifier ca n be oper a t ed fr om a s in gle ph a s e or t h r ee ph a s e in pu t
Ou t pu t volt a ge con t a in low fr equ en cy r ipple wh ich ma y r equ ir e a la r ge in du ct or in s er t ed in
a r ma t u r e cir cu it , in or der t o r edu ce t h e a r ma t u r e cu r r en t r ipple. A la r ge a r ma t u r e cu r r en t r ipple
is u n des ir a ble s in ce it ma y be r eflect ed in s peed r es pon s e if t h e in er t ia of t h e mot or loa d is n ot
la r ge en ou gh . Con t r olled r ect ifier h a s low ba n dwidt h . Th e a ver a ge ou t pu t volt a ge r es pon s e t o a
con t r ol s ign a l, wh ich is t h e dela y a n gle, is r ela t ively s low. Th er efor e con t r olled r ect ifier is n ot
s u it a ble for dr ives r equ ir in g fa s t r es pon s e, e. g. in s er vo a pplica t ion s .
In t er ms of qu a dr a n t of oper a t ion s , a s in gle ph a s e or a t h r ee ph a s e r ect ifier is on ly ca pa ble of
oper a t in g in fir s t a n d fou r t h qu a dr a n t s wh ich is n ot s u it a ble for dr ives r equ ir in g for wa r d
br ea kin g mode. To be a ble t o oper a t e in a ll fou r qu a dr a n t s , con figu r a t ion s u s in g ba ck t o ba ck
r ect ifier s or con t a ct or s s h own below mu s t be employed.





















T
k
a a
s L R
1
+
) s ( T
l
) s ( T
e
s J B
1
+
E
k
) s ( I
a
) s ( ) s ( V
a
+
-
-
+
3-phase
supply
3-phase
supply
+

V
a

-
Converter
A

T
Converter
B
Converter
B
Converter
A
Con ver t er A
Con ver t er B
5














(ii) Swit ch mode con ver t er
Swit ch mode con ver t er s n or ma lly oper a t e a t h igh fr equ en cy. As a r es u lt of t h is , (i) t h e a ver a ge
ou t pu t volt a ge r es pon s e is s ign ifica n t ly fa s t er t h a n t h e con t r olled r ect ifier , in ot h er wor ds t h e
ba n dwidt h of a s wit ch mode r ect ifier is h igh er compa r ed t o t h e con t r olled r ect ifier , a n d (ii) t h e
a r ma t u r e cu r r en t r ipple is r ela t ively les s t h a n t h e con t r olled r ect ifier cir cu it wh en t h e s a me
a mou n t of in du ct a n ce pr es en t in t h e a r ma t u r e cir cu it . Th e s wit ch -mode con ver t er is t h er efor e
s u it a ble for a pplica t ion s r equ ir in g pos it ion con t r ol or fa s t r es pon s e, for exa mple in s er vo
a pplica t ion s , r obot ics , et c. In t er ms of qu a dr a n t of oper a t ion s , 3 pos s ible con figu r a t ion s a r e
pos s ible: s in gle qu a dr a n t , t woqu a dr a n t a n d fou r qu a dr a n t con ver t er s t h es e a r e s h own below.































Reference:
N. Mohan, Electric Drives: An integrative approach, University of Minnesota Printing services, 2000.
N. Mohan, Power Electronics: Converters, applications and design John Wiley and Sons, 1995.
Con t a ct or
Single-quadrant
Two-quadrant
Four-quadrant

T
F1 and F2
are closed

F1

F2

R1

R2

R1 and R2
are closed

R1 and R2
are closed

F1 and F2
are closed

Q1
Q1
Q2
Q2
Q3
Q3
Q4
Q1
Q2
Q3
Q4
Q4

T
T
T


+ V
a
-
3ph a s e
s u pply
+
v
a



+
v
a



+ v
a

D
C

M
O
T
O
R

D
R
I
V
E
S
(
M
E
P

1
4
2
2
)
D
r
.

N
i
k

R
u
m
z
i

N
i
k

I
d
r
i
s
D
e
p
a
r
t
m
e
n
t

o
f

E
n
e
r
g
y

C
o
n
v
e
r
s
i
o
n
F
K
E
,

U
T
M
C
o
n
t
e
n
t
s

I
n
t
r
o
d
u
c
t
i
o
n

T
r
e
n
d
s

i
n

D
C

d
r
i
v
e
s

D
C

m
o
t
o
r
s

M
o
d
e
l
i
n
g

o
f

C
o
n
v
e
r
t
e
r
s

a
n
d

D
C

m
o
t
o
r

P
h
a
s
e
-
c
o
n
t
r
o
l
l
e
d

R
e
c
t
i
f
i
e
r

D
C
-
D
C

c
o
n
v
e
r
t
e
r

(
S
w
i
t
c
h
-
m
o
d
e
)

M
o
d
e
l
i
n
g

o
f

D
C

m
o
t
o
r

C
l
o
s
e
d
-
l
o
o
p

s
p
e
e
d

c
o
n
t
r
o
l

C
a
s
c
a
d
e

C
o
n
t
r
o
l

S
t
r
u
c
t
u
r
e

C
l
o
s
e
d
-
l
o
o
p

s
p
e
e
d

c
o
n
t
r
o
l

-
a
n

e
x
a
m
p
l
e

T
o
r
q
u
e

l
o
o
p

S
p
e
e
d

l
o
o
p

S
u
m
m
a
r
y
I
N
T
R
O
D
U
C
T
I
O
N

D
C

D
R
I
V
E
S
:

E
l
e
c
t
r
i
c

d
r
i
v
e
s

t
h
a
t

u
s
e

D
C

m
o
t
o
r
s

a
s

t
h
e

p
r
i
m
e

m
o
v
e
r
s

D
o
m
i
n
a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C

c
o
n
v
e
r
t
e
r

l
a
r
g
e

b
a
n
d
w
i
d
t
h

s
m
a
l
l

r
i
p
p
l
e
C
o
n
t
r
o
l
l
e
r

d
e
s
i
g
n

b
a
s
e
d

o
n

l
i
n
e
a
r

s
m
a
l
l

s
i
g
n
a
l

m
o
d
e
l

P
o
w
e
r

c
o
n
v
e
r
t
e
r
s

-
a
v
e
r
a
g
e
d

m
o
d
e
l

D
C

m
o
t
o
r

s
e
p
a
r
a
t
e
l
y

e
x
c
i
t
e
d

o
r

p
e
r
m
a
n
e
n
t

m
a
g
n
e
t
C
l
o
s
e
d
-
l
o
o
p

s
p
e
e
d

c
o
n
t
r
o
l

d
e
s
i
g
n

b
a
s
e
d

o
n

B
o
d
e

p
l
o
t
s

V
e
r
i
f
y

w
i
t
h

l
a
r
g
e

s
i
g
n
a
l

s
i
m
u
l
a
t
i
o
n

S
p
e
e
d

c
o
n
t
r
o
l

b
y
:

a
r
m
a
t
u
r
e

v
o
l
t
a
g
e

(
0

b
)

a
n
d

f
i
e
l
d

f
l
u
x

(

)

1
MATLAB-BASED DESIGN EXAMPLE OF DC MOTOR DRIVE CONTROLLER

TIc following noics will dcscrilc iIc dcsign roccdurc of iIc rooriional-inicgral (PI} sccd and
currcni conirollcrs for a DC drivc sysicn using MATLAD/SIMULINK. Cascadc conirol siruciurc is
assuncd wIcrc iIc inncr loo is iIc currcni loo. TIc dcsign will siari fron iIc currcni loo
followcd ly iIc sccd loo.

Current Ioop
Parancicrs for iIc noior arc as givcn as in EDIA agc 812. Using iIc lincarizcd nodcl as
sIown in Fig. 1(a}, iIc lodc loi of ocnloo gain of iIc currcni loo is oliaincd using Lncu
Anuss fron SIMULINK and is sIown in Fig 1(l}. TIc loi in Fig. 1(l} is oliaincd wiiI l1 and
li0.

60
Vd Va
Tl
speed
T
Ia
Subsystem Step1
Step
PID
PID Control ler1
PID
PID Control ler
Output Point
Input Poi nt
0.2
1/Vt

(a}

Bode Diagram
Frequency (Hz)
-40
-30
-20
-10
0
10
20
From: Input Point To: Output Point
M
a
g
n
it
u
d
e

(
d
B
)
10
-3
10
-2
10
-1
10
0
10
1
10
2
10
3
-90
-45
0
45
90
P
h
a
s
e

(
d
e
g
)

(l}

Pole-Zero Map
Real Axis
I
m
a
g
in
a
r
y

A
x
is
-350 -300 -250 -200 -150 -100 -50 0
-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1

(c}

Fig. 1 Ocn-loo iransgcr funciion of currcni loo wiiIoui iIc PI conirollcr. (a} SIMULINK
llocls rcrcscniing iIc lincarizcd sysicn, (l} Dodc loi of iIc ocn-loo gain, (c} Polcs and zcro
locaiion


2
Ii is dcsircd iIai iIc landwidiI of iIc currcni loo io lc 3.3 lHz. TIc landwidiI is inicniionally
cIoscn an ordcr lowcr iIan iIc iriangular frcqucncy ai 33 lHz. Fron iIc loi of olc/zcro
locaiion in Fig. 1 (c}, iIcrc iwo arc olcs ai 37 rad/s and 348 rad/s. If iIc zcro of iIc PI is sci ai
200 rad/s, iIcn li/l 200 rad/s. If iIc valuc of l is uniiy , iIcn li 200 and iIc loi is sIown
in Fig.2 Noic iIai if li is nonzcro, iIcrc is a olc ai origin.

Bode Diagram
Frequency (Hz)
-40
-30
-20
-10
0
10
20
From: Input Point To: Output Point
M
a
g
n
i
t
u
d
e

(
d
B
)
10
-3
10
-2
10
-1
10
0
10
1
10
2
10
3
10
4
-180
-135
-90
-45
0
45
90
P
h
a
s
e

(
d
e
g
)

Fig. 2 Ocn loo gain wiiI li 200 and l 1

Fron Fig. 2 ii can lc sccn iIai iIc cross ovcr frcqucncy or iIc landwidiI is ioo low. To incrcasc
iIc landwidiI, iIc valuc of l is incrcascd. Ai iIc sanc iinc, zcro of iIc conirollcr is nainiaincd
ai 200 rad/s ly iIc aroriaic valuc of li. For l of 90, iIc Dodc loi of iIc ocn-loo gain is
sIown in Fig. 3. TIc crossovcr frcqucncy is aloui 3.3lHz wiiI good Iasc nargin.

Bode Diagram
Frequency (Hz)
-20
0
20
40
60
80
100
From: Input Point To: Output Point
M
a
g
n
i
t
u
d
e

(
d
B
)
10
-3
10
-2
10
-1
10
0
10
1
10
2
10
3
10
4
-180
-135
-90
-45
0
45
90
P
h
a
s
e

(
d
e
g
)

Fig. 3 Torquc ocn loo gain wiiI l incrcascd io 90 in ordcr io incrcasc iIc iorquc landwidiI.

Speed Ioop
TIc landwidiI of iIc sccd loo nusi lc nadc ai lcasi an ordcr lowcr iIan iIc iorquc
landwidiI, i.c. aloui 300 Hz. Dy doing so, wc can assunc iIai iIc closcd-loo iorquc gain is

3
uniiy, wIicI will sinlify iIc dcsign of iIc sccd conirollcr. Using iIis aroinaiion, iIc
arancicrs of iIc PI sccd conirollcr arc nainly dcicrnincd ly iIc viscous friciion D and
noncni of incriia J. TIc Sinulinl llocls sIowing iIis assuniion is givcn in Fig. 4(a}. Fig. 4(l}
sIows iIc Dodc loi of iIc corrcsonding sysicns. Fron iIc figurc ii can lc sccn iIai for
frcqucncy lowcr iIan iIc landwidiI of iIc iorquc loo, iIc gain lois arc alnosi idcniical lui
iIcrc is a snall crror rcscnis in iIc Iasc lois.




1
torque-l oop
PID
speed_control l er
PID
speed control l er
PID
current control l er
60
Vd Va
Tl
speed
T
Ia
Subsystem Step1
0.2
1/Vt
In1Out1
1/(sJ +B)1
In1Out1
1/(sJ +B)




Bode Diagram
Frequency (Hz)
-100
-50
0
50
100
150
200
From: Input Point To: Output Point
M
a
g
n
i t
u
d
e
( d
B
)
10
-3
10
-2
10
-1
10
0
10
1
10
2
10
3
10
4
10
5
-180
-135
-90
-45
0
P
h
a
s
e
( d
e
g
)




Fig. 4 Sccd loo dcsign. (a} Torquc loo aroinaicd ly uniiy gain, (l} iIc Dodc loi for iIc
aroinaicd uniiy gain and iIc aciual iorquc loo

TIcrc is a olc ai 0.7 rad/s. TIc zcro of iIc conirollcr can lc sci ai iIis frcqucncy, and iIc gain
is adjusicd io oliain iIc crossovcr frcqucncy of around 200 Hz. TIc Dodc loi of iIc
concnsaicd sccd loo gain is sIown in Fig.5. TIc olc ai origin iniroduccd ly iIc PI conirollcr
will cnsurc zcro sicady siaic crror.

uniiy gain
wiiI iorquc loo
(a}
(l}

4
Bode Diagram
Frequency (Hz)
-50
0
50
100
150
From: Input Point To: Output Point
M
a
g
n
i
t
u
d
e

(
d
B
)
10
-2
10
-1
10
0
10
1
10
2
10
3
10
4
-135
-90
-45
0
P
h
a
s
e

(
d
e
g
)

Fig. 5 Concnsaicd sccd loo gain (solid linc}
TIc final valucs of arancicrs for iIc conirollcrs arc sunnarizcd lclow.

l li
Torquc conirollcr. 90 18000
Sccd conirollcr. 0.2 0.14

TIcsc valucs arc uscd in iIc largc signal sinulaiion nodc. TIc SIMULINK llocls uscd io crforn
iIc largc signal sinulaiion is sIown in Fig.6 (a}. Uniolar swiicIing scIcnc for iIc convcricr is
uscd in iIc sinulaiion. A squarc wavc sccd rcfcrcncc ai 5 Hz is givcn wiiI iIc iorquc during
accclcraiion is liniicd io 1.5 Nn. TIc sccd and iorquc rcsonscs arc sIown in Fig. 6(l}.

vc_m
To Workspace4
vc
To Workspace3
vtri
To Workspace2
torque
To Workspace1
speed
To Workspace
Out1
Subsystem1
Va
Tl
speed
T
Ia
Subsystem
Step1
Si gnal
Generator
Saturati on1
Rel ay1
Rel ay
PID
PID Control l er1
PID
PID Control l er
-1
Gai n

(a}
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45
-40
-20
0
20
40
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45
-2
-1
0
1
2

(l}

Fig. 6 Largc signal sinulaiion of iIc cascadc conirol siruciurc (a} Sinulinl llols (l} Sccd and
iorquc rcsonscs
U
S
I
N
G

L
I
N
E
A
R

A
N
A
L
Y
S
I
S
I
N

M
A
T
L
A
B


F
O
R

D
C

M
O
T
O
R

D
R
I
V
E

C
O
N
T
R
O
L
L
E
R

D
E
S
I
G
N
O
u
r

o
b
j
e
c
t
i
v
e

i
n

D
C

d
r
i
v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B )
1
0
-
1
1
0
0
1
0
1
1
0
2
1
0
3
-
1
8
0
-
1
3
5
-
9
0
-
4
5 0
P h a s e ( d e g )
C
r
o
s
s
o
v
e
r

f
r
e
q
u
e
n
c
y

a
p
p
r
o
x
i
m
a
t
e
s

c
l
o
s
e

l
o
o
p

b
a
n
d
w
i
d
t
h
E
X
A
M
P
L
E

i
n

u
s
i
n
g

l
i
n
e
a
r

a
n
a
l
y
s
i
s

i
n

M
A
T
L
A
B
P
I

c
o
n
t
r
o
l
l
e
r
s
s
1
k
p
i
k
k
i


+

C
o
n
t
a
i
n

a

z
e
r
o

a
n
d

a

p
o
l
e

a
t

o
r
i
g
i
n

D
C

g
a
i
n

c
a
n

b
e

a
d
j
u
s
t
e
d

i
n
d
e
p
e
n
d
e
n
t
l
y

f
r
o
m

l
o
c
a
t
i
o
n

o
f

z
e
r
o
T
r
a
n
s
f
e
r

f
u
n
c
t
i
o
n
E
X
A
M
P
L
E

i
n

u
s
i
n
g

l
i
n
e
a
r

a
n
a
l
y
s
i
s

i
n

M
A
T
L
A
B
P
I

c
o
n
t
r
o
l
l
e
r
O
u
t
p
u
t

P
o
i
n
t
1 s
I
n
t
e
g
r
a
t
o
r
I
n
p
u
t

P
o
i
n
t
0
.
1
G
a
i
n
1
1 G
a
i
n
B
o
d
e

D
i
a
g
r
a
m
F
r
e
q
u
e
n
c
y


(
r
a
d
/
s
e
c
)
-
1
0
0
-
5
0 0
5
0
1
0
0
F
r
o
m
:

I
n
p
u
t

P
o
i
n
t


T
o
:

O
u
t
p
u
t

P
o
i
n
t
M a g n i t u d e ( d B )
1
0
-
1
1
0
0
1
0
1
1
0
2
1
0
3
-
9
0
-
4
5 0
P h a s e ( d e g )
k
i
=
1
,

k
p
=
0
.
1

k
i
=
1
0
0
,

k
p
=
1
0

Model {
Name "dc_m2_linear_large_torque"
Version 5.0
SaveDefaultBlockParams on
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowLoopsOnError on
IgnoreBidirectionalLines off
ShowStorageClass off
ExecutionOrder off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
covSaveCumulativeToWorkspaceVar on
CovSaveSingleToWorkspaceVar on
CovCumulativeVarName "covCumulativeData"
CovCumulativeReport off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
MinMaxOverflowArchiveMode "Overwrite"
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks on
Created "Wed May 28 20:17:31 2003"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "Nik Rumzi"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Mon Jul 26 11:46:55 2004"
ModelVersionFormat "1.%<AutoIncrement:33>"
ConfigurationManager "None"
SimParamPage "Solver"
LinearizationMsg "none"
Profile off
ParamWorkspaceSource "MATLABWorkspace"
AccelSystemTargetFile "accel.tlc"
AccelTemplateMakefile "accel_default_tmf"
AccelMakeCommand "make_rtw"
TryForcingSFcnDF off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "normal"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
http://encon.fke.utm.my/courses/mep1422/dc_m2_large_torque.mdl (1 von 14) [17.05.2005 17:12:11]
ExtModeArmWhenConnect on
ExtModeSkipDownloadWhenConnect off
ExtModeLogAll on
ExtModeAutoUpdateStatusClock on
BufferReuse on
RTWExpressionDepthLimit 5
SimulationMode "normal"
Solver "ode5"
SolverMode "Auto"
StartTime "0.0"
StopTime "0.45"
MaxOrder 5
MaxStep "0.0001"
MinStep "0.00001"
MaxNumMinSteps "-1"
InitialStep "0.00001"
FixedStep "0.000001"
RelTol "1e-3"
AbsTol "auto"
OutputOption "RefineOutputTimes"
OutputTimes "[]"
Refine "1"
LoadExternalInput off
ExternalInput "[t, u]"
LoadInitialState off
InitialState "xInitial"
SaveTime on
TimeSaveName "t"
SaveState off
StateSaveName "xout"
SaveOutput on
OutputSaveName "yout"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Array"
Decimation "1"
LimitDataPoints off
MaxDataPoints "1000"
SignalLoggingName "sigsOut"
ConsistencyChecking "none"
ArrayBoundsChecking "none"
AlgebraicLoopMsg "warning"
BlockPriorityViolationMsg "warning"
MinStepSizeMsg "warning"
InheritedTsInSrcMsg "warning"
DiscreteInheritContinuousMsg "warning"
MultiTaskRateTransMsg "error"
SingleTaskRateTransMsg "none"
CheckForMatrixSingularity "none"
IntegerOverflowMsg "warning"
Int32ToFloatConvMsg "warning"
ParameterDowncastMsg "error"
ParameterOverflowMsg "error"
ParameterPrecisionLossMsg "warning"
UnderSpecifiedDataTypeMsg "none"
UnnecessaryDatatypeConvMsg "none"
VectorMatrixConversionMsg "none"
InvalidFcnCallConnMsg "error"
SignalLabelMismatchMsg "none"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
SfunCompatibilityCheckMsg "none"
RTWInlineParameters off
BlockReductionOpt on
http://encon.fke.utm.my/courses/mep1422/dc_m2_large_torque.mdl (2 von 14) [17.05.2005 17:12:11]
BooleanDataType on
ConditionallyExecuteInputs on
ParameterPooling on
OptimizeBlockIOStorage on
ZeroCross on
AssertionControl "UseLocalSettings"
ProdHWDeviceType "Microprocessor"
ProdHWWordLengths "8,16,32,32"
RTWSystemTargetFile "grt.tlc"
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
RTWRetainRTWFile off
TLCProfiler off
TLCDebug off
TLCCoverage off
TLCAssertion off
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType Clock
DisplayTime off
}
Block {
BlockType Derivative
}
Block {
BlockType Fcn
Expr "sin(u[1])"
}
Block {
BlockType Gain
Gain "1"
Multiplication "Element-wise(K.*u)"
ShowAdditionalParam off
ParameterDataTypeMode "Same as input"
ParameterDataType "sfix(16)"
ParameterScalingMode "Best Precision: Matrix-wise"
ParameterScaling "2^0"
OutDataTypeMode "Same as input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType Inport
Port "1"
PortDimensions "-1"
SampleTime "-1"
ShowAdditionalParam off
LatchInput off
DataType "auto"
http://encon.fke.utm.my/courses/mep1422/dc_m2_large_torque.mdl (3 von 14) [17.05.2005 17:12:11]
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
Interpolate on
}
Block {
BlockType Lookup
InputValues "[-4:5]"
OutputValues " rand(1,10)-0.5"
ShowAdditionalParam off
LookUpMeth "Interpolation-Extrapolation"
OutDataTypeMode "Same as input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Relay
OnSwitchValue "eps"
OffSwitchValue "eps"
OnOutputValue "1"
OffOutputValue "0"
ShowAdditionalParam off
OutputDataTypeScalingMode "All ports same datatype"
OutDataType "sfix(16)"
OutScaling "2^0"
ConRadixGroup "Use specified scaling"
ZeroCross on
}
Block {
BlockType Saturate
UpperLimit "0.5"
LowerLimit "-0.5"
LinearizeAsGain on
ZeroCross on
}
Block {
BlockType "S-Function"
FunctionName "system"
PortCounts "[]"
SFunctionModules "''"
}
Block {
BlockType SignalGenerator
WaveForm "sine"
Amplitude "1"
Frequency "1"
Units "Hertz"
VectorParams1D on
}
Block {
BlockType Step
Time "1"
Before "0"
After "1"
SampleTime "-1"
http://encon.fke.utm.my/courses/mep1422/dc_m2_large_torque.mdl (4 von 14) [17.05.2005 17:12:11]
VectorParams1D on
ZeroCross on
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
ShowAdditionalParam off
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType ToWorkspace
VariableName "simulink_output"
MaxDataPoints "1000"
Decimation "1"
SampleTime "0"
}
Block {
BlockType TransferFcn
Numerator "[1]"
Denominator "[1 2 1]"
AbsoluteTolerance "auto"
Realization "auto"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "dc_m2_linear_large_torque"
Location [6, 82, 1018, 533]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 212
http://encon.fke.utm.my/courses/mep1422/dc_m2_large_torque.mdl (5 von 14) [17.05.2005 17:12:11]
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "92"
ReportName "simulink-default.rpt"
Block {
BlockType Gain
Name "Gain"
Position [410, 230, 440, 260]
Gain "-1"
}
Block {
BlockType Reference
Name "PID Controller"
Ports [1, 1]
Position [335, 90, 365, 120]
SourceBlock "simulink_extras/Additional\nLinear/PID Controll"
"er"
SourceType "PID Controller"
P "90"
I "90*200"
D "0"
}
Block {
BlockType Reference
Name "PID Controller1"
Ports [1, 1]
Position [150, 90, 180, 120]
SourceBlock "simulink_extras/Additional\nLinear/PID Controll"
"er"
SourceType "PID Controller"
P "0.2"
I "0.7*0.2"
D "0"
}
Block {
BlockType Relay
Name "Relay"
Position [500, 90, 530, 120]
OnSwitchValue "0"
OffSwitchValue "0"
OnOutputValue "60"
}
Block {
BlockType Relay
Name "Relay1"
Position [520, 230, 550, 260]
OnSwitchValue "0"
OffSwitchValue "0"
OnOutputValue "60"
}
Block {
BlockType Saturate
Name "Saturation1"
Position [225, 90, 255, 120]
UpperLimit "1.5"
LowerLimit "-1.5"
}
Block {
BlockType SignalGenerator
Name "Signal\nGenerator"
Position [20, 90, 50, 120]
WaveForm "square"
http://encon.fke.utm.my/courses/mep1422/dc_m2_large_torque.mdl (6 von 14) [17.05.2005 17:12:11]
Amplitude "-30"
Frequency "5"
}
Block {
BlockType Step
Name "Step1"
Position [600, 205, 630, 235]
Time "0"
After "0"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [2, 3]
Position [700, 120, 740, 180]
TreatAsAtomicUnit off
MaskPromptString "Armature resistance|La|J|Kt|B"
MaskStyleString "edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on"
MaskCallbackString "||||"
MaskEnableString "on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on"
MaskToolTipString "on,on,on,on,on"
MaskVarAliasString ",,,,"
MaskVariables "Ra=@1;La=@2;J=@3;Kt=@4;B=@5;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "2|5.2e-3|152e-6|0.1|0.0001"
System {
Name "Subsystem"
Location [90, 152, 644, 411]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Va"
Position [25, 88, 55, 102]
}
Block {
BlockType Inport
Name "Tl"
Position [280, 28, 310, 42]
Port "2"
}
Block {
BlockType Gain
Name "Gain"
Position [250, 80, 280, 110]
Gain "Kt"
}
Block {
BlockType Gain
Name "Gain2"
Position [270, 185, 300, 215]
Orientation "left"
http://encon.fke.utm.my/courses/mep1422/dc_m2_large_torque.mdl (7 von 14) [17.05.2005 17:12:11]
Gain "Kt"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [80, 85, 100, 105]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [310, 85, 330, 105]
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "-+|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [145, 77, 205, 113]
Denominator "[La Ra]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Position [375, 77, 435, 113]
Denominator "[J B]"
}
Block {
BlockType Outport
Name "speed"
Position [495, 88, 525, 102]
}
Block {
BlockType Outport
Name "T"
Position [390, 33, 420, 47]
Port "2"
}
Block {
BlockType Outport
Name "Ia"
Position [240, 33, 270, 47]
Port "3"
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum1"
DstPort 2
http://encon.fke.utm.my/courses/mep1422/dc_m2_large_torque.mdl (8 von 14) [17.05.2005 17:12:11]
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, -55]
DstBlock "Ia"
DstPort 1
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [5, 0]
Branch {
Points [0, -55]
DstBlock "T"
DstPort 1
}
Branch {
DstBlock "Transfer Fcn1"
DstPort 1
}
}
Line {
SrcBlock "Transfer Fcn1"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "speed"
DstPort 1
}
Branch {
Points [0, 105]
DstBlock "Gain2"
DstPort 1
}
}
Line {
SrcBlock "Tl"
SrcPort 1
Points [5, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Va"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [-175, 0]
DstBlock "Sum"
DstPort 2
}
}
}
http://encon.fke.utm.my/courses/mep1422/dc_m2_large_torque.mdl (9 von 14) [17.05.2005 17:12:11]
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [0, 1]
Position [325, 162, 360, 198]
TreatAsAtomicUnit off
MaskPromptString "frekuensi|V peak"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "f=@1;v1=@2;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "33000|5"
System {
Name "Subsystem1"
Location [553, 276, 688, 358]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name "Repeating\nSequence"
Ports [0, 1]
Position [25, 25, 55, 55]
SourceBlock "simulink/Sources/Repeating\nSequence"
SourceType "Repeating table"
rep_seq_t "[0 1/(2*f) 1/f]"
rep_seq_y "[-v1 v1 -v1]"
}
Block {
BlockType Outport
Name "Out1"
Position [80, 33, 110, 47]
}
Line {
SrcBlock "Repeating\nSequence"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [100, 95, 120, 115]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
http://encon.fke.utm.my/courses/mep1422/dc_m2_large_torque.mdl (10 von 14) [17.05.2005 17:12:11]
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [290, 95, 310, 115]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [430, 95, 450, 115]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [470, 235, 490, 255]
ShowName off
IconShape "round"
Inputs "-+|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [560, 145, 580, 165]
ShowName off
IconShape "round"
Inputs "+|-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [910, 115, 970, 145]
VariableName "speed"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [800, 75, 860, 105]
VariableName "torque"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
http://encon.fke.utm.my/courses/mep1422/dc_m2_large_torque.mdl (11 von 14) [17.05.2005 17:12:11]
Name "To Workspace2"
Position [445, 25, 505, 55]
VariableName "vtri"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace3"
Position [485, 290, 545, 320]
VariableName "vc"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace4"
Position [495, 370, 555, 400]
VariableName "vc_m"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Line {
SrcBlock "PID Controller"
SrcPort 1
Points [10, 0]
Branch {
Points [20, 0]
Branch {
Points [-5, 0]
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "Sum2"
DstPort 1
}
}
Branch {
Points [0, 200]
DstBlock "To Workspace3"
DstPort 1
}
}
Line {
SrcBlock "Step1"
SrcPort 1
Points [50, 0]
DstBlock "Subsystem"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Relay"
DstPort 1
}
Line {
SrcBlock "Subsystem1"
SrcPort 1
Points [45, 0]
Branch {
http://encon.fke.utm.my/courses/mep1422/dc_m2_large_torque.mdl (12 von 14) [17.05.2005 17:12:11]
Points [30, 0]
Branch {
Points [40, 0]
DstBlock "Sum3"
DstPort 1
}
Branch {
DstBlock "Sum2"
DstPort 2
}
}
Branch {
Points [0, -140]
DstBlock "To Workspace2"
DstPort 1
}
}
Line {
SrcBlock "Signal\nGenerator"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "PID Controller1"
DstPort 1
}
Line {
SrcBlock "PID Controller1"
SrcPort 1
DstBlock "Saturation1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "PID Controller"
DstPort 1
}
Line {
SrcBlock "Saturation1"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [120, 0]
Branch {
Points [0, 295; -755, 0]
DstBlock "Sum"
DstPort 2
}
Branch {
DstBlock "To Workspace"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [5, 0]
http://encon.fke.utm.my/courses/mep1422/dc_m2_large_torque.mdl (13 von 14) [17.05.2005 17:12:11]
Branch {
DstBlock "Sum3"
DstPort 2
}
Branch {
Points [0, 140]
DstBlock "To Workspace4"
DstPort 1
}
}
Line {
SrcBlock "Relay"
SrcPort 1
Points [35, 0]
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Relay1"
SrcPort 1
Points [15, 0]
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "Sum4"
SrcPort 1
Points [50, 0; 0, -20]
DstBlock "Subsystem"
DstPort 1
}
Line {
SrcBlock "Subsystem"
SrcPort 2
Points [30, 0]
Branch {
Points [10, 0]
DstBlock "To Workspace1"
DstPort 1
}
Branch {
Points [0, 195; -475, 0]
DstBlock "Sum1"
DstPort 2
}
}
}
}
http://encon.fke.utm.my/courses/mep1422/dc_m2_large_torque.mdl (14 von 14) [17.05.2005 17:12:11]
1
PEMACU MOTOR ARUHAN

Mot or aruhan %LQDDQGDQSULQVLSRSHUDVLUHYLVLRQ
Mot or a r u h a n t er dir i da r i s t a t or da n r ot or
Pa da s t a t or t er da pa t belit a n 3 fa s a ya n g dis a mbu n g kepa da beka la n volt a n 3 fa s a (a , b, da n c)
Seca r a a m, t er da pa t du a jen is r ot or : s qu ir r el ca ge (s a n gka r t u pa i) da n wou n d (ber belit )
















Bila volt a n s in u s oida l t iga fa s a s eimba n g diken a ka n , a ka n t er ben t u k flu ks ma gn et pa da s ela
u da r a ya n g ber pu t a r den ga n kela ju a n :

f 2
p
2
s
r a d/ s (1)

s diken a li s eba ga i fr eku en s i s eger a k (s yn ch r on ou s fr equ en cy)
f ia la h fr eku en s i beka la n t iga fa s a pa da s t a t or
p ia la h bila n ga n ku t u b

Flu x s ela u da r a ber pu t a r in i a ka n men ga r u h ka n dge pa da pen ga lir r ot or . Ar u s a ka n t er h a s il
pa da pen ga lir r ot or da n a ka n ber in t er a ks i den ga n flu ks s ela u da r a ber pu t a r u n t u k
men gh a s ilka n da ya kila s ya n g a ka n memu t a r ka n r ot or . Oleh it u la ju r ot or s en t ia s a ku r a n g da r i
la ju s eger a k.

Per beza a n la ju in i diken a li s eba ga i la ju gelin cir a n (s lip s peed).

s l = s r (2)

Nis ba h la ju gelin cir a n kepa da la ju s eger a k ia la h gelin cir a n .

s
r s
s


(3)

Flu ks s ela u da r a ya n g ber pu t a r ju ga a ka n men ga r u h ka n dge pa da belit a n s t a t or ya n g diken a li
s eba ga i dge ba lika n (ba ck emf) a t a u volt a n s ela u da r a (a ir ga p volt a ge).

Volt a n s ela u da r a ya n g t er a r u h diber i oleh :

Eag = k f ag (4)

J ika Vs ia la h volt a n per -fa s a ya n g diken a ka n pa da belit a n s t a t or da n Is ia la h a r u s belit a n
s t a t or , per s a ma a n lit a r s t a t or ia la h :

a
b
b
c
c
x
x
x


2
Vs = Rs Is + j(2f)Lls + Eag (5)


d. g. e. ya n g t er a r u h pa da r ot or a da la h dis eba bka n oleh flu ks ma gn et ya n g s a ma t a pi pa da
fr eku en s i gelin cir a n da n ia boleh dit u lis s eba ga i:

Er = k s f ag = s Eag (6)

Oleh it u , per s a ma a n u n t u k lit a r r ot or ia la h :

Er = s Eag = Rr Ir + js (2f)Llr (7)

J ika kedu a -du a bela h per s a ma a n diba h a gi den ga n s ,

lr r
r
a g
L ) f 2 ( j I
s
R
E + (8)













Lit a r s et a r a per fa s a


Rs Rin t a n ga n belit a n s t a t or
Rr Rin t a n ga n pen ga lir r ot or
Lls Kea r u h a n bocor belit a n s t a t or
Llr Kea r u h a n bocor belit a n r ot or
Lm Kea r u h a n kema gn et a n
s gelin cir a n


Rot or t ida k mempu n ya i s u mber ku a s a , oleh it u ku a s a ya n g dipin da h ka n da r i lit a r s t a t or ke lit a r
r ot or diken a li s eba ga i ku a s a s ela u da r a (a ir -ga p power ) da n diber i oleh :










Ku a s a meka n ika l boleh dit u lis da la m s ebu t a n da ya kila s da n la ju r ot or s eba ga i:

Pm = Tem r

Ta pi s s = s - r r = (1-s )s
+

Vs


Rs
Lls
Llr
Rr
s
+

Eag


Is Ir
Im
Lm
Hila n g
pa da Rr Dit u ka r kepa da ku a s a meka n ika l
Pm = (1- s )Pag

[ ] s 1
s
R
I 3 R I 3
s
R
I 3 P
r 2
r r
2
r
r 2
r a g
+
3

Pag = Tem s


Oleh it u
s
r
2
r
s
a g
em
s
R I 3
P
T



J ika
( )
lr ls
r
s
s
r
X X j
s
R
R
V
I
+ + +
, da ya kila s boleh dit u lis s eba ga i:


( )
2
lr ls
2
r
s
2
s
s
r
em
X X
s
R
R
V
s
R 3
T
+ +
,
_





Ben t u k la zim cir i T- u n t u k mot or a r u h a n :
























Gelin cir a n s ema s a da ya kila s ma ks imu m diber i oleh :

( )
2
lr ls
2
s
r
m
X X R
R
s
+ +
t


Nila i da ya kila s ma ks ima (pu ll-ou t t or qu e):

( )
1
1
]
1

+ + t

2
lr ls
2
s s
2
s
s
ma x
X X R R
V
s
3
T
0 r at ed s
1 0
r
s
Tm,r at ed
Pu ll ou t
Tor qu e
Tem
4


Kawalan laju mot or aruhan

Ter da pa t beber a pa ka eda h ka wa la n la ju :

(i) Pole ch a n gin g ncnuIar IIIangan IuIuI
La ju s eger a k ber ga n t u n g kepa da bila n ga n ku t u b
Den ga n men u ka r s a mbu n ga n pa da belit a n , bila n ga n ku t u b boleh diu ba h .

(ii) Va r ia ble volt a ge, fixed fr equ en cy
Ma gn it u d volt a n dika wa l, fr eku en s i t et a p, e. g. men ggu n a ka n t r a n s for mer .
























(iii) Va r ia ble ma gn it u de va r ia ble fr equ en cy

Ma gn it u d volt a n beka la n dit u ka r ber ka da r a n den ga n fr eku en s i da n mer u pa ka n ka ea da h ya n g
pa lin g popu la r digu n a ka n da la m pema cu ka wa la n la ju mot or a r u h a n . Un t u k s ya n g kecil da n
ag ya n g t et a p, boleh dit u n ju kka n h u bu n ga n di a n t a r a da ya kila s da n la ju gelin cir a n (s lip s peed)
a da la h lin ea r

Un t u k men geka lka n flu ks s ela u da r a pa da n ila i ka da r a n , bila volt a n diu ba h , fr eku en s i ju ga
per lu diu ba h :

Eag = k f ag

Oleh u n t u k men gh a s ilka n ag ya n g ma la r pa da n ila i ka da r a n , n is ba h
f
E
a g
h a r u s la h ma la r . J ika
keja t u h a n volt a n pa da Rs da n Xls a da la h kecil diba n din gka n den ga n Vs ,

f
V
f
E
s
a g


Volt a n beka la n diu ba h s eca r a ber ka da r a n den ga n la ju a t a u fr equ en s i s eh in gga la ju ka da r a n .

TL
T
r
Lower s peed gives
h igh er s lip les s
efficien t
5
Un t u k > r at ed, ma gn it u d volt a n dit et a pka n t a pi fr eku en s i din a ikka n , oleh it u torque capability
men gu r a n g ker a n a flu ks mu la men gu r a n g



















Bila la ju kecil, keja t u h a n volt a n oleh Rs da n Xls a da la h bes a r jika diba n din gkn den ga n Vs . Oleh
it u kebia s a a n n ya Vs din a ikka n lebih bes a r s edikit (boos t ) s ema s a fr equ en s i r en da h

Cir i T- bila ma gn it u d Vs da n f diu ba h ber ka da r a n





























Ba ga ima n a ka h ma gn it u d da n fr eku en s i dika wa l s er en t a k ?
Men ggu n a ka n Pu ls e Widt h Modu la t ion (PWM) In ver t er


T
T,r at ed
TL
r
r ,r at ed
s ,r at ed
Vs
r
Vs
f
Vs , r at ed
fr at ed
6












Example 1
400 V, 50 Hz 4oIc 1370 r pm
Rs = 2 , Rr = 3 , Xls = Xlr = 3. 5

Mot or is con t r olled by a volt a ge s ou r ce in ver t er wit h con s t a n t V/ f.

Ca lcu la t e:
(a ) Speed for fr equ en cy of 30 Hz a n d 80% of fu ll loa d
(b) Fr equ en cy for a s peed of 1000 r pm a n d fu ll loa d t or qu e
(c) Tor qu e for a fr equ en cy of 40 Hz a n d s peed of 1100 r pm


(a )




















8 . 0 , s lip
r a t ed
r a t ed , s lip
r a t ed
N
T 8 . 0
N
T




Ns lip,r at ed = Ns Nr ,r at ed = 1500 1370 130 rn

r pm 104 ) 130 ( 8 . 0 N
T
T 8 . 0
N
r a t ed , s lip
r a t ed
r a t ed
8 . 0 , s lip



Pa da 30 Hz, la ju s eger a k ia la h 30 x 60 = 1800/ 2 = 900 r pm

Fixed AC.
Va r ia ble volt a ge
Va r ia ble fr eq.
IM
PWM in ver t er
ACDC
(r ect ifier )
Con t r ol
(f a n d V)
50 Hz 30 Hz
Tr at ed
0. 8 Tr at ed
1500
Ra t ed
s lip
s peed
Ns lip,0.8
7
Nr = Ns Ns lip = 900 104 = 796 r pm

(b)



















Ns = 130 + 1000 = 1130 r pm

f = 37. 67 Hz



(c)























Ns = 1200 r pm


Ns lip = 1200 1100 100 rn


50 Hz ? Hz
Tr at ed
1500
Ns lip,ra t ed
= 130
1000 Ns
Ns lip,ra t ed
= 130
r pm
1370
60 f
p
2
N
s

50 Hz 40 Hz
Tr at ed
T = ?
1500
Ns lip,ra t ed
= 130 r pm
1100
Ns
Ns lip
1370
60 f
p
2
N
s

8

T = 0. 769 Tr at ed Tr at ed = ?


Tr at ed diper oleh i da r i :




Tr at ed = 38. 06 Nm

Da ya kila s pa da 40 Hz, la ju 1100 r pm ia la h T = 0. 769 (38. 06) = 29. 267 Nm


Example 2

A 4pole, 3-phase, 50 Hz IM, 1460 rpm has a rated torque of 20 Nm. It is used
to drive a load with characteristic given by T
L
= K
2
, such that the speed
equals rated value at rated torque. If a constant V/Hz control method is used,
find the speed of motor at 0.5 rated torque.

If the starting torque of 1.1 times the rated is required, what should be the
starting frequency?
























slip,r
= 1500 1460 = 40 rpm or 4.19 rad/s

a) Load torque is given by:

T
L
= K
2


1460 rpm 152.9 rad/s
20 = K(152.9)
2




100
T
130
T
r a t ed

( )
2
lr ls
2
r
s
2
s
s
r
em
X X
s
R
R
V
s
R 3
T
+ +

,
_

TL = K
2
T
L
(Nm)
(rad/s)
T
rated
Z
slip,r
Z
syn,r
Z
r,r
50 Hz
0.5 T
rated
9
K = 20/(152.9)
2






at 0.5 rated torque, the speed is 108.11 rad/s



Motor T- is obtained as follows:









Therefore at 0.5 T
rated
and speed of 108.11 rad/s





syn
= 110.2 f

= 35 Hz
































At start-up,
2
2
L
9 . 152
20
T
r s yn
e
r , r r , s yn
r a t ed
s lip
r a t ed
T
77 . 4
T T


r syn e
77 . 4 77 . 4 T
) 11 . 108 ( 77 . 4 77 . 4 10
s yn

TL = K
2
T
L
(Nm)
(rad/s)
T
rated
Z
slip,r
Z
syn,r
Z
r,r
50 Hz
1.1(T
rated
)
Z
slip
= Z
syn
19 . 4
T T 1 . 1
r a t ed
s lip
r a t ed

61 . 4 ) 1 . 1 ( 19 . 4
syn syn slip

1 0
SCALAR CONTROL OF IM

We have seen that applying balanced, sinusoidal 3-phase supply to a 3-phase
sinusoidally distributed winding produces a rotating mmf wave and hence
rotating magnetic flux. The rotating magnetic flux will induce emf on the
rotor circuit, which is shorted for squirell cage rotor. Rotor current will
flow and interact with the rotating flux, producing torque.














Per-phase steady state equivalent circuit


To ensure maximum torque capability at all time it is therefore necessary to
maintain the magnetic flux at its rated value at any frequency. From the
steady state equivalent circuit, this is equivalent to maintaining the
magnetizing current at its rated value.

The flux can be maintained constant at its rated by maintaining the ratio E
g
/f
constant. At high speed, where the induced back emf is large, the drop across
the stator leakage and resistance is negligibly small.- therefore E
g
/f is
maintained constant by maintaining V/f constant. However at low speed, the
back emf is low and the drop is significant. Thus the flux is reduced below
rated torque capability is also reduced.


Simulation results with constant V/f



The performance can be improved by:

(i) Boosting the voltage at low frequency:

s
p
e
e
d
-

r
a
d
/
s

t
o
r
q
u
e

-

N
m

Im
Rs
Rr / s
Lr l
Ls l
Lm
+

V


+

Eg


1 1



To accurately boost the voltage, stator current needs to be measured. The
voltage drop drop is calculated and added to stator voltage on-line


ii) Control the stator current such that constant magnetising current is
maintained. This is achieved by using a current-controlled voltage source
inverter.

m
r
lr
r
m lr
1
1
r
m lr
r
lr
m
I
s
R
L j
s
R
) L L ( j
I
I
s
R
) L L ( j
s
R
L j
I
+
+ +

+ +
+



Introducing
r
= rotor leakage factor, which gives, L
lr
=
r
L
m
,

, I
1 T
1
j
1 T j
I
I
s
R
L
1
j
s
R
L j
I
m
r
r
r
s lip
r s lip
1
m
r
r
r
r
r
r
1
+

,
_

,
_



Where T
r
= L
r
/R
r
and
slip
= -
r
= s
The method depends on the rotor parameters, which vary with temperature.


Open-loop V/f control
1 2

For low cost, low performance drive, open-loop constant V/f control is
normally employed. With open-loop speed control, the rotor speed will be less
than the synchronous speed by slip speed. In other words, the desired speed,
*, will differ from the actual speed by slip speed. The slip speed on the
other hand, depends on load. To improve the performance or the speed
regulation, slip speed can be estimated and added to the reference speed
slip compensation technique. Typical arrangement is shown below:




































How is the slip speed estimated?

The slip frequency is proportional to the torque, hence it can estimated by
estimating the torque. The torque is estimated from,

T
e
= P
ag
/
syn
VSI
Rectifier
3-phase
supply
IM
Pulse
Width
Modulator
V
boost

Slip speed
calculator
*
+
+
+
+
V
V
dc
I
dc
Ramp
1 3

P
ag
is

estimated by subtracting the input DC power with the inverter and stator
copper losses.



Closed-loop speed control

Speed regulation can be improved by employing closed-loop speed control system
with tachometer feedback, as shown below.







The reference and actual speed are compared. The error is fed to the speed
controller which defines the inverter frequency. The current limit is
activated only when current exceeds the maximum allowable value. The signal
generated by the current limit block will reduce the rate by which the
inverter frequency is increased. This is to avoid the frequency from reaching
the breakdown frequency.


Further readings:
Power Electronic Control of AC Motors J.M.D. Murphy and F.G. Turnbull,
Pergamon Press



1
Modelling of 3-phase Induction Machine (IM)

The steady state model of IM, which is represented by a steady state per phase equivalent
circuit introduced in the undergraduate courses, describes the steady state behaviour of
the IM. It is used when steady state analysis, such as efficiency, losses, steady state
torque, current, fluxes need to be evaluated. The model assumes input to be a balanced, 3-
phase steady state sinusoidal voltage. If the IM is fed by power electronic converters,
the steady state analysis can be performed by representing the pulse-width modulated
waveform of the inverter using Fourier series. Steady state model of IM is also used to
derive the control signals used for scalar control drives. Since the model only valid in
steady state condition, such drive normally has a poor transient performance. Applications
not requiring good transient response such as fans, blowers or compressors, normally
employ such control technique. Dynamic model on the other hand, describes the transient as
well as the steady state behaviour of the IM. Using the dynamic model, the transients of
IM, which cannot be analysed using steady state equivalent model, can be predicted and
studied. The model can be used to simulate the IM drives and evaluate their transient
performances, including that of using the scalar control technique. Dynamic model is also
essential when developing high performance control techniques for IM drives, such as
vector control or direct torque control drives. A dynamic model of IM must contain effect
of the magnetic coupling between stator phase circuits and the rotor phase circuits, as
well as coupling between phases of each circuit. This will undoubtedly result in a huge
number and complex equations, which are difficult to manage. By using space vector
equations, however, these complex equations are simplified and reduced. We will now
develop a dynamic model of an IM using mathematical equations based on space vectors or
space phasors (these terms will be defined later on).



System equations

Figure 1 shows the conceptual representation of a 3-phase, 2 poles induction machine. The
magnetic axis of each winding is represented by an inductor symbol. As usual the angles
between windings of each phase are 120
o
. The angle between rotors phase a axis and
stators phase a axis is given by
r
. The equation describing the stator and rotor
circuits can be written as:

v
abcs
= R
s
i
abcs
+ d(
abcs
)/dt (1)

v
abcr
= R
r
i
abcr
+ d(
abr
)/dt (2)


where,
(
(
(

=
(
(
(

=
(
(
(

=
cs
bs
as
abcs
cs
bs
as
abcs
cs
bs
as
abcs
i
i
i
i
v
v
v
v and
(
(
(

=
(
(
(

=
(
(
(

=
cr
br
ar
abcs
cr
br
ar
abcr
cr
br
ar
abcr
i
i
i
i
v
v
v
v

It is clear that since the displacements between various windings of all the phases are
non-quadrature, there exists magnetic coupling between them. The stator and rotor flux
linkages (
abcs
and
abcs
)of equations (1) and (2) are contributed by the stator and rotor
currents. Thus:


r , abcs s , abcs abcs
+ = (3)
s , abcr r , abcr abcr
+ = (4)






2







































abcs,s
and
abcs,r
are the components of the stator flux linkage caused by stator and rotor
currents (phase a, b and c) respectively, and,
abcr,r
and
abcr,s
are the components of the
rotor flux linkage caused by rotor and stator currents (phase a, b and c) respectively
These flux linkages can be written in terms of the inductances and respective currents.


(
(
(

(
(
(

=
cs
bs
as
cs bcs acs
bcs bs abs
acs abs as
s , abcs
i
i
i
L L L
L L L
L L L
(5)

(
(
(

(
(
(

=
cr
br
ar
cr , cs br , cs ar , cs
cr , bs br , bs ar , bs
cr , as br , as ar , as
r , abcs
i
i
i
L L L
L L L
L L L
(6)


(
(
(

(
(
(

=
cr
br
ar
cr bcr acr
bcr br abr
acr abr ar
r , abcr
i
i
i
L L L
L L L
L L L
(7)


stator, b
rotor, b
rotor, a
stator, a
rotor, c
stator, c
= 0

r

Figure 1
3
(
(
(

(
(
(

=
cs
bs
as
cs , cr bs , cr as , cr
cs , br bs , br as , br
cs , ar bs , ar as , ar
s , abcr
i
i
i
L L L
L L L
L L L
(8)

In equation (5), L
as
, L
bs
and L
cs
are the self inductances of phases a, b and c
respectively. The self inductance consists of magnetising and leakage inductance.

L
as
= L
ms
+ L
ls
. L
bs
= L
ms
+ L
ls
. L
cs
= L
ms
+ L
ls
.

L
abs
, L
bcs
, L
acs
in equation (5), are the mutual inductances between stator phases.

For symmetrical winding, which is normally the case, magnetising and leakage as well as
mutual inductances for each phase are equal.

It can be shown that the magnetizing and the mutual inductances are given by:

|

\
|

|
|

\
|
=
4 g
rl
N L
2
s o ms

2
L
8 g
rl
N L L L
ms 2
s o acs bcs abs
=
|

\
|

|
|

\
|
= = = (9)


Thus equation (5) can be written as:


(
(
(

(
(
(
(
(
(

+
+
+
=
cs
bs
as
ls ms
ms ms
ms
ls ms
ms
ms ms
ls ms
s , abcs
i
i
i
L L
2
L
2
L
2
L
L L
2
L
2
L
2
L
L L
(10)


The mutual inductances between the stator and rotor windings in (6) and (8) depend on the
rotor position,
r
and it can be shown that they can be written as:


( ) ( )
( ) ( )
( ) ( )
(
(
(

(
(
(
(

+
=
cr
br
ar
r r r
r r r
r r r
ms
s
r
r , abcs
i
i
i
cos
3
2
cos
3
2
cos
3
2
cos cos
3
2
cos
3
2
cos
3
2
cos cos
L
N
N
(11)



( ) ( )
( ) ( )
( ) ( )
(
(
(

(
(
(
(


=
cs
bs
as
r r r
r r r
r r r
ms
s
r
s , abcr
i
i
i
cos
3
2
cos
3
2
cos
3
2
cos cos
3
2
cos
3
2
cos
3
2
cos cos
L
N
N
(12)



Space phasors representation of induction machine

Equations (1)-(8) give the complete description of the electrical characteristics of an
induction machine. There are six circuits that describe the 3-phase induction machine and
each of them coupled to one another. Although the determinations of the inductances are
quite straight forward, however, the number of equations involved is large. We will now
develop a model of the induction machine which is based on space phasors or space vectors
and valid under steady state and transient conditions. By doing so, the number of
equations is significantly reduced.
4
If the permeability of the core is assumed infintely large, all the mmf drops will appear
across the airgap. Therefore, the stator airgap MMF of a sinusoidally distributed winding
for phase a can be written as:
) cos( i
2
N
as
s
as
= (13)

is any angle where =0 coincide with the magnetic axis of stator winding phase a. is
the angle in which airgap mmf is maximum. i
as
is the stator phase a current. If = 0 then
equation (9) can be written as:

= cos i
2
N
as
s
as
(14)
Phases b and c are spatially separated from phase a by 120
o
. Thus airgap mmf of phase b
and c are given by:

)
3
2
cos( i
2
N
bs
s
bs

= (15)
)
3
2
cos( i
2
N
cs
s
cs

+ = (16)
The total airgap mmf
)
3
2
cos( i
2
N
)
3
2
cos( i
2
N
cos i
2
N
cs
s
bs
s
as
s
abcs

+ +

+ = (17)

Using Eulers identity and with some mathematical manupulation, it can be shown that:

( ) ( ) { }

+ + + + + =
j
cs
2
bs as
j
cs bs
2
as
s
abcs
e i a ai i e ai i a i
4
N
(18)

where a = e
j(2/3)

This can be further reduced or written as:

{ }

+ =
j *
s
j
s
s
abcs
e i e i
4
N
2
3
(19)

The term
s
i is defined as the space phasor or complex space vector of the stator current.
It is given by:

( )
cs
2
bs as s
i a ai i
3
2
i + + = (20)

The physical current can be obtained from the space phasor by separating the space phasor
into its real and imaginary part. In most cases we can assume that i
as
+ i
bs
+ i
cs
= 0.
( )
|
|

\
|
+ =
|
|

\
|
+ + =
+ + + + =
) i i (
3
1
j i
) i i (
2
3
j ) i i (
2
1
i
3
2
) 240 sin j 240 (cos i ) 120 sin j 120 (cos i i
3
2
i
cs bs as
cs bs cs bs as
cs bs as s



Thus
[ ]
s as
i Re i = (21)

Similarly it can be shown that

5
[ ]
s
2
ls
i a Fc i = and [ ]
s cs
i a Fc i = (22)


Similar definitions can be made to the stator voltage, rotor current, stator flux and
rotor flux. Equations (1) and (2) therefore can be written as:

di
d
i F v
s
s s s

+ = (23)
dt
d
i R v
r
r r r

+ = (24)

s
is composed of components caused by stator and rotor currents as given by (3). In
space phasors, (3) can be written as:

r , s s , s s
+ = (25)

s , s
is obtained by multiplying second and third rows of (5) with a and a
2
respectively.
Similarly,
r , s
can be obtained from (6). With some mathematical manipulations, it can be
shown that:

r
j '
r m s s s
e i L i L

+ = (26)

Where L
s
= L
ls
+ L
m
, L
m
= 3/2L
ms
and
r
s
r '
r
i
N
N
i =
Similarly, it can be shown that the rotor flux linkage can be written as:

r j
s m
'
r r
'
r
e i L i L

+ = (27)

Note that the rotor current in (26) (i.e.
'
r
i ) , is the space vector referred to the
rotating rotor reference frame. However, the d and q components of
r j '
r
e i

are expressed in
the stator stationary reference frame. This is illustrated in Figure 2. Therefore we can
define the rotor current referred to the stator stationary frame as

r
j '
r
s
r
e i i

= (28)

Equation (26) can be written in stationary stator reference frame as:

s
r m
s
s s
s
s
i L i L + = (29)

Where the superscript s referred to the stator reference frame.















r j '
r
'
r
e i i

=
) r r ( j '
r
s
r
e i i
+
=

r
d
r
q
r
q
s
d
s
i
s
dr
i
s
qr

r
'
r
i
Figure 2
6
Similarly the term
r j
s
e i

in (27) is the stator current referred to rotating rotor frame.
This is illustrated in Figure 3.















Re-writing equations (23),(24),(26) and (27), the space vector equations to describe the
squirrel cage IM written in stationary stator frame can be written as follows:


dt
d
i R v
s
s s
s s
s
s

+ = (30a)
s
r r
s
r s
r r
j
dt
d
i R 0

+ = (31a)
s
r m
s
s s
s
s
i L i L + = (32a)
s
s m
s
r r
s
r
i L i L + = (33a)


In a general reference frame rotating at angular speed of , these equations can be
written as:

g
s g
g
s g
s s
g
s
j
dt
d
i R v +

+ = (30b)
g
r r g
g
r g
r r
) ( j
dt
d
i R 0 +

+ = (31b)
g
r m
g
s s
g
s
i L i L + = (32b)
g
s m
g
r r
g
r
i L i L + = (33b)


Torque equation

The product of the stator voltage and conjugate stator current space vectors is given by:

( ) ( )
cs bs
2
as cs
2
bs as
*
s s
ai i a i
3
2
v a av v
3
2
i v + + + + = (34)

After some mathematical manipulations, with the three phase currents sum to zero, it can
be shown that:

[ ] ( )
cs cs bs bs as as
*
s s
i v i v i v
3
2
i v Re + + = (35)

r
d
r
q
r
q
s
d
s
i
r
ds
i
r
qs

s
s
i
s j
s s
e i i

=
) r s ( j
s
r
s
e i i

=
Figure 3
7
For a three phase induction machine without a neutral return, the power into the machine
can be written as:

[ ] ( ) [ ] ( )
*'
r
'
r
*
s s e
i v Re
2
3
i v Re
2
3
P + = (36)

Replacing the voltage vectors expressed in rotating general reference frame, it can be
shown that equation (36) can be expressed as:

[ ]
)
`

+
(

+ + + + +
(

+ + + + + =
'*
r s m
2
'
r m ls r
*
s r m
2
s m ls
2
'
r s m
2
'
r
'
lr
2
s
ls
2
'
r r
2
s s e
i i L i ) L L ( ) ( j i i L i ) L L ( j Re
2
3
i i L i
2
L
i
2
L
p
2
3
i r
2
3
i r
2
3
P
(37)

Equation (37) can be divided into three terms:

(i) Power dissipated in stator and rotor resistances
(ii) Time rate of change of stored energy
(iii) Power conversion from electrical to mechanical responsible for torque
production


[ ]
)
`

+ + + + + =
'*
r s m
2
'
r m ls r
*
s r m
2
s m ls mech
i i L i ) L L ( ) ( j i i L i ) L L ( j Re
2
3
P (38)

The first and third terms of (38) have only imaginary components. Thus,


[ ] { } [ ] { }
'*
r s m r
'*
r s m
*
s r m
'*
r s m r
*
s r m mech
i i L j i i L i i L ( j Re
2
3
i i L ) ( j i i L ( j Re
2
3
P + = + = (39)

Since the term
'*
r s m
*
s r m
i i L i i L + has no imaginary part, the mechanical power reduces to:


{ }
'*
r s m r mech
i i L j Re
2
3
P = (40)

Which can also be written as:

{ }
'*
r s m r mech
i i L Im
2
3
P = (41)

OR

[ ]
'
qr ds
'
dr qs m r mech
i i i i L
2
3
P = (42)


The mechanical power is the product of torque and speed, and the mechanical rotor speed is
related to the rotor speed as
r
= (p/2)
rm
, thus from (42)


[ ]
'
qr ds
'
dr qs m e
i i i i L
2
p
2
3
T = (43)





8
Simulation of induction machine (IM) with MATLAB/SIMULINK

For the purpose of simulation and microprocessor implementation, the space vectors
representation of the induction machine is converted to its equivalent d-q axis form.
Transforming equations (30)(33) to their equivalent d-q axis forms in stationary
reference frame (
g
= 0), and re-arranging them into matrix form, the following is
obtained:


(
(
(
(
(

(
(
(
(

+
+
+
+
=
(
(
(
(
(

rq
rd
sq
sd
r r r r m m r
r r r r m r m
m s s
m s s
rq
rd
sq
sd
i
i
i
i
sL R L sL L
L sL R L sL
sL 0 sL R 0
0 sL 0 sL R
v
v
v
v
(44)


sin (44) represents the derivative operator d/dt. The space vectors equations can also
be put into state space forms with the choice of flux linkages or currents as state
variables. If the stator and rotor currents are chosen as the state variables, re-
arranging (44) the IM equation can be written as:


(

(
(
(
(

+
(
(
(
(
(

(
(
(
(
(

=
(
(
(
(
(

sq
sd
m
m
r
r
s r
2
m
rq
rd
sq
sd
s r s r r m s s m r
s r r s r s m r m s
m r r m r r s
2
m r
r m r m r sq
2
m r r s
s r
2
m
rq
rd
sq
sd
v
v
L 0
0 L
L 0
0 L
L L L
1
i
i
i
i
L R L L L R L L
L L L R L L L R
L R L L L R L
L L L R i L L R
L L L
1
i
i
i
i

(45)


Equations (43),(45) along with the mechanical torque equation, can be used to simulate the
IM using SIMULINK. The SIMULINK blocks used to simulate the IM is shown in Figure 4.



q
8
Te
7
Vq
6
i rq
5
Vd
4
speed
3
i rd
2
i sq
1
i sd
Sum
Mux
Mux
1/s
Integrator
In1 Out1
IM1
-K-
Gai n2
-K-
Gai n1
Demux
Demux
Tl oad
Constant
3to2
-K-
1/J1
-K-
1/J
3
Vc
2
Vb
1
Va

Figure 4
Model {
Name "constant_vhz"
Version 5.0
SaveDefaultBlockParams on
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowLoopsOnError on
IgnoreBidirectionalLines off
ShowStorageClass off
ExecutionOrder off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
covSaveCumulativeToWorkspaceVar on
CovSaveSingleToWorkspaceVar on
CovCumulativeVarName "covCumulativeData"
CovCumulativeReport off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
MinMaxOverflowArchiveMode "Overwrite"
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Tue Oct 01 11:07:25 2002"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Mon Sep 13 15:37:48 2004"
ModelVersionFormat "1.%<AutoIncrement:14>"
ConfigurationManager "none"
SimParamPage "Solver"
LinearizationMsg "none"
Profile off
ParamWorkspaceSource "MATLABWorkspace"
AccelSystemTargetFile "accel.tlc"
AccelTemplateMakefile "accel_default_tmf"
AccelMakeCommand "make_rtw"
TryForcingSFcnDF off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "normal"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
ExtModeArmWhenConnect on
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (1 von 28) [17.05.2005 17:15:21]
ExtModeSkipDownloadWhenConnect off
ExtModeLogAll on
ExtModeAutoUpdateStatusClock on
BufferReuse on
RTWExpressionDepthLimit 5
SimulationMode "normal"
Solver "ode5"
SolverMode "Auto"
StartTime "0.0"
StopTime "1000"
MaxOrder 5
MaxStep "0.0001"
MinStep "0.00001"
MaxNumMinSteps "-1"
InitialStep "0.00001"
FixedStep "10e-6"
RelTol "1e-3"
AbsTol "auto"
OutputOption "RefineOutputTimes"
OutputTimes "[]"
Refine "1"
LoadExternalInput off
ExternalInput "[t, u]"
LoadInitialState off
InitialState "xInitial"
SaveTime off
TimeSaveName "t"
SaveState off
StateSaveName "xout"
SaveOutput off
OutputSaveName "yout"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Array"
Decimation "1"
LimitDataPoints off
MaxDataPoints "10000000"
SignalLoggingName "sigsOut"
ConsistencyChecking "none"
ArrayBoundsChecking "none"
AlgebraicLoopMsg "warning"
BlockPriorityViolationMsg "warning"
MinStepSizeMsg "warning"
InheritedTsInSrcMsg "warning"
DiscreteInheritContinuousMsg "warning"
MultiTaskRateTransMsg "error"
SingleTaskRateTransMsg "none"
CheckForMatrixSingularity "none"
IntegerOverflowMsg "warning"
Int32ToFloatConvMsg "warning"
ParameterDowncastMsg "error"
ParameterOverflowMsg "error"
ParameterPrecisionLossMsg "warning"
UnderSpecifiedDataTypeMsg "none"
UnnecessaryDatatypeConvMsg "none"
VectorMatrixConversionMsg "none"
InvalidFcnCallConnMsg "error"
SignalLabelMismatchMsg "none"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
SfunCompatibilityCheckMsg "none"
RTWInlineParameters off
BlockReductionOpt off
BooleanDataType off
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (2 von 28) [17.05.2005 17:15:21]
ConditionallyExecuteInputs on
ParameterPooling on
OptimizeBlockIOStorage on
ZeroCross on
AssertionControl "UseLocalSettings"
ProdHWDeviceType "Microprocessor"
ProdHWWordLengths "8,16,32,32"
RTWSystemTargetFile "grt.tlc"
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
RTWRetainRTWFile off
TLCProfiler off
TLCDebug off
TLCCoverage off
TLCAssertion off
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType Constant
Value "1"
VectorParams1D on
ShowAdditionalParam off
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
}
Block {
BlockType Demux
Outputs "4"
DisplayOption "none"
BusSelectionMode off
}
Block {
BlockType ElementaryMath
Operator "sin"
}
Block {
BlockType Gain
Gain "1"
Multiplication "Element-wise(K.*u)"
ShowAdditionalParam off
ParameterDataTypeMode "Same as input"
ParameterDataType "sfix(16)"
ParameterScalingMode "Best Precision: Matrix-wise"
ParameterScaling "2^0"
OutDataTypeMode "Same as input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (3 von 28) [17.05.2005 17:15:21]
Block {
BlockType Inport
Port "1"
PortDimensions "-1"
SampleTime "-1"
ShowAdditionalParam off
LatchInput off
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
Interpolate on
}
Block {
BlockType Integrator
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
ZeroCross on
}
Block {
BlockType Mux
Inputs "4"
DisplayOption "none"
}
Block {
BlockType Outport
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Product
Inputs "2"
Multiplication "Element-wise(.*)"
ShowAdditionalParam off
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType RateLimiter
RisingSlewLimit "1"
FallingSlewLimit "-1"
LinearizeAsGain on
}
Block {
BlockType Scope
Floating off
ModelBased off
TickLabels "OneTimeTick"
ZoomMode "on"
Grid "on"
TimeRange "auto"
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (4 von 28) [17.05.2005 17:15:21]
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType "S-Function"
FunctionName "system"
PortCounts "[]"
SFunctionModules "''"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
ShowAdditionalParam off
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType Switch
Criteria "u2 >= Threshold"
Threshold "0"
ShowAdditionalParam off
InputSameDT on
OutDataTypeMode "Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow on
ZeroCross on
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (5 von 28) [17.05.2005 17:15:21]
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "constant_vhz"
Location [2, 82, 790, 584]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Constant
Name "Constant"
Position [35, 121, 75, 139]
Value "50"
}
Block {
BlockType SubSystem
Name "Constant V/Hz"
Ports [2, 3]
Position [270, 88, 335, 172]
TreatAsAtomicUnit off
MaskPromptString "Vm at rated frequency"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "Vm=@1;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "240"
System {
Name "Constant V/Hz"
Location [2, 70, 798, 552]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "88"
Block {
BlockType Inport
Name "In1"
Position [30, 93, 60, 107]
}
Block {
BlockType Inport
Name "boost"
Position [20, 403, 50, 417]
Port "2"
}
Block {
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (6 von 28) [17.05.2005 17:15:21]
BlockType Constant
Name "Constant1"
Position [195, 371, 235, 389]
Value "(2*pi)/3"
}
Block {
BlockType SubSystem
Name "Dot Product1"
Ports [2, 1]
Position [400, 307, 430, 343]
TreatAsAtomicUnit off
MaskType "Dot Product"
MaskDescription "Inner (dot) product.\ny=sum(u1.*u2) "
MaskHelp "Computes the inner (dot) product of the inp"
"uts: sum(u1.*u2). The inputs are vectors of the same length. Output is a sca"
"lar."
MaskInitialization "t=(0:.1:2*pi)';\nx=cos(t);\ny=sin(t);"
MaskDisplay "plot(0,0,1,1,x*[0.025 0.07]+0.5,y*[0.025 0."
"07]+0.5)"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "normalized"
System {
Name "Dot Product1"
Location [33, 479, 253, 634]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [15, 25, 35, 45]
}
Block {
BlockType Inport
Name "in_2"
Position [15, 90, 35, 110]
Port "2"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [65, 55, 90, 75]
}
Block {
BlockType Sum
Name "Sum"
Ports [1, 1]
Position [125, 55, 145, 75]
Inputs "+"
}
Block {
BlockType Outport
Name "out_1"
Position [185, 55, 205, 75]
InitialOutput "0"
}
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (7 von 28) [17.05.2005 17:15:21]
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "in_2"
SrcPort 1
DstBlock "Product"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "Dot Product2"
Ports [2, 1]
Position [340, 72, 370, 108]
TreatAsAtomicUnit off
MaskType "Dot Product"
MaskDescription "Inner (dot) product.\ny=sum(u1.*u2) "
MaskHelp "Computes the inner (dot) product of the inp"
"uts: sum(u1.*u2). The inputs are vectors of the same length. Output is a sca"
"lar."
MaskInitialization "t=(0:.1:2*pi)';\nx=cos(t);\ny=sin(t);"
MaskDisplay "plot(0,0,1,1,x*[0.025 0.07]+0.5,y*[0.025 0."
"07]+0.5)"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "normalized"
System {
Name "Dot Product2"
Location [33, 479, 253, 634]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [15, 25, 35, 45]
}
Block {
BlockType Inport
Name "in_2"
Position [15, 90, 35, 110]
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (8 von 28) [17.05.2005 17:15:21]
Port "2"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [65, 55, 90, 75]
}
Block {
BlockType Sum
Name "Sum"
Ports [1, 1]
Position [125, 55, 145, 75]
Inputs "+"
}
Block {
BlockType Outport
Name "out_1"
Position [185, 55, 205, 75]
InitialOutput "0"
}
Line {
SrcBlock "in_2"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Dot Product3"
Ports [2, 1]
Position [385, 467, 415, 503]
TreatAsAtomicUnit off
MaskType "Dot Product"
MaskDescription "Inner (dot) product.\ny=sum(u1.*u2) "
MaskHelp "Computes the inner (dot) product of the inp"
"uts: sum(u1.*u2). The inputs are vectors of the same length. Output is a sca"
"lar."
MaskInitialization "t=(0:.1:2*pi)';\nx=cos(t);\ny=sin(t);"
MaskDisplay "plot(0,0,1,1,x*[0.025 0.07]+0.5,y*[0.025 0."
"07]+0.5)"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "normalized"
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (9 von 28) [17.05.2005 17:15:21]
System {
Name "Dot Product3"
Location [33, 479, 253, 634]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [15, 25, 35, 45]
}
Block {
BlockType Inport
Name "in_2"
Position [15, 90, 35, 110]
Port "2"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [65, 55, 90, 75]
}
Block {
BlockType Sum
Name "Sum"
Ports [1, 1]
Position [125, 55, 145, 75]
Inputs "+"
}
Block {
BlockType Outport
Name "out_1"
Position [185, 55, 205, 75]
InitialOutput "0"
}
Line {
SrcBlock "in_2"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "out_1"
DstPort 1
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (10 von 28) [17.05.2005 17:15:21]
}
}
}
Block {
BlockType ElementaryMath
Name "Elementary\nMath"
Ports [1, 1]
Position [275, 85, 305, 115]
}
Block {
BlockType ElementaryMath
Name "Elementary\nMath1"
Ports [1, 1]
Position [335, 320, 365, 350]
}
Block {
BlockType ElementaryMath
Name "Elementary\nMath2"
Ports [1, 1]
Position [320, 480, 350, 510]
}
Block {
BlockType Gain
Name "Gain"
Position [150, 85, 180, 115]
Gain "2*pi"
}
Block {
BlockType Gain
Name "Gain1"
Position [150, 25, 180, 55]
Gain "Vm/50"
}
Block {
BlockType Gain
Name "Gain2"
Position [170, 320, 200, 350]
Gain "2*pi"
}
Block {
BlockType Gain
Name "Gain3"
Position [170, 235, 200, 265]
Gain "Vm/50"
}
Block {
BlockType Gain
Name "Gain4"
Position [160, 480, 190, 510]
Gain "2*pi"
}
Block {
BlockType Gain
Name "Gain5"
Position [160, 420, 190, 450]
Gain "Vm/50"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [210, 85, 240, 115]
}
Block {
BlockType Integrator
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (11 von 28) [17.05.2005 17:15:21]
Name "Integrator1"
Ports [1, 1]
Position [230, 320, 260, 350]
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [220, 480, 250, 510]
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [285, 325, 305, 345]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [285, 485, 305, 505]
ShowName off
IconShape "round"
Inputs "++|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [275, 240, 295, 260]
ShowName off
IconShape "round"
Inputs "++|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [245, 30, 265, 50]
ShowName off
IconShape "round"
Inputs "++|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [325, 425, 345, 445]
ShowName off
IconShape "round"
Inputs "++|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (12 von 28) [17.05.2005 17:15:21]
Block {
BlockType Outport
Name "Out1"
Position [395, 83, 425, 97]
}
Block {
BlockType Outport
Name "Out2"
Position [455, 318, 485, 332]
Port "2"
}
Block {
BlockType Outport
Name "Out3"
Position [440, 478, 470, 492]
Port "3"
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "Elementary\nMath"
DstPort 1
}
Line {
SrcBlock "Elementary\nMath"
SrcPort 1
DstBlock "Dot Product2"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Elementary\nMath1"
SrcPort 1
DstBlock "Dot Product1"
DstPort 2
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Elementary\nMath2"
SrcPort 1
DstBlock "Dot Product3"
DstPort 2
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Elementary\nMath1"
DstPort 1
}
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (13 von 28) [17.05.2005 17:15:21]
Line {
SrcBlock "Integrator1"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [0, 0; 55, 0]
Branch {
Points [0, -20]
DstBlock "Sum"
DstPort 2
}
Branch {
Points [5, 0; 0, 90]
DstBlock "Sum1"
DstPort 1
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Elementary\nMath2"
DstPort 1
}
Line {
SrcBlock "Integrator2"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [15, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "Gain1"
DstPort 1
}
}
Branch {
Points [0, 235]
Branch {
Points [35, 0]
Branch {
Points [0, -85]
DstBlock "Gain3"
DstPort 1
}
Branch {
DstBlock "Gain2"
DstPort 1
}
}
Branch {
Points [0, 160; 25, 0]
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (14 von 28) [17.05.2005 17:15:21]
Branch {
DstBlock "Gain4"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "Gain5"
DstPort 1
}
}
}
}
Line {
SrcBlock "Dot Product2"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Dot Product1"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "Dot Product3"
SrcPort 1
DstBlock "Out3"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [40, 0; 0, 65]
DstBlock "Dot Product1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [25, 0; 0, 40]
DstBlock "Dot Product2"
DstPort 1
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "Sum4"
SrcPort 1
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (15 von 28) [17.05.2005 17:15:21]
Points [10, 0; 0, 40]
DstBlock "Dot Product3"
DstPort 1
}
Line {
SrcBlock "boost"
SrcPort 1
Points [70, 0]
Branch {
DstBlock "Sum4"
DstPort 1
}
Branch {
Points [0, -220]
Branch {
Points [0, -175]
DstBlock "Sum3"
DstPort 1
}
Branch {
Points [160, 0]
DstBlock "Sum2"
DstPort 1
}
}
}
}
}
Block {
BlockType Constant
Name "Constant1"
Position [60, 280, 90, 300]
Value "50"
}
Block {
BlockType Constant
Name "Constant2"
Position [60, 230, 90, 250]
Value "0"
}
Block {
BlockType Gain
Name "Gain"
Position [335, 35, 365, 65]
Gain "(2*pi)/2"
}
Block {
BlockType SubSystem
Name "Induction Machine"
Ports [3, 8]
Position [470, 63, 525, 192]
TreatAsAtomicUnit off
MaskPromptString "Stator resistance (ohm)|Rotor resistance (ohm)|"
"Stator self inductance (H)|Rotor self inductance (H)|Mutual Inductance (H)|No"
" of poles|Moment of inertia (kg.m^2)|Load torque (Nm)|Load constant"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on,on,on"
MaskCallbackString "||||||||"
MaskEnableString "on,on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,,"
MaskVariables "Rs=@1;Rr=@2;Ls=@3;Lr=@4;Lm=@5;pole=@6;J=@7;Tloa"
"d=@8;load_C=@9;"
MaskIconFrame on
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (16 von 28) [17.05.2005 17:15:21]
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "5.5|4.51|306.5e-3|306.5e-3|291.9e-3|4|0.02|0.01"
"|0.1"
System {
Name "Induction Machine"
Location [2, 70, 798, 552]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Va"
Position [25, 40, 45, 60]
}
Block {
BlockType Inport
Name "Vb"
Position [25, 120, 45, 140]
Port "2"
}
Block {
BlockType Inport
Name "Vc"
Position [25, 240, 45, 260]
Port "3"
}
Block {
BlockType Gain
Name "1/J"
Position [260, 292, 285, 318]
Orientation "left"
Gain "pole/(2*J)"
SaturateOnIntegerOverflow off
}
Block {
BlockType SubSystem
Name "3to2"
Ports [3, 2]
Position [105, 81, 135, 139]
ShowPortLabels off
TreatAsAtomicUnit off
System {
Name "3to2"
Location [4, 74, 628, 500]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [15, 50, 35, 70]
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (17 von 28) [17.05.2005 17:15:21]
}
Block {
BlockType Inport
Name "in_2"
Position [15, 115, 35, 135]
Port "2"
}
Block {
BlockType Inport
Name "in_3"
Position [15, 180, 35, 200]
Port "3"
}
Block {
BlockType Gain
Name "Gain3"
Position [120, 248, 160, 272]
Gain "0.577"
}
Block {
BlockType Gain
Name "Gain4"
Position [120, 298, 160, 322]
Gain "-0.577"
}
Block {
BlockType Gain
Name "Gain5"
Position [145, 143, 185, 167]
Gain "-0.33333"
}
Block {
BlockType Gain
Name "Gain6"
Position [140, 183, 180, 207]
Gain "-0.33333"
}
Block {
BlockType Gain
Name "Gain7"
Position [135, 63, 175, 87]
Gain "0.66666"
}
Block {
BlockType Sum
Name "Ib"
Ports [2, 1]
Position [240, 255, 260, 275]
}
Block {
BlockType Sum
Name "Ib1"
Ports [3, 1]
Position [260, 87, 280, 123]
Inputs "+++"
}
Block {
BlockType Outport
Name "d"
Position [330, 60, 350, 80]
InitialOutput "0"
}
Block {
BlockType Outport
Name "q"
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (18 von 28) [17.05.2005 17:15:21]
Position [310, 250, 330, 270]
Port "2"
InitialOutput "0"
}
Line {
SrcBlock "Ib1"
SrcPort 1
Points [15, 0; 0, -35]
DstBlock "d"
DstPort 1
}
Line {
SrcBlock "Gain7"
SrcPort 1
Points [30, 0; 0, 20]
DstBlock "Ib1"
DstPort 1
}
Line {
SrcBlock "in_1"
SrcPort 1
Points [40, 0; 0, 15]
DstBlock "Gain7"
DstPort 1
}
Line {
SrcBlock "Gain6"
SrcPort 1
Points [30, 0; 0, -90]
DstBlock "Ib1"
DstPort 2
}
Line {
SrcBlock "Gain5"
SrcPort 1
Points [25, 0; 0, -40]
DstBlock "Ib1"
DstPort 3
}
Line {
SrcBlock "in_3"
SrcPort 1
Points [40, 0; 0, 5]
Branch {
DstBlock "Gain6"
DstPort 1
}
Branch {
Points [0, 115]
DstBlock "Gain4"
DstPort 1
}
}
Line {
SrcBlock "in_2"
SrcPort 1
Points [20, 0; 0, 30]
Branch {
DstBlock "Gain5"
DstPort 1
}
Branch {
Points [0, 105]
DstBlock "Gain3"
DstPort 1
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (19 von 28) [17.05.2005 17:15:21]
}
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Ib"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [30, 0; 0, -40]
DstBlock "Ib"
DstPort 2
}
Line {
SrcBlock "Ib"
SrcPort 1
DstBlock "q"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "Constant"
Position [630, 306, 670, 324]
Orientation "left"
Value "Tload"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 5]
Position [420, 91, 460, 149]
Outputs "5"
}
Block {
BlockType Gain
Name "Gain1"
Position [150, 407, 175, 433]
Orientation "left"
Gain "2/pole"
}
Block {
BlockType SubSystem
Name "IM1"
Ports [1, 1]
Position [320, 106, 380, 134]
TreatAsAtomicUnit off
System {
Name "IM1"
Location [248, 340, 468, 422]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (20 von 28) [17.05.2005 17:15:21]
Position [25, 33, 55, 47]
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [1, 1]
Position [80, 25, 140, 55]
FunctionName "imch"
Parameters "Rs, Rr, Ls,Lr,Lm,pole"
}
Block {
BlockType Outport
Name "Out1"
Position [165, 33, 195, 47]
InitialOutput "0"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
Line {
SrcBlock "S-Function"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [360, 295, 380, 315]
Orientation "left"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [260, 104, 290, 136]
Inputs "3"
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [440, 287, 460, 323]
Orientation "left"
Inputs "+--"
}
Block {
BlockType Gain
Name "load_C"
Position [375, 367, 400, 393]
Gain "load_C"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "isd"
Position [630, 25, 650, 45]
InitialOutput "0"
}
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (21 von 28) [17.05.2005 17:15:21]
Block {
BlockType Outport
Name "isq"
Position [625, 70, 645, 90]
Port "2"
InitialOutput "0"
}
Block {
BlockType Outport
Name "ird"
Position [600, 140, 620, 160]
Port "3"
InitialOutput "0"
}
Block {
BlockType Outport
Name "speed"
Position [90, 410, 110, 430]
Orientation "left"
Port "4"
InitialOutput "0"
}
Block {
BlockType Outport
Name "Vd"
Position [265, 50, 285, 70]
Port "5"
InitialOutput "0"
}
Block {
BlockType Outport
Name "irq"
Position [595, 185, 615, 205]
Port "6"
InitialOutput "0"
}
Block {
BlockType Outport
Name "Vq"
Position [90, 285, 110, 305]
Orientation "left"
Port "7"
InitialOutput "0"
}
Block {
BlockType Outport
Name "Te"
Position [715, 230, 735, 250]
Port "8"
InitialOutput "0"
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [60, 0; 0, -20]
DstBlock "isq"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [65, 0; 0, -75]
DstBlock "isd"
DstPort 1
}
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (22 von 28) [17.05.2005 17:15:21]
Line {
SrcBlock "3to2"
SrcPort 2
Points [0, 0]
Branch {
Points [0, 170]
DstBlock "Vq"
DstPort 1
}
Branch {
Points [55, 0; 0, -15]
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "3to2"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [0, -35]
DstBlock "Vd"
DstPort 1
}
Branch {
Points [30, 0; 0, 25]
DstBlock "Mux"
DstPort 2
}
}
Line {
SrcBlock "Demux"
SrcPort 5
Points [45, 0; 0, 145]
Branch {
Points [0, 15; -35, 0]
DstBlock "Sum"
DstPort 1
}
Branch {
Points [70, 0; 0, -45]
DstBlock "Te"
DstPort 1
}
}
Line {
SrcBlock "Vc"
SrcPort 1
Points [20, 0; 0, -120]
DstBlock "3to2"
DstPort 3
}
Line {
SrcBlock "Vb"
SrcPort 1
Points [20, 0; 0, -20]
DstBlock "3to2"
DstPort 2
}
Line {
SrcBlock "Va"
SrcPort 1
Points [20, 0; 0, 40]
DstBlock "3to2"
DstPort 1
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (23 von 28) [17.05.2005 17:15:21]
}
Line {
SrcBlock "1/J"
SrcPort 1
Points [0, 0; -25, 0]
Branch {
Points [0, -175]
DstBlock "Mux"
DstPort 3
}
Branch {
Points [-15, 0; 0, 75]
Branch {
Points [0, 40]
DstBlock "Gain1"
DstPort 1
}
Branch {
DstBlock "load_C"
DstPort 1
}
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "IM1"
DstPort 1
}
Line {
SrcBlock "IM1"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "1/J"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [30, 0; 0, 75]
DstBlock "irq"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
Points [25, 0; 0, 20]
DstBlock "ird"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [0, 0]
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (24 von 28) [17.05.2005 17:15:21]
DstBlock "speed"
DstPort 1
}
Line {
SrcBlock "load_C"
SrcPort 1
Points [145, 0; 0, -75]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Sum"
DstPort 3
}
Annotation {
Name "q"
Position [482, 87]
VerticalAlignment "top"
}
}
}
Block {
BlockType Reference
Name "Manual Switch"
Ports [2, 1]
Position [150, 232, 180, 268]
SourceBlock "simulink/Signal\nRouting/Manual Switch"
SourceType "Manual Switch"
sw "0"
action "0"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [660, 41, 665, 79]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType RateLimiter
Name "Rate Limiter"
Position [170, 115, 200, 145]
RisingSlewLimit "50"
FallingSlewLimit "-50"
}
Block {
BlockType Scope
Name "Scope"
Ports [3]
Position [735, 104, 765, 136]
Location [357, 69, 795, 439]
Open on
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
List {
ListType SelectedSignals
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (25 von 28) [17.05.2005 17:15:21]
axes1 ""
axes2 ""
axes3 ""
}
TimeRange "1.5"
YMin "-10~-20~-50"
YMax "80~20~50"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [4]
Position [455, 271, 490, 364]
Location [6, 204, 444, 564]
Open on
NumInputPorts "4"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
TimeRange "1.5"
YMin "-400~-400~-400~-5"
YMax "400~400~400~60"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Reference
Name "Slider\nGain1"
Ports [1, 1]
Position [100, 115, 130, 145]
SourceBlock "simulink/Math\nOperations/Slider\nGain"
SourceType "Slider Gain"
low "0"
gain "0.07"
high "1"
}
Line {
SrcBlock "Induction Machine"
SrcPort 8
Points [55, 0; 0, -60]
DstBlock "Scope"
DstPort 2
}
Line {
SrcBlock "Induction Machine"
SrcPort 2
Points [190, 0]
DstBlock "Scope"
DstPort 3
}
Line {
SrcBlock "Slider\nGain1"
SrcPort 1
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (26 von 28) [17.05.2005 17:15:21]
DstBlock "Rate Limiter"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Slider\nGain1"
DstPort 1
}
Line {
SrcBlock "Constant V/Hz"
SrcPort 2
Points [0, 0; 70, 0]
Branch {
DstBlock "Induction Machine"
DstPort 2
}
Branch {
Points [0, 175]
DstBlock "Scope1"
DstPort 2
}
}
Line {
SrcBlock "Constant V/Hz"
SrcPort 1
Points [55, 0; 0, -20; 35, 0]
Branch {
DstBlock "Induction Machine"
DstPort 1
}
Branch {
Points [0, 195]
DstBlock "Scope1"
DstPort 1
}
}
Line {
SrcBlock "Constant V/Hz"
SrcPort 3
Points [0, 0; 40, 0]
Branch {
Points [15, 0; 0, 20]
DstBlock "Induction Machine"
DstPort 3
}
Branch {
Points [0, 175]
DstBlock "Scope1"
DstPort 3
}
}
Line {
SrcBlock "Rate Limiter"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, 225]
DstBlock "Scope1"
DstPort 4
}
Branch {
Points [25, 0]
Branch {
Points [15, 0]
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (27 von 28) [17.05.2005 17:15:21]
DstBlock "Constant V/Hz"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "Gain"
DstPort 1
}
}
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [0, -30]
DstBlock "Manual Switch"
DstPort 2
}
Line {
SrcBlock "Constant2"
SrcPort 1
DstBlock "Manual Switch"
DstPort 1
}
Line {
SrcBlock "Manual Switch"
SrcPort 1
Points [70, 0]
DstBlock "Constant V/Hz"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [50, 0]
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Induction Machine"
SrcPort 4
Points [115, 0]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
}
}
http://encon.fke.utm.my/courses/mep1422/constant_vhz.mdl (28 von 28) [17.05.2005 17:15:21]
/*
* sfuntmpl.c: Template C S-function source file.
*
* -------------------------------------------------------------------------
* | See matlabroot/simulink/src/sfuntmpl.doc for a more detailed template |
* -------------------------------------------------------------------------
*
* Copyright (c) 1990-97, by The MathWorks, Inc.
* All Rights Reserved
* $Revision 1.1 $
*/
/*
* You must specify the S_FUNCTION_NAME as the name of your S-function.
*/
#define S_FUNCTION_NAME imch
/* Input Arguments */
/*
* Need to include simstruc.h for the definition of the SimStruct and
* its associated macro definitions.
*/
/* #include "tmwtypes.h" */
#include "tmwtypes.h"
#include "simstruc.h"
#define Rs ssGetArg(S,0)
#define Rr ssGetArg(S,1)
#define Ls ssGetArg(S,2)
#define Lr ssGetArg(S,3)
#define Lm ssGetArg(S,4)
#define pole ssGetArg(S,5)
/*====================*
* S-function methods *
*====================*/
/* Function: mdlInitializeSizes ===============================================
* Abstract:
*
* The sizes information is used by SIMULINK to determine the S-function
* block's characteristics (number of inputs, outputs, states, etc.).
*
*/
static void mdlInitializeSizes(SimStruct *S)
{
ssSetNumContStates( S, 4); /* number of continuous states */
ssSetNumDiscStates( S, 0); /* number of discrete states */
ssSetNumInputs( S, 3); /* number of inputs */
ssSetNumOutputs( S, 5); /* number of outputs */
ssSetDirectFeedThrough(S, 0); /* direct feedthrough flag */
ssSetNumSampleTimes( S, 1); /* number of sample times */
ssSetNumInputArgs( S, 6);
ssSetNumRWork( S, 0); /* number of real work vector elements */
ssSetNumIWork( S, 0); /* number of integer work vector elements*/
ssSetNumPWork( S, 0); /* number of pointer work vector elements*/
ssSetNumModes( S, 0); /* number of mode work vector elements */
ssSetNumNonsampledZCs( S, 0); /* number of nonsampled zero crossings */
ssSetOptions( S, 0); /* general options (SS_OPTION_xx) */
}
http://encon.fke.utm.my/courses/mep1422/imch.c (1 von 3) [17.05.2005 17:15:22]
/* Function: mdlInitializeSampleTimes =========================================
*/
static void mdlInitializeSampleTimes(SimStruct *S)
{
ssSetSampleTime(S, 0, CONTINUOUS_SAMPLE_TIME);
ssSetOffsetTime(S, 0, 0.0);
}
/* Function: mdlInitializeConditions ==========================================
* Abstract:
*
* In this function, you should initialize the continuous and discrete
* states for your S-function block. The initial states are placed
* in the x0 variable. You can also perform any other initialization
* activities that your S-function may require.
*/
static void mdlInitializeConditions(real_T *x0, SimStruct *S)
{
int i;
for (i=0; i<4; i++){
*x0++ = 0.0;
}
}
/* Function: mdlOutputs =======================================================
* Abstract:
*
* In this function, you compute the outputs of your S-function
* block. The outputs are placed in the y variable.
*/
static void mdlOutputs(real_T *y, const real_T *x, const real_T *u,
SimStruct *S, int_T tid)
{
double lm;
double pl;
lm = mxGetPr(Lm)[0];
pl = mxGetPr(pole)[0];
y[0]=x[0];
y[1]=x[1];
y[2]=x[2];
y[3]=x[3];
y[4]=1.5*(pl/2)*lm*((x[0]*x[3])-(x[1]*x[2]));
}
static void mdlUpdate(real_T *x, const real_T *u, SimStruct *S, int_T tid)
{
}
/* Function: mdlDerivatives ===================================================
* Abstract:
*
* In this function, you compute the S-function block's derivatives.
* The derivatives are placed in the dx variable.
*/
static void mdlDerivatives(real_T *dx, const real_T *x, const real_T *u,
http://encon.fke.utm.my/courses/mep1422/imch.c (2 von 3) [17.05.2005 17:15:22]
SimStruct *S, int_T
tid)
/* x0=iq x1=id x2= iqr x3= idr u0=vq u1=vd u2=w */
{
double lr,ls,rr,rs,lm,a;
lm = mxGetPr(Lm)[0];
lr = mxGetPr(Lr)[0];
ls = mxGetPr(Ls)[0];
rr = mxGetPr(Rr)[0];
rs = mxGetPr(Rs)[0];
a=1/(lm*lm-lr*ls);
dx[0]=(u[2]*lm*lm*x[1]+rs*lr*x[0]+u[2]*lr*lm*x[3]-rr*lm*x[2]-lr*u[0])*a;
dx[1]=(rs*lr*x[1]-u[2]*lm*lm*x[0]-rr*lm*x[3]-u[2]*lr*lm*x[2]-lr*u[1])*a;
dx[2]=-(u[2]*lm*ls*x[1]+rs*lm*x[0]+u[2]*lr*ls*x[3]-rr*ls*x[2]-lm*u[0])*a;
dx[3]=-(rs*lm*x[1]-u[2]*lm*ls*x[0]-rr*ls*x[3]-u[2]*lr*ls*x[2]-lm*u[1])*a;
}
/* Function: mdlTerminate =====================================================
* Abstract:
*
* In this function, you should perform any actions that are necessary
* at the termination of a simulation. For example, if memory was allocated
* in mdlInitializeConditions, this is the place to free it.
*/
static void mdlTerminate(SimStruct *S)
{
/*
* YOUR CODE GOES HERE
*/
}
/*======================================================*
* See sfuntmpl.doc for the optional S-function methods *
*======================================================*/
/*=============================*
* Required S-function trailer *
*=============================*/
#ifdef MATLAB_MEX_FILE /* Is this file being compiled as a MEX-file? */
#include "simulink.c" /* MEX-file interface mechanism */
#else
#include "cg_sfun.h" /* Code generation registration function */
#endif
http://encon.fke.utm.my/courses/mep1422/imch.c (3 von 3) [17.05.2005 17:15:22]
FIELD-ORIENTED CONTROL OF INDUCTION MACHINE

TIc sicady siaic nodcl of induciion nacIinc (cr Iasc cquivalcni circuii} dcscrilcs iIc sicady
siaic lcIavior of iIc nacIinc. TIis nodcl cannoi lc uscd io nodcl iIc iransicni siaic of iIc
nacIinc. TIc nodcl, wIicI can lc uscd io dcscrilc iIc dynanic or iransicni lcIavior of an IM, is
ncccssary if wc arc io dcvclo conirol siraicgics for IigI crfornancc drivc sysicn, sucI as
ficldoricnicd conirol or dircci iorquc conirol. TIc dynanic nodcl of iIc IM will lc lascd on
conlc sacc vccior or sacc Iasor cquaiions.


Space Pbasor EquatIons

TIc analysis of iIc 3Iasc synncirical induciion nacIinc is norc convcnicnily carricd oui in
icrns of conlc sacc vcciors, or sacc Iasor quaniiiics. TIc sacc Iasor is a ncans of
rcrcscniing any of iIc iIrcc Iasc variallcs (currcnis, voliagcs, nnf or flucs} ly a singlc vccior
wIicI roiaics in sacc and is valid for loiI sicady siaic and iransicni ocraiions. Oncc in sacc
Iasor forns, iIc quaniiiics can lc casily crcsscd in iIcir iwo-ais forns (d-q acs}.

In gcncral if xa, xl, and xc arc iIc iIrcc Iasc quaniiiics, iIc sacc Iasor iIc 3 Iasc sysicns is
dcfincd as.

( )
c
2
l a
a a
3
2
+ + = , wIcrc u c
2

/J
(1}

TIc cocfficicni 2/3 in (2.1} corrcsonds io iIc non-ouc nuuunt or untudc nuuunt
dcfiniiion of iIc sacc Iasor. In icrns of iis d and q acs, iIc sacc Iasor can lc convcnicnily
crcsscd as follows.

q d
j + = (2}

TIc d and q ais cononcnis arc rclaicd io iIc iIrcc Iasc quaniiiics ly scaraiing iIc
inaginary and rcal icrns of (2.1}, i.c.,

[ ] ( ) |

\
|
=
(

+ + = =
c l a c
2
l a d

2
1

2
1

3
2
a a
3
2
Fc Fc (3}

[ ] ( ) ( )
c l c
2
l a q

3
1
a a
3
2
In In =
(

+ + = = (4}




Vector rotatIon

TIc siaior currcni sacc Iasor, crcsscd in siaiionary rcfcrcncc franc is givcn ly.

( )
sc
2
sl sa s
i a ai i
3
2
i + + = (5}

TIis cquaiion can lc wriiicn in a olar forn as follows.

s
j
s s
c i i

= (6}

Sinilarly, roior currcni crcsscd in roior rcfcrcncc franc (wIicI is roiaiing ai r} can lc wriiicn
as.
( )
rc
2
rl ra r
i a ai i
3
2
i + + = (7}

And iis corrcsonding olar forn as.

r
j
r r
c i i

= (8}

TIc siaior and roior currcnis arc graIically sIown in Figurc 1. ds-qs and dr-qr arc iIc d and q
acs of iIc siaiionary siaior rcfcrcncc franc and iIc roiaiing roior rcfcrcncc franc, rcscciivcly.
















Figurc 1

Ii can sccn fron iIc figurc iIai iIc roior currcni can lc crcsscd in siaior siaiionary franc ly
sinly rcsolving ii io iIc d and q acs of iIc siaiionary franc, iIus

( ) ( ) + + + =
r r r r
s
r
sin ji cos i i

=
j j
r
s
r
e e i i
r

=
j
r
s
r
c i i (9}


Lilcwisc, iIc siaior currcni can lc crcsscd in iIc roiaiing roior franc.

( ) ( ) + =
r s r s
r
s
sin ji cos i i

=
j
s
j
s
r
s
c c i i (10}


=
j
s
r
s
c i i (11}

j
c and
j
c arc lnown as iIc uccto otutos


InductIon MacbIne EquatIons In Space Pbasor

TIc IM can lc crcsscd using sacc Iasors ly iIc following cquaiions.

g
s g
g
s g
s s
g
s
j
di
d
i F v +

+ = (12}
s
r
r
dr
qr
qs
ds
ir
is

g
r r g
g
r g
r r
} ( j
di
d
i F 0 +

+ = (13}
g
r n
g
s s
g
s
i L i L + = (14}
g
s n
g
r r
g
r
i L i L + = (15}

wIcrc ( )
sc
2
sl sa
g
s
v a v v
3
2
v + + = is iIc siaior voliagc sacc Iasor crcsscd in gcncral rcfcrcncc.
Sinilar dcfinaiions Iold for
g
r
g
r
, i and
g
s
. TIc sucrscrii 'g' siands for gcncral rcfcrcncc franc.
If iIc cquaiions arc crcsscd in iIc siaiionary siaior rcfcrcncc franc, iIcn g 0 and can lc
wriiicn as.

di
d
i F v
s
s s
s s
s
s

+ = (16}
s
r r
s
r s
r r
j
di
d
i F 0

+ = (17}
s
r n
s
s s
s
s
i L i L + = (18}
s
s n
s
r r
s
r
i L i L + = (19}

In cquaiions (16}(19}, all quaniiiics arc wriiicn in iIc siaiionary siaior rcfcrcncc franc.


FIeId OrIented ControI oI IM

TIc clccironagnciic iorquc can lc crcsscd in scvcral forns. Ii can lc sIown iIai iIai iorquc
can lc crcsscd as.

s s c
i
2

2
3
T = (20}

Dy sulsiiiuiing iIc siaior flu linlagc crcsscd in siaior and roior currcnis, iIc iorquc can lc
wriiicn as.

( )
s r n s s s s c
i i L i L
2

2
3
i
2

2
3
T + = = (21}

WIicI sinlifics io.

} i i i i ( L
2

2
3
T
sd rq sq rd n c
= (22}

TIc iorquc cquaiion can also lc wriiicn in icrns of roior flu and siaior currcnis.

s r
r
n
c
i
L
L
2

2
3
T = (23}

In d-q ais, (23} is givcn ly (24},

} i i (
L
L
2

2
3
T
sd rq sq rd
r
n
c
= (24}

Equaiion (24} rcrcscnis iorquc cquaiion crcsscd in a gcncral rcfcrcncc franc. TIis ncans iIai
iIc d-q ais of iIc roior flu and siaior currcni can lc roiaiing, ai any sccd.

In FOC wiiI roior flu oricniaiion, iIc iorquc crcssion of cquaiion (24} is uscd and iIc cIoscn
rcfcrcncc franc is sucI iIai iIc d-ais coincidcs wiiI iIc roior flu nodulus wIicI roiaics ai
syncIronous sccd (Figurc 2}. TIis ncans iIai iIc q cononcni of iIc roior flu is zcro, i.c.

r
rd r

=

0
r
rq
=



TIcrcforc (24} can lc wriiicn as.

r
sq r
r
n
c
i
L
L
2

2
3
T

= (25}














Figurc 2

TIc valucs of iIc d and q cononcnis of iIc roior flu and siaior currcnis arc consianis in iIis
roiaiing rcfcrcncc franc. TIus iIc iorquc crcssion in (25}, as sccn in iIis rcfcrcncc franc, is
sinilar io iIc iorquc cquaiion of a scaraicly cciicd DC noior (cquaiion (25(l}},

Tc,dc lifia( (25l}

In DC noior, iIc ficld is ficd and iIc iorquc is conirollcd ly conirolling iIc arnaiurc currcni in
ordcr io oliain a fasi iorquc rcsonsc. Sinilarly, in FOC, iIc flu is ficd and a fasi iorquc
rcsonsc is oliaincd ly conirolling iIc q cononcni of iIc siaior currcni.
r
sq
i

.
TIc iorquc in (25}, is crcsscd in iIc syncIronous rcfcrcncc franc. For inlcncniaiion, iIc
rcfcrcncc valucs in iIis roiaiing franc nccd io lc crcsscd in iIc siaiionary rcfcrcncc franc. To
do iIc iransfornaiion, wc nccd io lnow iIc caci osiiion of iIc roior flu. TIcrc arc iwo
iccIniqucs wIicI can lc uscd io oliain iIc roior flu osiiion, wIicI sulscqucnily classifics iIc
FOC inio iwo iycs.

(i} Indircci FOC

Fron (13},
g
r r g
g
r g
r r
} ( j
di
d
i F 0 +

+ =

Sulsiiiuiing iIc roior currcni in (15}, wc Iavc,

r

r
d

r
q

s
i
r
sd
i

r
sq
i

s
sd
i
s
sq
i
s
d
s
q
g
r r g
g
r g
s
r
r n g
r
r
r
} ( j
di
d
i
L
F L
L
F
0 +

+ = (26}

In roior flu rcfcrcncc franc (
r
rd r

= dan 0
r
rq
=

}, cquaiion (26} can lc wriiicn as.



( )
r sli
r r
sq
r
sd
r
r n
r
r
r
} ( j
di
d
ji i
L
F L
L
F
0 +

+ + =

(27}

Scaraiing iIc rcal and inaginary aris.

di
d
i
L
F L
L
F
0
r r
sd
r
r n
r
r
r

+ =

(28}

r sli
r
sq
r
r n
} ( i
L
F L
0 + =

(29}


For indircci FOC, iIc syncIronous sccd is oliaincd ly adding iIc sli sccd (oliain fron iIc
rcfcrcnccs} io iIc ncasurcd roior osiiion (ii sIould lc noicd iIai iIc roior osiiion can also lc
csiinaicd fron iIc icrninal variallcs or oiIcrwisc}. Any diffcrcnccs lciwccn iIc csiinaicd and
aciual valucs will dcgradc iIc drivc crfornanccs.

(ii} Dircci FOC

In dircci FOC drivc, iIc roior flu osiiion is oliaincd ciiIcr ly ncasurcncni or csiinaiion using
nacIinc cquaiions, lascd on iIc icrninal variallcs (i.c. currcnis and voliagcs}. TIc forncr is also
lnown as iIc flu nodcl or olscrvcr. Nowadays, Iowcvcr, wiiI iIc availaliliiy of fasi
nicroroccssors, iIc flu is nornally csiinaicd in rcal iinc using fasi digiial signal roccssors.
TIc flu can lc csiinaicd fron (26} iIis ncans iIai iIc nodcl rcquircs roior sccd and siaior
currcni as iIc inuis.

Figurc 3
Indircci FOC



Figurc 4

ReIerences

Novoiny, D.W, and Lio, T.A. (1998}. Vccior conirol and dynanics of AC drivcs" Oford Univcrsiiy
Prcss, Ncw Yorl.

Vas, P. (1990}. Vccior Conirol of AC MacIincs", Oford Univcrsiiy Prcss, Ncw Yorl.

MurIy, J. M. D. and Turnlull, F. C.(1987}. Powcr Elccironic Conirol of AC Moiors", Pcrganon
Prcss, Oford.








1
STATOR FLUX FOC

In stator flux FOC, the frame chosen is aligned to the synchronously rotating frame
such that the daxis coincide with stator flux space phasor.














Figure 1


The torque equation in general reference frame is given by:

(1)



(2)


In the chosen reference frame,
sd s
= and 0
sq
= , hence (2) reduces to:


(3)


To implement the stator flux FOC using currentcontrolled VSI, we need to

i) derive the d and q components of the stator current reference values,
ii) obtain the stator flux position in order to transform the rotating frame
to stationary frame..

From (3), given T
e
*
and
s
*
,the q component of the stator current in this reference
frame can be easily obtained. To look at the relation between i
sd
and
s
we need to
examine the IM equations.

The induction machine in general reference frame is given by equations (4)(7):

g
s g
g
s g
s s
g
s
j
di
d
i F v +

+ = (4}
g
r r g
g
r g
r r
} ( j
di
d
i F 0 +

+ = (5}
g
r n
g
s s
g
s
i L i L + = (6}
g
s n
g
r r
g
r
i L i L + = (7)

s
is
s
sd
i

s
sq
i

s
d

s
q

s
d
s
q
s s c
i
2

2
3
T =
( )
sd sq sq sd c
i i
2

2
3
T =
( )
sq s c
i
2

2
3
T =
2
Substitute (7) into (5)



(8)


The stator flux is obtained by substituting the rotor current (which in practice,
normally unavailable) from (6), into (8)

With mathematical manipulations and recognizing that in the reference frame where
only the d axis component of the stator flux exists, it can be shown that by
separating the real and imaginary terms and after substituting rotor current,
equation (8) is given by:

(9)



(10)


From (10), it can be seen that
s
is proportional to i
sd
and i
sq
. There exists a
coupling between
s
and i
sq
. Varying i
sq
to control the torque will result in
s
to
vary too hence the torque will not react immediately to i
sq
.





















Figure 2

To overcome this problem, a decoupler to compensate the effect of the i
sq

component from the output of the PI controller is can be designed [1].

[1] X. Xu, R. K. Doncker, D.W. Novotny, A stator flux oriented Induction machine
drive, IEEE-PESC, 1988.


( )
g
s n
g
r r r g
g
s n
g
r r g
r r
i L i L } ( j
di
i L i dL
i F 0 + +
+
+ =
( ) ( ) 0 i L i L 1
s s
sd s s r sli sq s r
= +

( ) ( ) 0 i L i L 1 1
s s
sq s r sli sd s r s r
= + = +

2 3


c
j

s
Trcf
rcf
flu
rcgulaior
dc-coulcr
+
+
+

is
vs
isd
s
s
|s|
siaior
flu
csiinaior
cqu (3}
isqd
isq
currcni
conirollcd
VSI
IM

Model {
Name "foc"
Version 5.0
SaveDefaultBlockParams on
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowLoopsOnError on
IgnoreBidirectionalLines off
ShowStorageClass off
ExecutionOrder off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
covSaveCumulativeToWorkspaceVar on
CovSaveSingleToWorkspaceVar on
CovCumulativeVarName "covCumulativeData"
CovCumulativeReport off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
MinMaxOverflowArchiveMode "Overwrite"
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Tue Oct 01 11:07:25 2002"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "Administrator"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Sun Sep 12 00:33:10 2004"
ModelVersionFormat "1.%<AutoIncrement:22>"
ConfigurationManager "none"
SimParamPage "WorkspaceI/O"
LinearizationMsg "none"
Profile off
ParamWorkspaceSource "MATLABWorkspace"
AccelSystemTargetFile "accel.tlc"
AccelTemplateMakefile "accel_default_tmf"
AccelMakeCommand "make_rtw"
TryForcingSFcnDF off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "normal"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
http://encon.fke.utm.my/courses/mep1422/foc.mdl (1 von 36) [17.05.2005 17:15:41]
ExtModeArmWhenConnect on
ExtModeSkipDownloadWhenConnect off
ExtModeLogAll on
ExtModeAutoUpdateStatusClock on
BufferReuse on
RTWExpressionDepthLimit 5
SimulationMode "normal"
Solver "ode5"
SolverMode "Auto"
StartTime "0.0"
StopTime "1000"
MaxOrder 5
MaxStep "0.0001"
MinStep "0.00001"
MaxNumMinSteps "-1"
InitialStep "0.00001"
FixedStep "5e-6"
RelTol "1e-3"
AbsTol "auto"
OutputOption "RefineOutputTimes"
OutputTimes "[]"
Refine "1"
LoadExternalInput off
ExternalInput "[t, u]"
LoadInitialState off
InitialState "xInitial"
SaveTime off
TimeSaveName "t"
SaveState off
StateSaveName "xout"
SaveOutput off
OutputSaveName "yout"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Array"
Decimation "1"
LimitDataPoints off
MaxDataPoints "10000000"
SignalLoggingName "sigsOut"
ConsistencyChecking "none"
ArrayBoundsChecking "none"
AlgebraicLoopMsg "warning"
BlockPriorityViolationMsg "warning"
MinStepSizeMsg "warning"
InheritedTsInSrcMsg "warning"
DiscreteInheritContinuousMsg "warning"
MultiTaskRateTransMsg "error"
SingleTaskRateTransMsg "none"
CheckForMatrixSingularity "none"
IntegerOverflowMsg "warning"
Int32ToFloatConvMsg "warning"
ParameterDowncastMsg "error"
ParameterOverflowMsg "error"
ParameterPrecisionLossMsg "warning"
UnderSpecifiedDataTypeMsg "none"
UnnecessaryDatatypeConvMsg "none"
VectorMatrixConversionMsg "none"
InvalidFcnCallConnMsg "error"
SignalLabelMismatchMsg "none"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
SfunCompatibilityCheckMsg "none"
RTWInlineParameters off
BlockReductionOpt off
http://encon.fke.utm.my/courses/mep1422/foc.mdl (2 von 36) [17.05.2005 17:15:41]
BooleanDataType off
ConditionallyExecuteInputs on
ParameterPooling on
OptimizeBlockIOStorage on
ZeroCross on
AssertionControl "UseLocalSettings"
ProdHWDeviceType "Microprocessor"
ProdHWWordLengths "8,16,32,32"
RTWSystemTargetFile "grt.tlc"
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
RTWRetainRTWFile off
TLCProfiler off
TLCDebug off
TLCCoverage off
TLCAssertion off
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType Constant
Value "1"
VectorParams1D on
ShowAdditionalParam off
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
}
Block {
BlockType Demux
Outputs "4"
DisplayOption "none"
BusSelectionMode off
}
Block {
BlockType Derivative
}
Block {
BlockType Fcn
Expr "sin(u[1])"
}
Block {
BlockType Gain
Gain "1"
Multiplication "Element-wise(K.*u)"
ShowAdditionalParam off
ParameterDataTypeMode "Same as input"
ParameterDataType "sfix(16)"
ParameterScalingMode "Best Precision: Matrix-wise"
ParameterScaling "2^0"
OutDataTypeMode "Same as input"
OutDataType "sfix(16)"
OutScaling "2^0"
http://encon.fke.utm.my/courses/mep1422/foc.mdl (3 von 36) [17.05.2005 17:15:41]
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType Inport
Port "1"
PortDimensions "-1"
SampleTime "-1"
ShowAdditionalParam off
LatchInput off
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
Interpolate on
}
Block {
BlockType Integrator
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
ZeroCross on
}
Block {
BlockType Math
Operator "exp"
OutputSignalType "auto"
}
Block {
BlockType Mux
Inputs "4"
DisplayOption "none"
}
Block {
BlockType Outport
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Relay
OnSwitchValue "eps"
OffSwitchValue "eps"
OnOutputValue "1"
OffOutputValue "0"
ShowAdditionalParam off
OutputDataTypeScalingMode "All ports same datatype"
OutDataType "sfix(16)"
OutScaling "2^0"
ConRadixGroup "Use specified scaling"
ZeroCross on
}
Block {
BlockType Scope
Floating off
ModelBased off
TickLabels "OneTimeTick"
http://encon.fke.utm.my/courses/mep1422/foc.mdl (4 von 36) [17.05.2005 17:15:41]
ZoomMode "on"
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType "S-Function"
FunctionName "system"
PortCounts "[]"
SFunctionModules "''"
}
Block {
BlockType SignalGenerator
WaveForm "sine"
Amplitude "1"
Frequency "1"
Units "Hertz"
VectorParams1D on
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
ShowAdditionalParam off
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType Trigonometry
Operator "sin"
OutputSignalType "auto"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
http://encon.fke.utm.my/courses/mep1422/foc.mdl (5 von 36) [17.05.2005 17:15:41]
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "foc"
Location [26, 100, 942, 425]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "91"
ReportName "simulink-default.rpt"
Block {
BlockType Gain
Name "Gain3"
Position [580, 305, 610, 335]
Orientation "left"
}
Block {
BlockType SubSystem
Name "Induction Machine"
Ports [3, 8]
Position [645, 13, 700, 142]
TreatAsAtomicUnit off
MaskPromptString "Stator resistance (ohm)|Rotor resistance (ohm)|"
"Stator self inductance (H)|Rotor self inductance (H)|Mutual Inductance (H)|No"
" of poles|Moment of inertia (kg.m^2)|Load torque (Nm)"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on,on"
MaskCallbackString "|||||||"
MaskEnableString "on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,"
MaskVariables "Rs=@1;Rr=@2;Ls=@3;Lr=@4;Lm=@5;pole=@6;J=@7;Tloa"
"d=@8;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "5.5|4.51|306.5e-3|306.5e-3|291.9e-3|4|0.02|0"
System {
Name "Induction Machine"
Location [4, 74, 764, 534]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
http://encon.fke.utm.my/courses/mep1422/foc.mdl (6 von 36) [17.05.2005 17:15:41]
Name "Va"
Position [25, 40, 45, 60]
}
Block {
BlockType Inport
Name "Vb"
Position [25, 120, 45, 140]
Port "2"
}
Block {
BlockType Inport
Name "Vc"
Position [25, 240, 45, 260]
Port "3"
}
Block {
BlockType Gain
Name "1/J"
Position [260, 292, 285, 318]
Orientation "left"
Gain "1/J"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "1/J1"
Position [375, 367, 400, 393]
Gain "0.01"
SaturateOnIntegerOverflow off
}
Block {
BlockType SubSystem
Name "3to2"
Ports [3, 2]
Position [105, 81, 135, 139]
ShowPortLabels off
TreatAsAtomicUnit off
System {
Name "3to2"
Location [323, 87, 947, 513]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [15, 50, 35, 70]
}
Block {
BlockType Inport
Name "b"
Position [15, 115, 35, 135]
Port "2"
}
Block {
BlockType Inport
Name "c"
Position [15, 180, 35, 200]
Port "3"
http://encon.fke.utm.my/courses/mep1422/foc.mdl (7 von 36) [17.05.2005 17:15:41]
}
Block {
BlockType Gain
Name "Gain3"
Position [120, 248, 160, 272]
Gain "0.577"
}
Block {
BlockType Gain
Name "Gain4"
Position [120, 298, 160, 322]
Gain "-0.577"
}
Block {
BlockType Gain
Name "Gain5"
Position [145, 143, 185, 167]
Gain "-0.33333"
}
Block {
BlockType Gain
Name "Gain6"
Position [140, 183, 180, 207]
Gain "-0.33333"
}
Block {
BlockType Gain
Name "Gain7"
Position [135, 63, 175, 87]
Gain "0.66666"
}
Block {
BlockType Sum
Name "Ib"
Ports [2, 1]
Position [240, 255, 260, 275]
}
Block {
BlockType Sum
Name "Ib1"
Ports [3, 1]
Position [385, 52, 405, 88]
Inputs "+++"
}
Block {
BlockType Outport
Name "d"
Position [535, 60, 555, 80]
InitialOutput "0"
}
Block {
BlockType Outport
Name "q"
Position [310, 250, 330, 270]
Port "2"
InitialOutput "0"
}
Line {
SrcBlock "Ib1"
SrcPort 1
DstBlock "d"
DstPort 1
}
Line {
SrcBlock "Gain7"
http://encon.fke.utm.my/courses/mep1422/foc.mdl (8 von 36) [17.05.2005 17:15:41]
SrcPort 1
Points [30, 0; 0, -15]
DstBlock "Ib1"
DstPort 1
}
Line {
SrcBlock "in_1"
SrcPort 1
Points [40, 0; 0, 15]
DstBlock "Gain7"
DstPort 1
}
Line {
SrcBlock "Gain6"
SrcPort 1
Points [30, 0; 0, -125]
DstBlock "Ib1"
DstPort 2
}
Line {
SrcBlock "Gain5"
SrcPort 1
Points [60, 0; 0, -75]
DstBlock "Ib1"
DstPort 3
}
Line {
SrcBlock "c"
SrcPort 1
Points [40, 0; 0, 5]
Branch {
DstBlock "Gain6"
DstPort 1
}
Branch {
Points [0, 115]
DstBlock "Gain4"
DstPort 1
}
}
Line {
SrcBlock "b"
SrcPort 1
Points [20, 0; 0, 30]
Branch {
DstBlock "Gain5"
DstPort 1
}
Branch {
Points [0, 105]
DstBlock "Gain3"
DstPort 1
}
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Ib"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [30, 0; 0, -40]
DstBlock "Ib"
http://encon.fke.utm.my/courses/mep1422/foc.mdl (9 von 36) [17.05.2005 17:15:41]
DstPort 2
}
Line {
SrcBlock "Ib"
SrcPort 1
DstBlock "q"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "Constant"
Position [630, 306, 670, 324]
Orientation "left"
Value "Tload"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 5]
Position [420, 91, 460, 149]
Outputs "5"
}
Block {
BlockType Gain
Name "Gain1"
Position [150, 407, 175, 433]
Orientation "left"
Gain "2/pole"
}
Block {
BlockType SubSystem
Name "IM1"
Ports [1, 1]
Position [320, 106, 380, 134]
TreatAsAtomicUnit off
System {
Name "IM1"
Location [248, 340, 468, 422]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 33, 55, 47]
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [1, 1]
Position [80, 25, 140, 55]
FunctionName "imch"
Parameters "Rs, Rr, Ls,Lr,Lm,pole"
}
Block {
BlockType Outport
Name "Out1"
http://encon.fke.utm.my/courses/mep1422/foc.mdl (10 von 36) [17.05.2005 17:15:41]
Position [165, 33, 195, 47]
InitialOutput "0"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
Line {
SrcBlock "S-Function"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [360, 295, 380, 315]
Orientation "left"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [260, 104, 290, 136]
Inputs "3"
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [440, 287, 460, 323]
Orientation "left"
Inputs "+--"
}
Block {
BlockType Outport
Name "isd"
Position [630, 25, 650, 45]
InitialOutput "0"
}
Block {
BlockType Outport
Name "isq"
Position [625, 70, 645, 90]
Port "2"
InitialOutput "0"
}
Block {
BlockType Outport
Name "ird"
Position [600, 140, 620, 160]
Port "3"
InitialOutput "0"
}
Block {
BlockType Outport
Name "speed"
Position [90, 410, 110, 430]
Orientation "left"
Port "4"
http://encon.fke.utm.my/courses/mep1422/foc.mdl (11 von 36) [17.05.2005 17:15:41]
InitialOutput "0"
}
Block {
BlockType Outport
Name "Vd"
Position [265, 50, 285, 70]
Port "5"
InitialOutput "0"
}
Block {
BlockType Outport
Name "irq"
Position [595, 185, 615, 205]
Port "6"
InitialOutput "0"
}
Block {
BlockType Outport
Name "Vq"
Position [90, 285, 110, 305]
Orientation "left"
Port "7"
InitialOutput "0"
}
Block {
BlockType Outport
Name "Te"
Position [715, 230, 735, 250]
Port "8"
InitialOutput "0"
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [60, 0; 0, -20]
DstBlock "isq"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [65, 0; 0, -75]
DstBlock "isd"
DstPort 1
}
Line {
SrcBlock "3to2"
SrcPort 2
Points [0, 0]
Branch {
Points [0, 170]
DstBlock "Vq"
DstPort 1
}
Branch {
Points [55, 0; 0, -15]
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "3to2"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
http://encon.fke.utm.my/courses/mep1422/foc.mdl (12 von 36) [17.05.2005 17:15:41]
Points [0, -35]
DstBlock "Vd"
DstPort 1
}
Branch {
Points [30, 0; 0, 25]
DstBlock "Mux"
DstPort 2
}
}
Line {
SrcBlock "Demux"
SrcPort 5
Points [45, 0; 0, 145]
Branch {
Points [0, 15; -35, 0]
DstBlock "Sum"
DstPort 1
}
Branch {
Points [70, 0; 0, -45]
DstBlock "Te"
DstPort 1
}
}
Line {
SrcBlock "Vc"
SrcPort 1
Points [20, 0; 0, -120]
DstBlock "3to2"
DstPort 3
}
Line {
SrcBlock "Vb"
SrcPort 1
Points [20, 0; 0, -20]
DstBlock "3to2"
DstPort 2
}
Line {
SrcBlock "Va"
SrcPort 1
Points [20, 0; 0, 40]
DstBlock "3to2"
DstPort 1
}
Line {
SrcBlock "1/J"
SrcPort 1
Points [0, 0; -25, 0]
Branch {
Points [0, -175]
DstBlock "Mux"
DstPort 3
}
Branch {
Points [-15, 0; 0, 75]
Branch {
Points [0, 40]
DstBlock "Gain1"
DstPort 1
}
Branch {
DstBlock "1/J1"
DstPort 1
http://encon.fke.utm.my/courses/mep1422/foc.mdl (13 von 36) [17.05.2005 17:15:41]
}
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "IM1"
DstPort 1
}
Line {
SrcBlock "IM1"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "1/J"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [30, 0; 0, 75]
DstBlock "irq"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
Points [25, 0; 0, 20]
DstBlock "ird"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [0, 0]
DstBlock "speed"
DstPort 1
}
Line {
SrcBlock "1/J1"
SrcPort 1
Points [145, 0; 0, -75]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Sum"
DstPort 3
}
Annotation {
Name "q"
Position [482, 87]
VerticalAlignment "top"
http://encon.fke.utm.my/courses/mep1422/foc.mdl (14 von 36) [17.05.2005 17:15:41]
}
}
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [180, 305, 210, 335]
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [390, 305, 420, 335]
Orientation "left"
}
Block {
BlockType Relay
Name "Relay"
Position [540, 30, 570, 60]
OnSwitchValue "0.2"
OffSwitchValue "-0.2"
OnOutputValue "300"
OffOutputValue "-300"
}
Block {
BlockType Relay
Name "Relay1"
Position [545, 65, 575, 95]
OnSwitchValue "0.2"
OffSwitchValue "-0.2"
OnOutputValue "300"
OffOutputValue "-300"
}
Block {
BlockType Relay
Name "Relay2"
Position [545, 115, 575, 145]
OnSwitchValue "0.2"
OffSwitchValue "-0.2"
OnOutputValue "300"
OffOutputValue "-300"
}
Block {
BlockType Constant
Name "Rotor Flux"
Position [20, 134, 40, 156]
Value "1.2*(291.9e-3/306.5e-3)"
}
Block {
BlockType Scope
Name "Scope"
Ports [2]
Position [835, 205, 865, 240]
Location [581, 461, 905, 736]
Open on
NumInputPorts "2"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
List {
ListType SelectedSignals
http://encon.fke.utm.my/courses/mep1422/foc.mdl (15 von 36) [17.05.2005 17:15:41]
axes1 ""
axes2 ""
}
TimeRange "0.1"
YMin "-25~-30"
YMax "25~30"
DataFormat "StructureWithTime"
}
Block {
BlockType SignalGenerator
Name "Signal\nGenerator"
Position [25, 50, 55, 80]
WaveForm "square"
Amplitude "-20"
Frequency "20"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [4, 4]
Position [895, 21, 945, 124]
TreatAsAtomicUnit off
System {
Name "Subsystem"
Location [596, 100, 1004, 348]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "ird"
Position [25, 33, 55, 47]
}
Block {
BlockType Inport
Name "isd"
Position [25, 78, 55, 92]
Port "2"
}
Block {
BlockType Inport
Name "irq"
Position [25, 128, 55, 142]
Port "3"
}
Block {
BlockType Inport
Name "isq"
Position [25, 173, 55, 187]
Port "4"
}
Block {
BlockType Reference
Name "Cartesian to\nPolar"
Ports [2, 2]
Position [255, 87, 285, 118]
SourceBlock "simulink_extras/Transformations/Cartesian t"
"o\nPolar"
SourceType "Cart2Polar"
http://encon.fke.utm.my/courses/mep1422/foc.mdl (16 von 36) [17.05.2005 17:15:41]
}
Block {
BlockType Gain
Name "Gain"
Position [80, 25, 110, 55]
Gain "306.5e-3"
}
Block {
BlockType Gain
Name "Gain1"
Position [80, 70, 110, 100]
Gain "291.9e-3"
}
Block {
BlockType Gain
Name "Gain2"
Position [80, 120, 110, 150]
Gain "306.5e-3"
}
Block {
BlockType Gain
Name "Gain3"
Position [80, 165, 110, 195]
Gain "291.9e-3"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [175, 55, 195, 75]
ShowName off
IconShape "round"
Inputs "+|+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [175, 150, 195, 170]
ShowName off
IconShape "round"
Inputs "+|+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "Fm"
Position [355, 88, 385, 102]
}
Block {
BlockType Outport
Name "F_the"
Position [310, 103, 340, 117]
Port "2"
}
Block {
BlockType Outport
Name "Fd"
Position [310, 33, 340, 47]
Port "3"
}
Block {
http://encon.fke.utm.my/courses/mep1422/foc.mdl (17 von 36) [17.05.2005 17:15:41]
BlockType Outport
Name "Fq"
Position [305, 153, 335, 167]
Port "4"
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [40, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [70, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [25, 0]
Branch {
Points [15, 0]
DstBlock "Cartesian to\nPolar"
DstPort 1
}
Branch {
Points [0, -25]
DstBlock "Fd"
DstPort 1
}
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [40, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [70, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [40, 0; 0, -5]
Branch {
DstBlock "Cartesian to\nPolar"
DstPort 2
}
Branch {
Points [0, 5]
DstBlock "Fq"
DstPort 1
}
}
Line {
SrcBlock "ird"
SrcPort 1
http://encon.fke.utm.my/courses/mep1422/foc.mdl (18 von 36) [17.05.2005 17:15:41]
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "isd"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Cartesian to\nPolar"
SrcPort 1
DstBlock "Fm"
DstPort 1
}
Line {
SrcBlock "Cartesian to\nPolar"
SrcPort 2
DstBlock "F_the"
DstPort 1
}
Line {
SrcBlock "irq"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "isq"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [2, 3]
Position [95, 50, 135, 110]
TreatAsAtomicUnit off
MaskPromptString "Lm|Lr|Rr|p"
MaskStyleString "edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskToolTipString "on,on,on,on"
MaskVarAliasString ",,,"
MaskVariables "Lm=@1;Lr=@2;Rr=@3;p=@4;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "291.9e-3|306.5e-3|4.51|4"
System {
Name "Subsystem1"
Location [2, 74, 1014, 724]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
http://encon.fke.utm.my/courses/mep1422/foc.mdl (19 von 36) [17.05.2005 17:15:41]
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "T"
Position [90, 33, 120, 47]
}
Block {
BlockType Inport
Name "Flux"
Position [35, 118, 65, 132]
Port "2"
}
Block {
BlockType Constant
Name "Constant1"
Position [140, 279, 210, 301]
Value "1/Lm"
}
Block {
BlockType Derivative
Name "Derivative"
Position [165, 180, 195, 210]
}
Block {
BlockType Reference
Name "Dot Product"
Ports [2, 1]
Position [230, 26, 260, 59]
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
}
Block {
BlockType Reference
Name "Dot Product1"
Ports [2, 1]
Position [292, 115, 323, 150]
Orientation "down"
NamePlacement "alternate"
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
}
Block {
BlockType Reference
Name "Dot Product2"
Ports [2, 1]
Position [390, 205, 425, 240]
NamePlacement "alternate"
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
}
Block {
BlockType Gain
Name "Gain"
Position [145, 25, 175, 55]
Gain "(4*Lr)/(3*p*Lm)"
}
Block {
BlockType Gain
Name "Gain1"
Position [230, 85, 260, 115]
Gain "(Lm*Rr)/Lr"
}
Block {
BlockType Gain
http://encon.fke.utm.my/courses/mep1422/foc.mdl (20 von 36) [17.05.2005 17:15:41]
Name "Gain2"
Position [115, 180, 145, 210]
Gain "Lr/Rr"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [145, 110, 175, 140]
Operator "reciprocal"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [255, 185, 275, 205]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "isq"
Position [340, 38, 370, 52]
}
Block {
BlockType Outport
Name "slip"
Position [295, 175, 325, 190]
Orientation "down"
Port "2"
}
Block {
BlockType Outport
Name "isd"
Position [510, 218, 540, 232]
Port "3"
}
Line {
SrcBlock "Flux"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Math\nFunction"
DstPort 1
}
Branch {
Points [0, 70]
Branch {
DstBlock "Gain2"
DstPort 1
}
Branch {
Points [0, 40; 170, 0]
DstBlock "Sum2"
DstPort 2
}
}
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [25, 0; 0, -25]
http://encon.fke.utm.my/courses/mep1422/foc.mdl (21 von 36) [17.05.2005 17:15:41]
Branch {
Points [0, -50]
DstBlock "Dot Product"
DstPort 2
}
Branch {
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [35, 0]
DstBlock "Dot Product"
DstPort 1
}
Line {
SrcBlock "Dot Product"
SrcPort 1
Points [0, 0; 55, 0]
Branch {
Points [-5, 0]
DstBlock "Dot Product1"
DstPort 2
}
Branch {
DstBlock "isq"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Dot Product1"
DstPort 1
}
Line {
SrcBlock "T"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Dot Product1"
SrcPort 1
DstBlock "slip"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Derivative"
DstPort 1
}
Line {
SrcBlock "Derivative"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Dot Product2"
SrcPort 1
DstBlock "isd"
http://encon.fke.utm.my/courses/mep1422/foc.mdl (22 von 36) [17.05.2005 17:15:41]
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [45, 0; 0, 20]
DstBlock "Dot Product2"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [85, 0; 0, -60]
DstBlock "Dot Product2"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "Subsystem3"
Ports [2, 3]
Position [605, 185, 645, 245]
Orientation "left"
TreatAsAtomicUnit off
System {
Name "Subsystem3"
Location [436, 127, 909, 413]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [80, 38, 110, 52]
}
Block {
BlockType Inport
Name "In2"
Position [115, 143, 145, 157]
Port "2"
}
Block {
BlockType Gain
Name "Gain1"
Position [215, 28, 255, 52]
Gain "1.0001"
}
Block {
BlockType Gain
Name "Gain10"
Position [215, 238, 255, 262]
Gain "-0.867"
}
Block {
BlockType Gain
Name "Gain2"
Position [215, 83, 255, 107]
Gain "-0.5"
http://encon.fke.utm.my/courses/mep1422/foc.mdl (23 von 36) [17.05.2005 17:15:41]
}
Block {
BlockType Gain
Name "Gain8"
Position [215, 138, 255, 162]
Gain "0.867"
}
Block {
BlockType Gain
Name "Gain9"
Position [215, 188, 255, 212]
Gain "-0.5"
}
Block {
BlockType Sum
Name "Ib2"
Ports [2, 1]
Position [375, 102, 395, 138]
}
Block {
BlockType Sum
Name "Ib3"
Ports [2, 1]
Position [375, 187, 395, 223]
}
Block {
BlockType Outport
Name "Out1"
Position [280, 33, 310, 47]
}
Block {
BlockType Outport
Name "Out2"
Position [420, 113, 450, 127]
Port "2"
}
Block {
BlockType Outport
Name "Out3"
Position [420, 198, 450, 212]
Port "3"
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [70, 0]
DstBlock "Gain1"
DstPort 1
}
Branch {
Points [0, 50]
Branch {
DstBlock "Gain2"
DstPort 1
}
Branch {
Points [0, 105]
DstBlock "Gain9"
DstPort 1
}
}
}
Line {
http://encon.fke.utm.my/courses/mep1422/foc.mdl (24 von 36) [17.05.2005 17:15:41]
SrcBlock "In2"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Gain8"
DstPort 1
}
Branch {
Points [0, 100]
DstBlock "Gain10"
DstPort 1
}
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [50, 0; 0, 15]
DstBlock "Ib2"
DstPort 1
}
Line {
SrcBlock "Gain8"
SrcPort 1
Points [50, 0; 0, -20]
DstBlock "Ib2"
DstPort 2
}
Line {
SrcBlock "Gain9"
SrcPort 1
Points [50, 0; 0, -5]
DstBlock "Ib3"
DstPort 1
}
Line {
SrcBlock "Gain10"
SrcPort 1
Points [50, 0; 0, -35]
DstBlock "Ib3"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Ib2"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "Ib3"
SrcPort 1
DstBlock "Out3"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem4"
Ports [2, 3]
http://encon.fke.utm.my/courses/mep1422/foc.mdl (25 von 36) [17.05.2005 17:15:41]
Position [345, 50, 385, 110]
TreatAsAtomicUnit off
System {
Name "Subsystem4"
Location [436, 127, 909, 413]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [80, 38, 110, 52]
}
Block {
BlockType Inport
Name "In2"
Position [115, 143, 145, 157]
Port "2"
}
Block {
BlockType Gain
Name "Gain1"
Position [215, 28, 255, 52]
Gain "1.0001"
}
Block {
BlockType Gain
Name "Gain10"
Position [215, 238, 255, 262]
Gain "-0.867"
}
Block {
BlockType Gain
Name "Gain2"
Position [215, 83, 255, 107]
Gain "-0.5"
}
Block {
BlockType Gain
Name "Gain8"
Position [215, 138, 255, 162]
Gain "0.867"
}
Block {
BlockType Gain
Name "Gain9"
Position [215, 188, 255, 212]
Gain "-0.5"
}
Block {
BlockType Sum
Name "Ib2"
Ports [2, 1]
Position [375, 102, 395, 138]
}
Block {
BlockType Sum
Name "Ib3"
Ports [2, 1]
http://encon.fke.utm.my/courses/mep1422/foc.mdl (26 von 36) [17.05.2005 17:15:41]
Position [375, 187, 395, 223]
}
Block {
BlockType Outport
Name "Out1"
Position [280, 33, 310, 47]
}
Block {
BlockType Outport
Name "Out2"
Position [420, 113, 450, 127]
Port "2"
}
Block {
BlockType Outport
Name "Out3"
Position [420, 198, 450, 212]
Port "3"
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [70, 0]
DstBlock "Gain1"
DstPort 1
}
Branch {
Points [0, 50]
Branch {
DstBlock "Gain2"
DstPort 1
}
Branch {
Points [0, 105]
DstBlock "Gain9"
DstPort 1
}
}
}
Line {
SrcBlock "In2"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Gain8"
DstPort 1
}
Branch {
Points [0, 100]
DstBlock "Gain10"
DstPort 1
}
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [50, 0; 0, 15]
DstBlock "Ib2"
DstPort 1
}
Line {
SrcBlock "Gain8"
SrcPort 1
http://encon.fke.utm.my/courses/mep1422/foc.mdl (27 von 36) [17.05.2005 17:15:41]
Points [50, 0; 0, -20]
DstBlock "Ib2"
DstPort 2
}
Line {
SrcBlock "Gain9"
SrcPort 1
Points [50, 0; 0, -5]
DstBlock "Ib3"
DstPort 1
}
Line {
SrcBlock "Gain10"
SrcPort 1
Points [50, 0; 0, -35]
DstBlock "Ib3"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Ib2"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "Ib3"
SrcPort 1
DstBlock "Out3"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem5"
Ports [3, 2]
Position [240, 48, 280, 112]
TreatAsAtomicUnit off
System {
Name "Subsystem5"
Location [468, 82, 922, 447]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "iq"
Position [25, 113, 55, 127]
}
Block {
BlockType Inport
Name "id"
Position [25, 23, 55, 37]
http://encon.fke.utm.my/courses/mep1422/foc.mdl (28 von 36) [17.05.2005 17:15:41]
Port "2"
}
Block {
BlockType Inport
Name "fp"
Position [25, 243, 55, 257]
Port "3"
}
Block {
BlockType Reference
Name "Dot Product"
Ports [2, 1]
Position [245, 46, 275, 79]
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
}
Block {
BlockType Reference
Name "Dot Product1"
Ports [2, 1]
Position [245, 136, 275, 169]
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
}
Block {
BlockType Reference
Name "Dot Product2"
Ports [2, 1]
Position [260, 201, 290, 234]
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
}
Block {
BlockType Reference
Name "Dot Product3"
Ports [2, 1]
Position [260, 251, 290, 284]
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [350, 95, 370, 115]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [350, 210, 370, 230]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
http://encon.fke.utm.my/courses/mep1422/foc.mdl (29 von 36) [17.05.2005 17:15:41]
Ports [1, 1]
Position [165, 145, 195, 175]
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction1"
Ports [1, 1]
Position [170, 55, 200, 85]
Operator "cos"
}
Block {
BlockType Outport
Name "Out1"
Position [395, 98, 425, 112]
}
Block {
BlockType Outport
Name "Out2"
Position [395, 213, 425, 227]
Port "2"
}
Line {
SrcBlock "fp"
SrcPort 1
Points [5, 0; 0, 5; 25, 0; 0, -95]
Branch {
DstBlock "Trigonometric\nFunction"
DstPort 1
}
Branch {
Points [0, -90]
DstBlock "Trigonometric\nFunction1"
DstPort 1
}
}
Line {
SrcBlock "id"
SrcPort 1
Points [0, 0; 80, 0]
Branch {
Points [0, 230]
DstBlock "Dot Product3"
DstPort 1
}
Branch {
Points [90, 0]
DstBlock "Dot Product"
DstPort 1
}
}
Line {
SrcBlock "iq"
SrcPort 1
Points [0, 0; 70, 0]
Branch {
Points [0, 105]
DstBlock "Dot Product2"
DstPort 2
}
Branch {
Points [90, 0; 0, 25]
DstBlock "Dot Product1"
DstPort 1
}
}
http://encon.fke.utm.my/courses/mep1422/foc.mdl (30 von 36) [17.05.2005 17:15:41]
Line {
SrcBlock "Dot Product3"
SrcPort 1
Points [65, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Dot Product2"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Dot Product1"
SrcPort 1
Points [80, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Dot Product1"
DstPort 2
}
Branch {
Points [0, 115]
DstBlock "Dot Product3"
DstPort 2
}
}
Line {
SrcBlock "Dot Product"
SrcPort 1
Points [55, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Trigonometric\nFunction1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Dot Product"
DstPort 2
}
Branch {
Points [0, 140]
DstBlock "Dot Product2"
DstPort 1
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Out2"
http://encon.fke.utm.my/courses/mep1422/foc.mdl (31 von 36) [17.05.2005 17:15:41]
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [235, 305, 265, 335]
Orientation "up"
ShowName off
IconShape "round"
Inputs "+|+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [460, 35, 480, 55]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [480, 70, 500, 90]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [505, 120, 525, 140]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Line {
SrcBlock "Induction Machine"
SrcPort 4
Points [0, 0; 15, 0]
Branch {
Points [20, 0; 0, 250]
DstBlock "Gain3"
DstPort 1
}
Branch {
Points [0, 145]
DstBlock "Scope"
DstPort 1
}
}
Line {
http://encon.fke.utm.my/courses/mep1422/foc.mdl (32 von 36) [17.05.2005 17:15:41]
SrcBlock "Subsystem1"
SrcPort 2
Points [20, 0; 0, 240]
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Signal\nGenerator"
SrcPort 1
DstBlock "Subsystem1"
DstPort 1
}
Line {
SrcBlock "Rotor Flux"
SrcPort 1
Points [15, 0; 0, -50]
DstBlock "Subsystem1"
DstPort 2
}
Line {
SrcBlock "Subsystem4"
SrcPort 1
Points [15, 0; 0, -15]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Relay"
DstPort 1
}
Line {
SrcBlock "Relay"
SrcPort 1
Points [55, 0]
DstBlock "Induction Machine"
DstPort 1
}
Line {
SrcBlock "Subsystem4"
SrcPort 2
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "Relay2"
DstPort 1
}
Line {
SrcBlock "Subsystem4"
SrcPort 3
Points [20, 0; 0, 30]
DstBlock "Sum3"
DstPort 1
}
Line {
http://encon.fke.utm.my/courses/mep1422/foc.mdl (33 von 36) [17.05.2005 17:15:41]
SrcBlock "Gain3"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "Induction Machine"
SrcPort 1
Points [90, 0; 0, 35; 5, 0]
Branch {
DstBlock "Subsystem"
DstPort 2
}
Branch {
Points [0, 140]
DstBlock "Subsystem3"
DstPort 1
}
}
Line {
SrcBlock "Induction Machine"
SrcPort 2
Points [0, 10; 75, 0]
Branch {
Points [30, 0; 0, 60]
DstBlock "Subsystem"
DstPort 4
}
Branch {
Points [0, 180]
DstBlock "Subsystem3"
DstPort 2
}
}
Line {
SrcBlock "Induction Machine"
SrcPort 3
Points [175, 0]
DstBlock "Subsystem"
DstPort 1
}
Line {
SrcBlock "Induction Machine"
SrcPort 6
Points [175, 0]
DstBlock "Subsystem"
DstPort 3
}
Line {
SrcBlock "Relay1"
SrcPort 1
DstBlock "Induction Machine"
DstPort 2
}
Line {
SrcBlock "Relay2"
SrcPort 1
Points [35, 0; 0, -10; 15, 0]
DstBlock "Induction Machine"
DstPort 3
}
Line {
SrcBlock "Integrator1"
SrcPort 1
DstBlock "Sum"
http://encon.fke.utm.my/courses/mep1422/foc.mdl (34 von 36) [17.05.2005 17:15:41]
DstPort 1
}
Line {
SrcBlock "Integrator2"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Subsystem3"
SrcPort 1
Points [-130, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Subsystem3"
SrcPort 2
Points [-110, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Subsystem3"
SrcPort 3
Points [-85, 0]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Subsystem1"
SrcPort 3
Points [50, 0; 0, -20]
DstBlock "Subsystem5"
DstPort 2
}
Line {
SrcBlock "Subsystem5"
SrcPort 1
DstBlock "Subsystem4"
DstPort 1
}
Line {
SrcBlock "Subsystem5"
SrcPort 2
DstBlock "Subsystem4"
DstPort 2
}
Line {
SrcBlock "Subsystem1"
SrcPort 1
DstBlock "Subsystem5"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [0, -120; -25, 0]
DstBlock "Subsystem5"
DstPort 3
}
Line {
SrcBlock "Induction Machine"
SrcPort 8
Points [20, 0; 0, 100]
http://encon.fke.utm.my/courses/mep1422/foc.mdl (35 von 36) [17.05.2005 17:15:41]
DstBlock "Scope"
DstPort 2
}
}
}
http://encon.fke.utm.my/courses/mep1422/foc.mdl (36 von 36) [17.05.2005 17:15:41]
1
DIRECT TORQUE CONTROL OF IM

If a three phase VSI is connected to an IM, there can be eight possible
configurations of six switching devices within the inverter. As a result, there are
eight possible input voltage vectors to the IM. The eight voltage vectors, two of
which are zero vectors, are shown in Fig 1.
DTC utilises the eight possible stator voltage vectors, to control the stator
flux and torque to follow the reference values within the hysteresis bands. The
voltage space vector of a three-phase system is given by:

( )

= + + =
3
2
j
sC
2
sD sA 3
2
s
c a wIcrc , } i ( v a } i ( av } i ( v } i ( v (1)

v
sA
, v
sB
, and v
sC
are the instantaneous phase voltages.

For the switching VSI, it can be shown that for a DC link voltage of V
d
, the
voltage space vector is given by:

( )

= + + =
3
2
j
2
c l a d 3
2
s
c a wIcrc , a } i ( S a } i ( S } i ( S V } i ( v (2)

S
a
(t), S
b
(t) and S
c
(t) are the switching functions of each leg of the VSI, such that,

S
when upper switch is on
when lower switch is on
i
=

1
0
i a,l,c





Figure 1. Voltage vectors for 3-phase VSI


Direct Flux Control
The IM stator voltage equation is given by:

di
d
i F v
s
s s s

+ = (3)

Where v i and
s s s
, , are the stator voltage, current and stator flux space vectors
respectively. According to equation (3), if the stator resistance is small and can
be neglected, the change in stator flux,
s
, will follow the stator voltage, i.e.,

s s
v t = (4)

2
This simply means that the tip of the stator flux will follow that of the stator
voltage space vector multiplied by the small change in time. Hence if the stator
flux space vector (magnitude and angle) is known, its locus can be controlled by
selecting appropriate stator voltage vectors. In DTC the stator flux space vector
is obtained by calculation utilizing the motor terminal variables (stator voltages
and currents). The stator flux is forced to follow the reference value within a
hysteresis band by selecting the appropriate stator voltage vector using the
hysteresis comparator and selection table.


Direct Torque Control
As shown by Takahashi and Noguchi [1], under a condition of a constant mechanical
frequency and stator flux magnitude, when a step increase in the stator angular
frequency is applied at t=0, the rate of change of torque at time t=0 is
proportional to the slip frequency of the stator flux . Thus,

dT
dt
t
sl
t
=
=
0
0
(5)

where
sl
is the instantaneous angular slip frequency

If the torque and stator flux is kept within their hysteresis bands by selecting
appropriate voltage vectors, an independent control over the torque and stator flux
is accomplished. If the stator flux space vector plane is divided into six sectors
or segments (Figure 2), a set of table or rules of which voltage vector should be
chosen in a particular sector (either to increase stator flux or to reduce stator
flux and either to increase torque or to reduce torque) can be constructed; such
table is given by Table 1.





Figure 2 Six sectors of stator flux plane




3
vs,3
vs,3
vs,3
vs,2
vs,4
vs,4
vs,3
vs,2
vs,6
vs,5
vs,4
vs,1
Table 1 Voltage vectors look-up table.

Counter cIockwIse Sec I Sec II Sec III Sec IV Sec V Sec VI
Inc Flu
Inc T(01} 100 110 010 011 001 101
(0} Dcc T(00} 000 111 000 111 000 111
Dcc Fux Inc T(01} 110 010 011 001 101 100
(1} Dcc T(00} 111 000 111 000 111 000
CIockwIse Sec I Sec II Sec III Sec IV Sec V Sec VI
Inc Flu
Inc T(10} 001 101 100 110 010 011
(0} Dcc T(00} 000 111 000 111 000 111
Dcc Fux Inc T(10} 011 001 101 100 110 010
(1} Dcc T(00} 111 000 111 000 111 000

























Figure 3 Flux control within the hysteresis band

















Figure 4 Basic DTC

|1| I.TalaIasIi, T. NogucIi, A ncw quicl-rcsonsc and IigI-cfficcicncy conirol siraicgy of an induciion noior", IEEE Tuns.
Ind. A., vol IA-22, No 5 Sci/Oci 1986
Sector I
Sector II
Hstccss
Iund
Vo|tage vector
se|ector
Vo|tage
8ource
|nverter
8tator f|ux
and torque
est|mator
Tref
ref

|H


T
+ Vdc -

Model {
Name "DTC_hysteresis"
Version 5.0
SaveDefaultBlockParams on
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowLoopsOnError on
IgnoreBidirectionalLines off
ShowStorageClass off
ExecutionOrder off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
covSaveCumulativeToWorkspaceVar on
CovSaveSingleToWorkspaceVar on
CovCumulativeVarName "covCumulativeData"
CovCumulativeReport off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
MinMaxOverflowArchiveMode "Overwrite"
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Tue Oct 01 11:07:25 2002"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "Administrator"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Mon Aug 09 11:36:28 2004"
ModelVersionFormat "1.%<AutoIncrement:16>"
ConfigurationManager "none"
SimParamPage "Solver"
LinearizationMsg "none"
Profile off
ParamWorkspaceSource "MATLABWorkspace"
AccelSystemTargetFile "accel.tlc"
AccelTemplateMakefile "accel_default_tmf"
AccelMakeCommand "make_rtw"
TryForcingSFcnDF off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "normal"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (1 von 29) [17.05.2005 17:16:36]
ExtModeArmWhenConnect on
ExtModeSkipDownloadWhenConnect off
ExtModeLogAll on
ExtModeAutoUpdateStatusClock on
BufferReuse on
RTWExpressionDepthLimit 5
SimulationMode "normal"
Solver "ode5"
SolverMode "Auto"
StartTime "0.0"
StopTime "1000"
MaxOrder 5
MaxStep "0.0001"
MinStep "0.00001"
MaxNumMinSteps "-1"
InitialStep "0.00001"
FixedStep "1e-6"
RelTol "1e-3"
AbsTol "auto"
OutputOption "RefineOutputTimes"
OutputTimes "[]"
Refine "1"
LoadExternalInput off
ExternalInput "[t, u]"
LoadInitialState off
InitialState "xInitial"
SaveTime on
TimeSaveName "t"
SaveState off
StateSaveName "xout"
SaveOutput on
OutputSaveName "yout"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Array"
Decimation "1"
LimitDataPoints on
MaxDataPoints "10000000"
SignalLoggingName "sigsOut"
ConsistencyChecking "none"
ArrayBoundsChecking "none"
AlgebraicLoopMsg "warning"
BlockPriorityViolationMsg "warning"
MinStepSizeMsg "warning"
InheritedTsInSrcMsg "warning"
DiscreteInheritContinuousMsg "warning"
MultiTaskRateTransMsg "error"
SingleTaskRateTransMsg "none"
CheckForMatrixSingularity "none"
IntegerOverflowMsg "warning"
Int32ToFloatConvMsg "warning"
ParameterDowncastMsg "error"
ParameterOverflowMsg "error"
ParameterPrecisionLossMsg "warning"
UnderSpecifiedDataTypeMsg "none"
UnnecessaryDatatypeConvMsg "none"
VectorMatrixConversionMsg "none"
InvalidFcnCallConnMsg "error"
SignalLabelMismatchMsg "none"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
SfunCompatibilityCheckMsg "none"
RTWInlineParameters off
BlockReductionOpt off
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (2 von 29) [17.05.2005 17:16:36]
BooleanDataType off
ConditionallyExecuteInputs on
ParameterPooling on
OptimizeBlockIOStorage on
ZeroCross on
AssertionControl "UseLocalSettings"
ProdHWDeviceType "Microprocessor"
ProdHWWordLengths "8,16,32,32"
RTWSystemTargetFile "grt.tlc"
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
RTWRetainRTWFile off
TLCProfiler off
TLCDebug off
TLCCoverage off
TLCAssertion off
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType Demux
Outputs "4"
DisplayOption "none"
BusSelectionMode off
}
Block {
BlockType Fcn
Expr "sin(u[1])"
}
Block {
BlockType Gain
Gain "1"
Multiplication "Element-wise(K.*u)"
ShowAdditionalParam off
ParameterDataTypeMode "Same as input"
ParameterDataType "sfix(16)"
ParameterScalingMode "Best Precision: Matrix-wise"
ParameterScaling "2^0"
OutDataTypeMode "Same as input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType Inport
Port "1"
PortDimensions "-1"
SampleTime "-1"
ShowAdditionalParam off
LatchInput off
DataType "auto"
OutDataType "sfix(16)"
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (3 von 29) [17.05.2005 17:16:37]
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
Interpolate on
}
Block {
BlockType Integrator
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
ZeroCross on
}
Block {
BlockType Mux
Inputs "4"
DisplayOption "none"
}
Block {
BlockType Outport
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Relay
OnSwitchValue "eps"
OffSwitchValue "eps"
OnOutputValue "1"
OffOutputValue "0"
ShowAdditionalParam off
OutputDataTypeScalingMode "All ports same datatype"
OutDataType "sfix(16)"
OutScaling "2^0"
ConRadixGroup "Use specified scaling"
ZeroCross on
}
Block {
BlockType Scope
Floating off
ModelBased off
TickLabels "OneTimeTick"
ZoomMode "on"
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType "S-Function"
FunctionName "system"
PortCounts "[]"
SFunctionModules "''"
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (4 von 29) [17.05.2005 17:16:37]
}
Block {
BlockType SignalGenerator
WaveForm "sine"
Amplitude "1"
Frequency "1"
Units "Hertz"
VectorParams1D on
}
Block {
BlockType Step
Time "1"
Before "0"
After "1"
SampleTime "-1"
VectorParams1D on
ZeroCross on
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
ShowAdditionalParam off
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "DTC_hysteresis"
Location [2, 74, 1014, 724]
Open on
ModelBrowserVisibility off
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (5 von 29) [17.05.2005 17:16:37]
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "Induction Machine"
Ports [3, 8]
Position [160, 63, 215, 192]
TreatAsAtomicUnit off
MaskPromptString "Stator resistance (ohm)|Rotor resistance (ohm)|"
"Stator self inductance (H)|Rotor self inductance (H)|Mutual Inductance (H)|No"
" of poles|Moment of inertia (kg.m^2)|Load torque (Nm)"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on,on"
MaskCallbackString "|||||||"
MaskEnableString "on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,"
MaskVariables "Rs=@1;Rr=@2;Ls=@3;Lr=@4;Lm=@5;pole=@6;J=@7;Tloa"
"d=@8;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "5.5|4.51|306.5e-3|306.5e-3|291.9e-3|4|0.03|1"
System {
Name "Induction Machine"
Location [175, 176, 935, 636]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Va"
Position [25, 40, 45, 60]
}
Block {
BlockType Inport
Name "Vb"
Position [25, 120, 45, 140]
Port "2"
}
Block {
BlockType Inport
Name "Vc"
Position [25, 240, 45, 260]
Port "3"
}
Block {
BlockType Gain
Name "1/J"
Position [260, 292, 285, 318]
Orientation "left"
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (6 von 29) [17.05.2005 17:16:37]
Gain "1/J"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "1/J1"
Position [295, 347, 320, 373]
Gain "0.05"
SaturateOnIntegerOverflow off
}
Block {
BlockType SubSystem
Name "3to2"
Ports [3, 2]
Position [105, 81, 135, 139]
ShowPortLabels off
TreatAsAtomicUnit off
System {
Name "3to2"
Location [4, 42, 628, 468]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [15, 50, 35, 70]
}
Block {
BlockType Inport
Name "in_2"
Position [15, 115, 35, 135]
Port "2"
}
Block {
BlockType Inport
Name "in_3"
Position [15, 180, 35, 200]
Port "3"
}
Block {
BlockType Gain
Name "Gain3"
Position [120, 248, 160, 272]
Gain "0.577"
}
Block {
BlockType Gain
Name "Gain4"
Position [120, 298, 160, 322]
Gain "-0.577"
}
Block {
BlockType Gain
Name "Gain5"
Position [145, 143, 185, 167]
Gain "-0.33333"
}
Block {
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (7 von 29) [17.05.2005 17:16:37]
BlockType Gain
Name "Gain6"
Position [140, 183, 180, 207]
Gain "-0.33333"
}
Block {
BlockType Gain
Name "Gain7"
Position [135, 63, 175, 87]
Gain "0.66666"
}
Block {
BlockType Sum
Name "Ib"
Ports [2, 1]
Position [240, 255, 260, 275]
}
Block {
BlockType Sum
Name "Ib1"
Ports [3, 1]
Position [260, 87, 280, 123]
Inputs "+++"
}
Block {
BlockType Outport
Name "d"
Position [330, 60, 350, 80]
InitialOutput "0"
}
Block {
BlockType Outport
Name "q"
Position [310, 250, 330, 270]
Port "2"
InitialOutput "0"
}
Line {
SrcBlock "Ib1"
SrcPort 1
Points [15, 0; 0, -35]
DstBlock "d"
DstPort 1
}
Line {
SrcBlock "Gain7"
SrcPort 1
Points [30, 0; 0, 20]
DstBlock "Ib1"
DstPort 1
}
Line {
SrcBlock "in_1"
SrcPort 1
Points [40, 0; 0, 15]
DstBlock "Gain7"
DstPort 1
}
Line {
SrcBlock "Gain6"
SrcPort 1
Points [30, 0; 0, -90]
DstBlock "Ib1"
DstPort 2
}
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (8 von 29) [17.05.2005 17:16:37]
Line {
SrcBlock "Gain5"
SrcPort 1
Points [25, 0; 0, -40]
DstBlock "Ib1"
DstPort 3
}
Line {
SrcBlock "in_3"
SrcPort 1
Points [40, 0; 0, 5]
Branch {
DstBlock "Gain6"
DstPort 1
}
Branch {
Points [0, 115]
DstBlock "Gain4"
DstPort 1
}
}
Line {
SrcBlock "in_2"
SrcPort 1
Points [20, 0; 0, 30]
Branch {
DstBlock "Gain5"
DstPort 1
}
Branch {
Points [0, 105]
DstBlock "Gain3"
DstPort 1
}
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Ib"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [30, 0; 0, -40]
DstBlock "Ib"
DstPort 2
}
Line {
SrcBlock "Ib"
SrcPort 1
DstBlock "q"
DstPort 1
}
}
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 5]
Position [420, 91, 460, 149]
Outputs "5"
}
Block {
BlockType Gain
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (9 von 29) [17.05.2005 17:16:37]
Name "Gain1"
Position [150, 407, 175, 433]
Orientation "left"
Gain "2/pole"
}
Block {
BlockType SubSystem
Name "IM1"
Ports [1, 1]
Position [320, 106, 380, 134]
TreatAsAtomicUnit off
System {
Name "IM1"
Location [248, 340, 468, 422]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 33, 55, 47]
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [1, 1]
Position [80, 25, 140, 55]
FunctionName "imch"
Parameters "Rs, Rr, Ls,Lr,Lm,pole"
}
Block {
BlockType Outport
Name "Out1"
Position [165, 33, 195, 47]
InitialOutput "0"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
Line {
SrcBlock "S-Function"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [360, 295, 380, 315]
Orientation "left"
}
Block {
BlockType Mux
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (10 von 29) [17.05.2005 17:16:37]
Name "Mux"
Ports [3, 1]
Position [260, 104, 290, 136]
Inputs "3"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [440, 287, 460, 323]
Orientation "left"
Inputs "+-"
}
Block {
BlockType Outport
Name "isd"
Position [630, 25, 650, 45]
InitialOutput "0"
}
Block {
BlockType Outport
Name "isq"
Position [625, 70, 645, 90]
Port "2"
InitialOutput "0"
}
Block {
BlockType Outport
Name "ird"
Position [600, 140, 620, 160]
Port "3"
InitialOutput "0"
}
Block {
BlockType Outport
Name "speed"
Position [90, 410, 110, 430]
Orientation "left"
Port "4"
InitialOutput "0"
}
Block {
BlockType Outport
Name "Vd"
Position [265, 50, 285, 70]
Port "5"
InitialOutput "0"
}
Block {
BlockType Outport
Name "irq"
Position [595, 185, 615, 205]
Port "6"
InitialOutput "0"
}
Block {
BlockType Outport
Name "Vq"
Position [90, 285, 110, 305]
Orientation "left"
Port "7"
InitialOutput "0"
}
Block {
BlockType Outport
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (11 von 29) [17.05.2005 17:16:37]
Name "Te"
Position [715, 230, 735, 250]
Port "8"
InitialOutput "0"
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [60, 0; 0, -20]
DstBlock "isq"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [65, 0; 0, -75]
DstBlock "isd"
DstPort 1
}
Line {
SrcBlock "3to2"
SrcPort 2
Points [0, 0]
Branch {
Points [0, 170]
DstBlock "Vq"
DstPort 1
}
Branch {
Points [55, 0; 0, -15]
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "3to2"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [0, -35]
DstBlock "Vd"
DstPort 1
}
Branch {
Points [30, 0; 0, 25]
DstBlock "Mux"
DstPort 2
}
}
Line {
SrcBlock "Demux"
SrcPort 5
Points [45, 0; 0, 145]
Branch {
Points [0, 15; -35, 0]
DstBlock "Sum"
DstPort 1
}
Branch {
Points [70, 0; 0, -45]
DstBlock "Te"
DstPort 1
}
}
Line {
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (12 von 29) [17.05.2005 17:16:37]
SrcBlock "Vc"
SrcPort 1
Points [20, 0; 0, -120]
DstBlock "3to2"
DstPort 3
}
Line {
SrcBlock "Vb"
SrcPort 1
Points [20, 0; 0, -20]
DstBlock "3to2"
DstPort 2
}
Line {
SrcBlock "Va"
SrcPort 1
Points [20, 0; 0, 40]
DstBlock "3to2"
DstPort 1
}
Line {
SrcBlock "1/J"
SrcPort 1
Points [0, 0; -25, 0]
Branch {
Points [0, -175]
DstBlock "Mux"
DstPort 3
}
Branch {
Points [-15, 0; 0, 115]
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "IM1"
DstPort 1
}
Line {
SrcBlock "IM1"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "1/J"
DstPort 1
}
Line {
SrcBlock "1/J1"
SrcPort 1
Points [190, 0; 0, -45]
DstBlock "Sum"
DstPort 2
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (13 von 29) [17.05.2005 17:16:37]
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [30, 0; 0, 75]
DstBlock "irq"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
Points [25, 0; 0, 20]
DstBlock "ird"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [0, 0; -10, 0]
Branch {
DstBlock "speed"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "1/J1"
DstPort 1
}
}
Annotation {
Name "q"
Position [482, 87]
VerticalAlignment "top"
}
}
}
Block {
BlockType "S-Function"
Name "S-Function2"
Ports [1, 1]
Position [220, 355, 270, 375]
Orientation "left"
FunctionName "flxp2"
}
Block {
BlockType Scope
Name "Scope"
Ports [3]
Position [560, 214, 590, 246]
Location [249, 259, 660, 649]
Open on
NumInputPorts "3"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (14 von 29) [17.05.2005 17:16:37]
TimeRange "0.1"
YMin "-0.1~-20~-15"
YMax "2~20~15"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [560, 144, 590, 176]
Location [667, 408, 991, 647]
Open on
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "0.01"
YMin "-0.1"
YMax "2"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [325, 184, 355, 216]
Location [667, 110, 991, 349]
Open on
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "0.01"
YMin "-20"
YMax "20"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType SignalGenerator
Name "Signal\nGenerator"
Position [640, 320, 670, 350]
Orientation "left"
WaveForm "square"
Amplitude "-15"
Frequency "15"
}
Block {
BlockType Step
Name "Step"
Position [545, 380, 575, 410]
Orientation "left"
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (15 von 29) [17.05.2005 17:16:37]
Time "0.001"
After "1.2"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [3, 3]
Position [110, 286, 160, 384]
Orientation "left"
TreatAsAtomicUnit off
System {
Name "Subsystem"
Location [230, 305, 670, 522]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "T,err"
Position [25, 35, 45, 55]
}
Block {
BlockType Inport
Name "Flx,err"
Position [25, 105, 45, 125]
Port "2"
}
Block {
BlockType Inport
Name "Flx ang"
Position [25, 160, 45, 180]
Port "3"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [280, 99, 320, 131]
Outputs "3"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [100, 99, 130, 131]
Inputs "3"
}
Block {
BlockType "S-Function"
Name "S-Function1"
Ports [1, 1]
Position [180, 105, 230, 125]
FunctionName "select2"
}
Block {
BlockType Outport
Name "Sa"
Position [375, 25, 395, 45]
InitialOutput "0"
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (16 von 29) [17.05.2005 17:16:37]
}
Block {
BlockType Outport
Name "Sb"
Position [395, 105, 415, 125]
Port "2"
InitialOutput "0"
}
Block {
BlockType Outport
Name "Sc"
Position [350, 170, 370, 190]
Port "3"
InitialOutput "0"
}
Line {
SrcBlock "Flx ang"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [0, 55]
DstBlock "Sc"
DstPort 1
}
Line {
SrcBlock "Flx,err"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Sb"
DstPort 1
}
Line {
SrcBlock "T,err"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [0, -70]
DstBlock "Sa"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "S-Function1"
DstPort 1
}
Line {
SrcBlock "S-Function1"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (17 von 29) [17.05.2005 17:16:37]
}
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [510, 307, 530, 343]
Orientation "left"
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [435, 380, 455, 400]
Orientation "left"
Inputs "+-"
}
Block {
BlockType SubSystem
Name "Voltage-controlled\nPWM-VSI1"
Ports [3, 3]
Position [70, 96, 100, 164]
ShowPortLabels off
TreatAsAtomicUnit off
System {
Name "Voltage-controlled\nPWM-VSI1"
Location [-23, 85, 764, 579]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "in_5"
Position [370, 60, 390, 80]
Orientation "left"
}
Block {
BlockType Inport
Name "in_6"
Position [390, 155, 410, 175]
Orientation "left"
Port "2"
}
Block {
BlockType Inport
Name "in_7"
Position [395, 225, 415, 245]
Orientation "left"
Port "3"
}
Block {
BlockType Gain
Name "Gain1"
Position [290, 152, 315, 178]
Orientation "left"
Gain "240"
}
Block {
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (18 von 29) [17.05.2005 17:16:37]
BlockType Gain
Name "Gain2"
Position [295, 222, 320, 248]
Orientation "left"
Gain "240"
}
Block {
BlockType Gain
Name "Gain3"
Position [285, 57, 310, 83]
Orientation "left"
Gain "240"
}
Block {
BlockType Outport
Name "out_1"
Position [160, 60, 180, 80]
Orientation "left"
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_2"
Position [165, 155, 185, 175]
Orientation "left"
Port "2"
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_3"
Position [175, 225, 195, 245]
Orientation "left"
Port "3"
InitialOutput "0"
}
Line {
SrcBlock "in_5"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "in_6"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "in_7"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "out_2"
DstPort 1
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (19 von 29) [17.05.2005 17:16:37]
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "out_3"
DstPort 1
}
}
}
Block {
BlockType Relay
Name "flux\nhysterisis"
Position [335, 378, 365, 402]
Orientation "left"
OnSwitchValue "0.01"
OffSwitchValue "-0.01"
}
Block {
BlockType SubSystem
Name "stator flux - voltage model"
Ports [4, 4]
Position [345, 15, 415, 145]
TreatAsAtomicUnit off
MaskPromptString "Stator resistance"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "Rs=@1;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "5.5"
System {
Name "stator flux - voltage model"
Location [160, 288, 765, 529]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "vd"
Position [50, 33, 80, 47]
}
Block {
BlockType Inport
Name "id"
Position [40, 98, 70, 112]
Port "2"
}
Block {
BlockType Inport
Name "vq"
Position [60, 143, 90, 157]
Port "3"
}
Block {
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (20 von 29) [17.05.2005 17:16:37]
BlockType Inport
Name "iq"
Position [25, 193, 55, 207]
Port "4"
}
Block {
BlockType SubSystem
Name "Cartesian to Polar"
Ports [2, 2]
Position [420, 92, 455, 143]
ShowPortLabels off
TreatAsAtomicUnit off
MaskType "[x,y]->[r,theta]"
MaskDescription "Tranformation from cartesian to polar\ncoor"
"dinates.\nr=sqrt(x^2+y^2), theta=atan(y/x)"
MaskHelp "Unmask this block for more help."
MaskDisplay "plot(0,0,100,100,[24,20,15,20,20],[85,95,85"
",95,20],[80,20,95,85,95,85],[70,20,20,15,20,24],[56,56,55,52,50,46],[20,26,31"
",35,38,42])"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Cartesian to Polar"
Location [0, 0, 359, 206]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "x"
Position [20, 70, 40, 90]
}
Block {
BlockType Inport
Name "y"
Position [20, 129, 40, 151]
Port "2"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [75, 96, 105, 129]
Inputs "2"
}
Block {
BlockType Fcn
Name "x->r"
Position [155, 72, 260, 98]
Expr "hypot(u[1],u[2])"
}
Block {
BlockType Fcn
Name "x->theta"
Position [160, 129, 265, 151]
Expr "atan2(u[2],u[1])"
}
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (21 von 29) [17.05.2005 17:16:37]
Block {
BlockType Outport
Name "r"
Position [295, 75, 315, 95]
InitialOutput "0"
}
Block {
BlockType Outport
Name "theta"
Position [295, 130, 315, 150]
Port "2"
InitialOutput "0"
}
Line {
SrcBlock "x->theta"
SrcPort 1
DstBlock "theta"
DstPort 1
}
Line {
SrcBlock "y"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "x"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "x->r"
SrcPort 1
DstBlock "r"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 25]
DstBlock "x->theta"
DstPort 1
}
Branch {
Points [0, -30]
DstBlock "x->r"
DstPort 1
}
}
Annotation {
Name "Cartesian to Polar"
Position [167, 37]
VerticalAlignment "top"
}
}
}
Block {
BlockType Gain
Name "Gain2"
Position [170, 167, 195, 193]
Gain "Rs"
}
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (22 von 29) [17.05.2005 17:16:37]
Block {
BlockType Gain
Name "Gain3"
Position [170, 112, 195, 138]
Gain "Rs"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [315, 85, 345, 115]
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [310, 165, 340, 195]
}
Block {
BlockType Sum
Name "Sum6"
Ports [2, 1]
Position [240, 90, 260, 110]
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum7"
Ports [2, 1]
Position [240, 145, 260, 165]
Inputs "+-"
}
Block {
BlockType Outport
Name "flxsdv"
Position [500, 28, 530, 42]
}
Block {
BlockType Outport
Name "flxsv"
Position [550, 88, 580, 102]
Port "2"
InitialOutput "0"
}
Block {
BlockType Outport
Name "angflxsv"
Position [480, 123, 510, 137]
Port "3"
InitialOutput "0"
}
Block {
BlockType Outport
Name "flxsqv"
Position [435, 203, 465, 217]
Port "4"
}
Line {
SrcBlock "Sum6"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Sum7"
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (23 von 29) [17.05.2005 17:16:37]
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [25, 0]
DstBlock "Sum6"
DstPort 2
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [0, -10]
DstBlock "Sum7"
DstPort 2
}
Line {
SrcBlock "vd"
SrcPort 1
Points [60, 0; 0, 55]
DstBlock "Sum6"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 5; 25, 0]
Branch {
DstBlock "Cartesian to Polar"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "flxsdv"
DstPort 1
}
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [50, 0]
Branch {
Points [0, -50]
DstBlock "Cartesian to Polar"
DstPort 2
}
Branch {
Points [0, 30]
DstBlock "flxsqv"
DstPort 1
}
}
Line {
SrcBlock "Cartesian to Polar"
SrcPort 1
Points [75, 0]
DstBlock "flxsv"
DstPort 1
}
Line {
SrcBlock "id"
SrcPort 1
Points [0, 20]
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (24 von 29) [17.05.2005 17:16:37]
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Cartesian to Polar"
SrcPort 2
DstBlock "angflxsv"
DstPort 1
}
Line {
SrcBlock "vq"
SrcPort 1
DstBlock "Sum7"
DstPort 1
}
Line {
SrcBlock "iq"
SrcPort 1
Points [0, -20]
DstBlock "Gain2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "torquehys"
Ports [1, 1]
Position [365, 300, 395, 350]
Orientation "left"
ShowPortLabels off
TreatAsAtomicUnit off
MaskPromptString "Hyst band"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "Th=@1;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "2"
System {
Name "torquehys"
Location [50, 122, 340, 345]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [275, 95, 295, 115]
Orientation "left"
}
Block {
BlockType Relay
Name "Relay"
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (25 von 29) [17.05.2005 17:16:37]
Position [185, 58, 215, 82]
Orientation "left"
OnSwitchValue "Th/2"
OffSwitchValue "0"
}
Block {
BlockType Relay
Name "Relay1"
Position [185, 123, 215, 147]
Orientation "left"
OnSwitchValue "0"
OffSwitchValue "-Th/2"
OnOutputValue "0"
OffOutputValue "-1"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [55, 105, 75, 125]
Orientation "left"
}
Block {
BlockType Outport
Name "out_1"
Position [15, 105, 35, 125]
Orientation "left"
InitialOutput "0"
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
Line {
SrcBlock "Relay1"
SrcPort 1
Points [-75, 0]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Relay"
SrcPort 1
Points [-65, 0]
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "in_1"
SrcPort 1
Points [-20, 0]
Branch {
Points [0, 30]
DstBlock "Relay1"
DstPort 1
}
Branch {
Points [-5, 0]
DstBlock "Relay"
DstPort 1
}
}
}
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (26 von 29) [17.05.2005 17:16:37]
}
Line {
SrcBlock "Induction Machine"
SrcPort 5
Points [30, 0; 0, -100]
DstBlock "stator flux - voltage model"
DstPort 1
}
Line {
SrcBlock "Induction Machine"
SrcPort 1
Points [110, 0]
DstBlock "stator flux - voltage model"
DstPort 2
}
Line {
SrcBlock "Induction Machine"
SrcPort 2
Points [70, 0; 0, 35]
DstBlock "stator flux - voltage model"
DstPort 4
}
Line {
SrcBlock "Induction Machine"
SrcPort 7
Points [15, 0; 0, -70]
DstBlock "stator flux - voltage model"
DstPort 3
}
Line {
SrcBlock "stator flux - voltage model"
SrcPort 3
Points [40, 0; 0, 270]
DstBlock "S-Function2"
DstPort 1
}
Line {
SrcBlock "Induction Machine"
SrcPort 8
Points [20, 0; 0, 20]
Branch {
Points [0, 90; 140, 0]
Branch {
Points [165, 0]
DstBlock "Sum2"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "Scope"
DstPort 2
}
}
Branch {
DstBlock "Scope2"
DstPort 1
}
}
Line {
SrcBlock "stator flux - voltage model"
SrcPort 2
Points [65, 0; 0, 95]
Branch {
Points [0, 60]
Branch {
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (27 von 29) [17.05.2005 17:16:37]
Points [0, 165]
DstBlock "Sum4"
DstPort 1
}
Branch {
DstBlock "Scope"
DstPort 1
}
}
Branch {
DstBlock "Scope1"
DstPort 1
}
}
Line {
SrcBlock "Voltage-controlled\nPWM-VSI1"
SrcPort 1
Points [20, 0; 0, -25]
DstBlock "Induction Machine"
DstPort 1
}
Line {
SrcBlock "Voltage-controlled\nPWM-VSI1"
SrcPort 2
DstBlock "Induction Machine"
DstPort 2
}
Line {
SrcBlock "Voltage-controlled\nPWM-VSI1"
SrcPort 3
Points [20, 0; 0, 25]
DstBlock "Induction Machine"
DstPort 3
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [-80, 0; 0, -195]
DstBlock "Voltage-controlled\nPWM-VSI1"
DstPort 1
}
Line {
SrcBlock "Subsystem"
SrcPort 2
Points [-70, 0; 0, -205]
DstBlock "Voltage-controlled\nPWM-VSI1"
DstPort 2
}
Line {
SrcBlock "Subsystem"
SrcPort 3
Points [-60, 0; 0, -215]
DstBlock "Voltage-controlled\nPWM-VSI1"
DstPort 3
}
Line {
SrcBlock "flux\nhysterisis"
SrcPort 1
Points [-40, 0; 0, -55]
DstBlock "Subsystem"
DstPort 2
}
Line {
SrcBlock "Sum4"
SrcPort 1
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (28 von 29) [17.05.2005 17:16:37]
DstBlock "flux\nhysterisis"
DstPort 1
}
Line {
SrcBlock "Step"
SrcPort 1
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "torquehys"
SrcPort 1
Points [-60, 0; 0, -20]
DstBlock "Subsystem"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "torquehys"
DstPort 1
}
Line {
SrcBlock "Signal\nGenerator"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "S-Function2"
SrcPort 1
DstBlock "Subsystem"
DstPort 3
}
Line {
SrcBlock "Induction Machine"
SrcPort 4
Points [45, 0; 0, 120]
DstBlock "Scope"
DstPort 3
}
}
}
http://encon.fke.utm.my/courses/mep1422/DTC_hysteresis.mdl (29 von 29) [17.05.2005 17:16:37]

Você também pode gostar