102
7/21/2019 Matlab Level 2 http://slidepdf.com/reader/full/matlab-level-2 1/102 MATLAB level 2 By Ahmad A.Elhakeem Moustafa Alexandria University Faculty of Engineering Electrical Engineering Department Poer !ection

Matlab Level 2

Embed Size (px)

DESCRIPTION

Matlab simulink

Citation preview

Page 1: 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

Page 2: Matlab Level 2

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

Page 3: Matlab Level 2

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.

Page 4: Matlab Level 2

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

Page 5: Matlab Level 2

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.

Page 6: Matlab Level 2

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.

Page 7: Matlab Level 2

7/21/2019 Matlab Level 2

http://slidepdf.com/reader/full/matlab-level-2 7/102

!"MU#"$%

Introduction/Why SIMULINK?

 

"s it important &''

Page 8: Matlab Level 2

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.

Page 9: Matlab Level 2

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.

Page 10: Matlab Level 2

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/

Page 11: Matlab Level 2

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/

Page 12: Matlab Level 2

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.

Page 13: Matlab Level 2

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!.

Page 14: Matlab Level 2

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.

Page 15: Matlab Level 2

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

Page 16: Matlab Level 2

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.

Page 17: Matlab Level 2

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

Page 18: Matlab Level 2

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.

Page 19: Matlab Level 2

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.

Page 20: Matlab Level 2

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.

Page 21: Matlab Level 2

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

Page 22: Matlab Level 2

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 .

Page 23: Matlab Level 2

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.

Page 24: Matlab Level 2

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.

Page 25: Matlab Level 2

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

Page 26: Matlab Level 2

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

Page 27: Matlab Level 2

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

Page 28: Matlab Level 2

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

Page 29: Matlab Level 2

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.

Page 30: Matlab Level 2

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

Page 31: Matlab Level 2

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

Page 32: Matlab Level 2

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.

Page 33: Matlab Level 2

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.

Page 34: Matlab Level 2

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.

Page 35: Matlab Level 2

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.

Page 36: Matlab Level 2

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.

Page 37: Matlab Level 2

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.

Page 38: Matlab Level 2

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

Page 39: Matlab Level 2

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

Page 40: Matlab Level 2

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

Page 41: Matlab Level 2

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

Page 42: Matlab Level 2

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.

Page 43: Matlab Level 2

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/

Page 44: Matlab Level 2

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/

Page 45: Matlab Level 2

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/

Page 46: Matlab Level 2

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/

Page 47: Matlab Level 2

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/

Page 48: Matlab Level 2

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/

Page 49: Matlab Level 2

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/

Page 50: Matlab Level 2

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/

Page 51: Matlab Level 2

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/

Page 52: Matlab Level 2

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/

Page 53: Matlab Level 2

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/

Page 54: Matlab Level 2

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/

Page 55: Matlab Level 2

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.

Page 56: Matlab Level 2

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.

Page 57: Matlab Level 2

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.

Page 58: Matlab Level 2

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.

Page 59: Matlab Level 2

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

Page 60: Matlab Level 2

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

Page 61: Matlab Level 2

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

Page 62: Matlab Level 2

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

Page 63: Matlab Level 2

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

Page 64: Matlab Level 2

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#"$%

Page 65: Matlab Level 2

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#"$%

Page 66: Matlab Level 2

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#"$%

Page 67: Matlab Level 2

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

Page 68: Matlab Level 2

7/21/2019 Matlab Level 2

http://slidepdf.com/reader/full/matlab-level-2 68/102

!"MU#"$%

Page 69: Matlab Level 2

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#"$%

Page 70: Matlab Level 2

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#"$%

Page 71: Matlab Level 2

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#"$%

Page 72: Matlab Level 2

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#"$%

Page 73: Matlab Level 2

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#"$%

Page 74: Matlab Level 2

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#"$%

Page 75: Matlab Level 2

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#"$%

Page 76: Matlab Level 2

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#"$%

Page 77: Matlab Level 2

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#"$%

Page 78: Matlab Level 2

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#"$%

Page 79: Matlab Level 2

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#"$%

Page 80: Matlab Level 2

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#"$%

Page 81: Matlab Level 2

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#"$%

Page 82: Matlab Level 2

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#"$%

Page 83: Matlab Level 2

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#"$%

Page 84: Matlab Level 2

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#"$%

Page 85: Matlab Level 2

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#"$%

Page 86: Matlab Level 2

7/21/2019 Matlab Level 2

http://slidepdf.com/reader/full/matlab-level-2 86/102

!"MU#"$%

*ontrol&I, controller 

!"MU#"$%

Page 87: Matlab Level 2

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#"$%

Page 88: Matlab Level 2

7/21/2019 Matlab Level 2

http://slidepdf.com/reader/full/matlab-level-2 88/102

!"MU#"$%

*ontrol,* motor speed modeling in SIMULINK

!"MU#"$%

Page 89: Matlab Level 2

7/21/2019 Matlab Level 2

http://slidepdf.com/reader/full/matlab-level-2 89/102

!"MU#"$%

*ontrol,* motor speed modeling in SIMULINK

!"MU#"$%

Page 90: Matlab Level 2

7/21/2019 Matlab Level 2

http://slidepdf.com/reader/full/matlab-level-2 90/102

!"MU#"$%

*ontrol,* motor speed modeling in SIMULINK

!"MU#"$%

Page 91: Matlab Level 2

7/21/2019 Matlab Level 2

http://slidepdf.com/reader/full/matlab-level-2 91/102

!"MU#"$%

*ontrol,* motor speed modeling in SIMULINK

!"MU#"$%

Page 92: Matlab Level 2

7/21/2019 Matlab Level 2

http://slidepdf.com/reader/full/matlab-level-2 92/102

!"MU#"$%

*ontrol,* motor speed modeling in SIMULINK

!"MU#"$%

Page 93: Matlab Level 2

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#"$%

Page 94: Matlab Level 2

7/21/2019 Matlab Level 2

http://slidepdf.com/reader/full/matlab-level-2 94/102

!"MU#"$%

*ontrol,* motor speed modeling in SIMULINK

!"MU#"$%

Page 95: Matlab Level 2

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#"$%

Page 96: Matlab Level 2

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

Page 97: Matlab Level 2

7/21/2019 Matlab Level 2

http://slidepdf.com/reader/full/matlab-level-2 97/102

!"MU#"$%

Page 98: Matlab Level 2

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#"$%

Page 99: Matlab Level 2

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#"$%

Page 100: Matlab Level 2

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#"$%

Page 101: Matlab Level 2

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#"$%

Page 102: Matlab Level 2

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/

  [email protected]"

GGGGGGGGGGGGGGGGGG

sR2 12 s "@.1

 

stepsysQcl