Professional Documents
Culture Documents
Workshop
Matlab/Simulink in Drives
and Power electronics
Lecture 2 : Introduction to Simulink
Workshop Program
• 8 lectures will be presented based on Matlab/Simulink :
– 1 Introduction to Matlab
– 2 Introduction to Simulink
– 3 DC-Motor Control design
– 4 DC-Motor Chopper design SimPowerSystems
– 5 Introduction to Stateflow/Statechart
– 6 Induction Motor Inverter Control
– 7 Synchronous Motor Modeling
– 8 Synchronous Motor Control
• Two system applications (four quadrants electric drives of
mechanical systems) will be used as "conducting lines" during
the workshop.
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics – Lecture 2 2 / 19
Palestine Polytechnic University
? SIMULINK ?
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics – Lecture 2 3 / 19
Palestine Polytechnic University
La
Speed Ω Load inertia JL
U Ra Resistant Torque TL
Electrical Torque Te
Friction Torque TF
Motor Inertia JM
Torque Constant Ke
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics – Lecture 2 4 / 19
Palestine Polytechnic University
DC-SEVOMOTOR RX620J
Ke = 0.49 Nm/A
tf = 0.18 N.m
kf = 4.610-4N.m.s
Ra = 0.49 Ω
La = 4.3 mH
JM = 0.0035 kg.m2
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics – Lecture 2 5 / 19
Palestine Polytechnic University
Equations:
U = E + Ra.Ia + La.dIa/dt
E = Ke. Ω
Te = Ke.Ia
J = JM + JL
TF = sign(Ω).tf + kf.Ω
Te = TF + TL + J.dΩ/dt
Simulation model: TL J
U Ia Te - :
1 Ke + x 1 Ω
+ -
- Ra+La.s s
E
TF= Tf +kf*Ω
Ke
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics – Lecture 2 6 / 19
Palestine Polytechnic University
Starting SIMULINK
1-Click "Simulink " to open the Simulink Library Browser
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics – Lecture 2 7 / 19
Palestine Polytechnic University
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics – Lecture 2 8 / 19
Palestine Polytechnic University
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics – Lecture 2 9 / 19
Palestine Polytechnic University
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics – Lecture 2 10 / 19
Palestine Polytechnic University
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics – Lecture 2 11 / 19
Palestine Polytechnic University
1- Create a M-file
named DC_PM_motor_init.m
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics – Lecture 2 12 / 19
Palestine Polytechnic University
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics – Lecture 2 13 / 19
Palestine Polytechnic University
Starting simulation
End of simulation
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics – Lecture 2 14 / 19
Palestine Polytechnic University
Parameters
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics – Lecture 2 15 / 19
Palestine Polytechnic University
time
Solution 2: w
The "To Wokspace" function block
allows the same saving of data,
without screen display
Use Array Format for easier use
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics – Lecture 2 16 / 19
Palestine Polytechnic University
2- Select
"Create Subsystem"
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics – Lecture 2 17 / 19
Palestine Polytechnic University
3- Model is modify
automaticaly
- Input Port
- Output Port
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics – Lecture 2 18 / 19
Palestine Polytechnic University
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics – Lecture 2 19 / 19