Download - Matlab Level 2
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 1/102
MATLABlevel 2
By
Ahmad A.Elhakeem Moustafa
Alexandria University
Faculty of EngineeringElectrical Engineering Department
Poer !ection
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 2/102
!"MU#"$%
1. Introductioni. Why SIMULINK?
ii. Opening SIMULINK
2. The commonly used loc!s
". #ddition$l loc!s
%. Sim&o'erSystems toolo(i. )uilding $nd Simul$ting $ Simple *ircuit
ii. )$sic &rinciples o+ *onnecting *$p$citors $nd Inductors
iii. Sep$r$tely e(cited ,* m$chines modeling
i-. M$chines simul$tion-. &o'er electronics simul$tion
. *ontrol
i. &I, controller
ii. ,* motor speed modeling in SIMULINK
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 3/102
!"MU#"$%
Introduction/Why SIMULINK?
oWe 'ill $ns'er 'ith this e($mple.
o0($mple consider the +ollo'ing circuit/
o With 3ero initi$l inductor current 4 5. 6 initi$l c$p$citor -olt$ge.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 4/102
!"MU#"$%
Introduction/Why SIMULINK?
oSo the SIMULINK 'ill help you to $n$ly3e it e$sily.
o)ut ho'?
i. Using Sim&o'erSystems toolo(.
ii. Modeling its di++erenti$l e7u$tions.
iii. 8
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 5/102
!"MU#"$%
Introduction/Why SIMULINK?
oUsing Sim&o'erSystems toolo(.o )uild your model.
o See the results.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 6/102
!"MU#"$%
Introduction/Why SIMULINK?
oModeling its di++erenti$l e7u$tions.
o )uild your model.
o See the results.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 7/102
!"MU#"$%
Introduction/Why SIMULINK?
"s it important &''
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 8/102
!"MU#"$%
Introduction/Opening SIMULINK
oOpen M#TL#)
oOn the M#TL#) screen select SIMULINK or 'rite
simulin! in the comm$nd 'indo'.
o9ou 'ill see the Simulin! Lir$ry )ro'ser.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 9/102
!"MU#"$%
Introduction/Opening SIMULINK
o&ress ne' to open $ ne' p$ge to st$rt your
simul$tion.
oSelect your loc!s +rom the Simulin! Lir$ry
)ro'ser.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 10/102
!"MU#"$%
The commonly used loc!sThe lir$ry cont$ins the sho'n/
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 11/102
!"MU#"$%
The commonly used loc!s
1 The Inport: Outport: $nd Susystem )loc!s
; 0($mple/; See the pre-ious e($mple/
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 12/102
!"MU#"$%
The commonly used loc!s
1 The Inport: Outport: $nd Susystem )loc!s
; 0($mple/; <roup $ll loc!s 'ithout Step 4 Scope loc!s $nd right
clic! on them then select *re$te Susystem.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 13/102
!"MU#"$%
The commonly used loc!s
1 The Inport: Outport: $nd Susystem )loc!s
; 0($mple/; ,oule clic! on the Susystem loc!.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 14/102
!"MU#"$%
The commonly used loc!s
2 The <round )loc!
; used to connect loc!s 'hose input ports $re not connected
to other loc!s.
" The Termin$tor )loc!
; used to c$p loc!s 'hose output ports $re not connected to
other loc!s.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 15/102
!"MU#"$%
The commonly used loc!s
% The *onst$nt $nd &roduct )loc!s
; The *onst$nt loc! is used to de+ine $ re$l or comple(
const$nt -$lue.
; The &roduct loc! per+orms multiplic$tion = or di-ision > o+
its inputs.
; 0($mple
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 16/102
!"MU#"$%
The commonly used loc!s
The Scope :)us *re$tor $nd )us Selector )loc!s
; The Scope loc! displ$ys '$-e+orms $s +unctions o+
simul$tion time.
; )us *re$tor loc!s to cre$te sign$l uses $nd )us Selector
loc!s to $ccess the components o+ $ us.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 17/102
!"MU#"$%
The commonly used loc!s
The Scope :)us *re$tor $nd )us Selector )loc!s; 0($mple
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 18/102
!"MU#"$%
The commonly used loc!s
The Scope :)us *re$tor $nd )us Selector )loc!s; Sin '$-e 8 1=sin2t
; The integr$l o+ the sine '$-e $ppe$rs 'ith $ ,* component
o+ -$lue 5. eing $dded to it.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 19/102
!"MU#"$%
The commonly used loc!s
The Scope :)us *re$tor $nd )us Selector )loc!s; Note +or the Scope
; Output is limited to the l$st 555 point y de+$ult
; ,$t$ could e sent to 'or!sp$ce put it in $ -$ri$le.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 20/102
!"MU#"$%
The commonly used loc!s
The Mu( $nd ,emu( )loc!s
; Mu( loc! comines its inputs into $ single output.; ,emu( loc! e(tr$cts the components o+ $n input sign$l $nd
outputs the components $s sep$r$te sign$ls.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 21/102
!"MU#"$%
The commonly used loc!s
The Mu( $nd ,emu( )loc!s; 0($mple
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 22/102
!"MU#"$%
The commonly used loc!s
@ The S'itch )loc!
; The S'itch loc! 'ill output the +irst input or the third input
depending on the -$lue o+ the second input .
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 23/102
!"MU#"$%
The commonly used loc!s
A The Sum )loc!
; This loc! per+orms $ddition or sutr$ction on its inputs.
B The <$in )loc!
; The <$in loc! multiplies the input y $ const$nt -$lue
g$in.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 24/102
!"MU#"$%
The commonly used loc!s
15 The Cel$tion$l Oper$tor )loc!
; The Cel$tion$l Oper$tor loc! per+orms the speci+iedcomp$rison o+ its t'o inputs.
11 The Logic$l Oper$tor )loc!
; The Logic$l Oper$tor loc! per+orms the speci+ied logic$l
oper$tion on its inputs.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 25/102
!"MU#"$%
The commonly used loc!s
12 The S$tur$tion )loc!
; The S$tur$tion loc! est$lishes upper $nd lo'er ounds +or$n input sign$l.
; 0($mple
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 26/102
!"MU#"$%
The commonly used loc!s
1" The Integr$tor )loc!
; The Integr$tor loc! integr$tes its input $nd it is used 'ithcontinuousDtime sign$ls.
; *on+igur$tion p$r$meters
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 27/102
!"MU#"$%
The commonly used loc!s
1" The Integr$tor )loc!; *on+igur$tion p$r$meters
Ceset condition
0n$le e(tern$l source
+or initi$l condition
Initi$l condition -$lue
Output s$tur$tion
con+igur$tion
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 28/102
!"MU#"$%
The commonly used loc!s
1% The Unit ,el$y )loc!
; The Unit ,el$y loc! del$ys its input y the speci+ied s$mpleperiod.
; 0($mple
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 29/102
!"MU#"$%
The commonly used loc!s1% The ,iscreteDTime Integr$tor )loc!
; The ,iscreteDTime Integr$tor loc! $llo's us to/
; ,e+ine initi$l conditions intern$l or input.
; ,e+ine $n input g$in K -$lue.
; Output the loc! st$te.; ,e+ine s$tur$tion -$lues.
; Ceset input.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 30/102
!"MU#"$%
The commonly used loc!s1 ,$t$ Types $nd The ,$t$ Type *on-ersion )loc!
; )uiltDin d$t$ types supported y SIMULINK
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 31/102
!"MU#"$%
The commonly used loc!s1 ,$t$ Types $nd The ,$t$ Type *on-ersion )loc!
; The ,$t$ Type *on-ersion loc! con-erts $n input sign$l o+$ny SIMULINK d$t$ type to the d$t$ type
; 0($mple
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 32/102
!"MU#"$%
#ddition$l loc!sThe St$teDSp$ce )loc! *ontinuous lir$ry
; The St$teDSp$ce loc! implements $ system de+ined y thest$teDsp$ce e7u$tions.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 33/102
!"MU#"$%
#ddition$l loc!sThe Tr$ns+er Ecn )loc! *ontinuous lir$ry
; The Tr$ns+er Ecn loc! implements $ tr$ns+er +unction.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 34/102
!"MU#"$%
#ddition$l loc!sThe FeroD&ole )loc! *ontinuous lir$ry
; The FeroD&ole loc! implements $ system 'ith the speci+ied
3eros: poles: $nd g$in in the sDdom$in.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 35/102
!"MU#"$%
#ddition$l loc!sThe S$tur$tion ,yn$mic )loc! ,iscontinuous lir$ry
; The S$tur$tion ,yn$mic loc! ounds the r$nge o+ the input
sign$l to upper $nd lo'er s$tur$tion -$lues.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 36/102
!"MU#"$%
#ddition$l loc!sThe ,e$d Fone )loc! ,iscontinuous lir$ry
; The ,e$d Fone loc! gener$tes 3ero output 'ithin $
speci+ied region: c$lled its de$d 3one.
; 0($mple de$d 3one 5. : G5.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 37/102
!"MU#"$%
#ddition$l loc!sThe ,e$d Fone ,yn$mic )loc! ,iscontinuous
lir$ry
; The ,e$d Fone ,yn$mic loc! dyn$mic$lly ounds the
r$nge o+ the input sign$l: pro-iding $ region o+ 3ero output.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 38/102
!"MU#"$%
#ddition$l loc!sThe C$te Limiter )loc! ,iscontinuous lir$ry
; The C$te Limiter loc! limits the +irst deri-$ti-e o+ the sign$l
p$ssing through it.
; 0($mple
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 39/102
!"MU#"$%
#ddition$l loc!sThe Hu$nti3er )loc! ,iscontinuous lir$ry
; The Hu$nti3er loc! p$sses its input sign$l through $
st$irDstep +unction.
; 0($mple
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 40/102
!"MU#"$%
#ddition$l loc!sThe it *rossing )loc! ,iscontinuous lir$ry
; The it *rossing loc! detects 'hen the input re$ches the
it crossing o++set
; 0($mple
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 41/102
!"MU#"$%
#ddition$l loc!sThe Integer ,el$y )loc! ,iscrete lir$ry
; The Integer ,el$y loc! del$ys its input y N s$mple periods.
; 0($mple
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 42/102
!"MU#"$%
#ddition$l loc!sThe ,iscrete Tr$ns+er Ecn )loc! ,iscrete lir$ry
; The ,iscrete Tr$ns+er Ecn loc! implements the FDtr$ns+orm
tr$ns+er +unction.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 43/102
!"MU#"$%
Sim&o'erSystems toolo()uilding $nd Simul$ting $ Simple *ircuit/
Simul$te the +ollo'ing circuit/
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 44/102
!"MU#"$%
Sim&o'erSystems toolo()uilding $nd Simul$ting $ Simple *ircuit/
Simul$te the +ollo'ing circuit/
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 45/102
!"MU#"$%
Sim&o'erSystems toolo()uilding $nd Simul$ting $ Simple *ircuit/
Simul$te the +ollo'ing circuit/
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 46/102
!"MU#"$%
Sim&o'erSystems toolo()uilding $nd Simul$ting $ Simple *ircuit/
Simul$te the +ollo'ing circuit/
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 47/102
!"MU#"$%
Sim&o'erSystems toolo()uilding $nd Simul$ting $ Simple *ircuit/
Simul$te the +ollo'ing circuit/
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 48/102
!"MU#"$%
Sim&o'erSystems toolo()uilding $nd Simul$ting $ Simple *ircuit/
Simul$te the +ollo'ing circuit/
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 49/102
!"MU#"$%
Sim&o'erSystems toolo()uilding $nd Simul$ting $ Simple *ircuit/
Simul$te the +ollo'ing circuit/
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 50/102
!"MU#"$%
Sim&o'erSystems toolo()uilding $nd Simul$ting $ Simple *ircuit/
Simul$te the +ollo'ing circuit/
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 51/102
!"MU#"$%
Sim&o'erSystems toolo()uilding $nd Simul$ting $ Simple *ircuit/
Simul$te the +ollo'ing circuit/
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 52/102
!"MU#"$%
Sim&o'erSystems toolo()uilding $nd Simul$ting $ Simple *ircuit/
Simul$te the +ollo'ing circuit/
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 53/102
!"MU#"$%
Sim&o'erSystems toolo()uilding $nd Simul$ting $ Simple *ircuit/
Simul$te the +ollo'ing circuit/
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 54/102
!"MU#"$%
Sim&o'erSystems toolo()uilding $nd Simul$ting $ Simple *ircuit/
Simul$te the +ollo'ing circuit/
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 55/102
!"MU#"$%
Sim&o'erSystems toolo()$sic &rinciples o+ *onnecting *$p$citors $nd
Inductors/; # -olt$ge source to e connected in p$r$llel 'ith $ c$p$citor.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 56/102
!"MU#"$%
Sim&o'erSystems toolo()$sic &rinciples o+ *onnecting *$p$citors $nd
Inductors/; # -olt$ge source to e connected in p$r$llel 'ith $ c$p$citor.
; #dd $ sm$ll resist$nce in series et'een the -olt$ge
source $nd the c$p$citors.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 57/102
!"MU#"$%
Sim&o'erSystems toolo()$sic &rinciples o+ *onnecting *$p$citors $nd
Inductors/; # current source to e connected in series 'ith $n inductor.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 58/102
!"MU#"$%
Sim&o'erSystems toolo()$sic &rinciples o+ *onnecting *$p$citors $nd
Inductors/; # current source to e connected in series 'ith $n inductor.
; #dd $ l$rge resist$nce in p$r$llel 'ith the inductor.
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 59/102
!"MU#"$%
Sim&o'erSystems toolo(Sep$r$tely e(cited ,* m$chines modeling
Method1 open loop
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 60/102
!"MU#"$%
Sim&o'erSystems toolo(Sep$r$tely e(cited ,* m$chines modeling
Method2 open loop
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 61/102
!"MU#"$%
Sim&o'erSystems toolo(Sep$r$tely e(cited ,* m$chines modeling
*losed loop
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 62/102
!"MU#"$%
Sim&o'erSystems toolo(M$chines simul$tion
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 63/102
!"MU#"$%
Sim&o'erSystems toolo(M$chines simul$tion
,* m$chines
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 64/102
!"MU#"$%
Sim&o'erSystems toolo(M$chines simul$tion
,* m$chines
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 65/102
!"MU#"$%
Sim&o'erSystems toolo(M$chines simul$tion
,* m$chines
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 66/102
!"MU#"$%
Sim&o'erSystems toolo(M$chines simul$tion
,* m$chines
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 67/102
!"MU#"$%
Sim&o'erSystems toolo(M$chines simul$tion
,* m$chinesSt$rting using st$rting resist$nces
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 68/102
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 69/102
!"MU#"$%
Sim&o'erSystems toolo(M$chines simul$tion
,* m$chinesSt$rting using st$rting resist$nces
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 70/102
!"MU#"$%
Sim&o'erSystems toolo(M$chines simul$tion
#* m$chines Induction m$chines
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 71/102
!"MU#"$%
Sim&o'erSystems toolo(M$chines simul$tion
#* m$chinesSynchronous m$chines
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 72/102
!"MU#"$%
Sim&o'erSystems toolo(&o'er electronics simul$tion
Single ph$se h$l+ '$-e recti+ier uncontrolled
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 73/102
!"MU#"$%
Sim&o'erSystems toolo(&o'er electronics simul$tion
Single ph$se h$l+ '$-e recti+ier uncontrolledWith $ EW,
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 74/102
!"MU#"$%
Sim&o'erSystems toolo(&o'er electronics simul$tion
Single ph$se h$l+ '$-e recti+ier uncontrolledWithout $ EW,
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 75/102
!"MU#"$%
Sim&o'erSystems toolo(&o'er electronics simul$tion
Single ph$se h$l+ '$-e recti+ier controlled
Eiring control
Eiring $ngle
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 76/102
!"MU#"$%
Sim&o'erSystems toolo(&o'er electronics simul$tion
Single ph$se h$l+ '$-e recti+ier controlledEor $lph$J5
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 77/102
!"MU#"$%
Sim&o'erSystems toolo(&o'er electronics simul$tion
Single ph$se h$l+ '$-e recti+ier controlledEor $lph$J%
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 78/102
!"MU#"$%
Sim&o'erSystems toolo(&o'er electronics simul$tion
Single ph$se h$l+ '$-e recti+ier controlledEor $lph$J125
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 79/102
!"MU#"$%
Sim&o'erSystems toolo(&o'er electronics simul$tion
Single ph$se +ull '$-e recti+ier uncontrolled
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 80/102
!"MU#"$%
Sim&o'erSystems toolo(&o'er electronics simul$tion
Single ph$se +ull '$-e recti+ier uncontrolled
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 81/102
!"MU#"$%
Sim&o'erSystems toolo(&o'er electronics simul$tion
Single ph$se +ull '$-e recti+ier +ully controlled
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 82/102
!"MU#"$%
Sim&o'erSystems toolo(&o'er electronics simul$tion
Three ph$se h$l+ '$y recti+ier +ully controlled
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 83/102
!"MU#"$%
Sim&o'erSystems toolo(&o'er electronics simul$tion
Three ph$se +ull '$y recti+ier h$l+ controlled
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 84/102
!"MU#"$%
Sim&o'erSystems toolo(&o'er electronics simul$tion
Three ph$se +ull '$y recti+ier +ully controlled
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 85/102
!"MU#"$%
Sim&o'erSystems toolo(&o'er electronics simul$tion
#* -olt$ge controller
In-erters
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 86/102
!"MU#"$%
*ontrol&I, controller
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 87/102
!"MU#"$%
*ontrol&I, controller
# proportion$l controller Kp 'ill h$-e the e++ect o+ reducing the rise
time $nd 'ill reduce ut ne-er elimin$te the ste$dyGst$te error . #n integr$l control Ki 'ill h$-e the e++ect o+ elimin$ting the ste$dyG
st$te error: ut it m$y m$!e the tr$nsient response 'orse. # deri-$ti-e control Kd 'ill h$-e the e++ect o+ incre$sing the
st$ility o+ the system: reducing the o-ershoot: $nd impro-ing the
tr$nsient response.
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 88/102
!"MU#"$%
*ontrol,* motor speed modeling in SIMULINK
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 89/102
!"MU#"$%
*ontrol,* motor speed modeling in SIMULINK
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 90/102
!"MU#"$%
*ontrol,* motor speed modeling in SIMULINK
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 91/102
!"MU#"$%
*ontrol,* motor speed modeling in SIMULINK
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 92/102
!"MU#"$%
*ontrol,* motor speed modeling in SIMULINK
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 93/102
!"MU#"$%
*ontrol,* motor speed modeling in SIMULINK
J5.51
J5.1
KJ5.51
CJ1
LJ5.
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 94/102
!"MU#"$%
*ontrol,* motor speed modeling in SIMULINK
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 95/102
!"MU#"$%
*ontrol,* motor speed modeling in SIMULINK
0(tr$cting $ line$r model into M#TL#)
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 96/102
!"MU#"$%
*ontrol,* motor speed modeling in SIMULINK
0(tr$cting $ line$r model into M#TL#)
#:):*:,JlinmodP,*motorQmodelingP
# J
G15.5555 1.5555
G5.5255 G2.5555
) J
5
2
* J
1 5
, J
5
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 97/102
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 98/102
!"MU#"$%
*ontrol,* motor speed modeling in SIMULINK
0(tr$cting $ line$r model into M#TL#)
stepnum:den
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 99/102
*ontrol,* motor speed modeling in SIMULINK
0(tr$cting $ line$r model into M#TL#)
sysJt+num:den
Tr$ns+er +unction/
2
GGGGGGGGGGGGGGGGGG
sR2 12 s 25.52
rlocussys
$(isG22 " G1 1
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 100/102
*ontrol,* motor speed modeling in SIMULINK
0(tr$cting $ line$r model into M#TL#)
3et$J5.A
WnJ2
sgrid3et$: Wn
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 101/102
*ontrol,* motor speed modeling in SIMULINK
0(tr$cting $ line$r model into M#TL#)
!:poles J rloc+indsys
Select $ point in the gr$phics 'indo'
selectedQpoint J
G.B@1 1.5@1%i
! J
A."@
poles J
G.5555 1.5@12i
G.5555 G 1.5@12i
!"MU#"$%
7/21/2019 Matlab Level 2
http://slidepdf.com/reader/full/matlab-level-2 102/102
*ontrol
,* motor speed modeling in SIMULINK 0(tr$cting $ line$r model into M#TL#)
sysQclJ +eed$c!!=sys:1
Tr$ns+er +unction/
GGGGGGGGGGGGGGGGGG
sR2 12 s "@.1
stepsysQcl