Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Ghislain REMY
18-21 May 2009
Jean DEPREZ
1 / 19
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
? SIMULINK ?
SIMULINK is a complement of the MATLAB kernel, which gives a graphic interface to model dynamical systems using a block schematic representation. Using the numerous basic blocks available, it is possible to create simulation models without writing any lines of programming code. Specialized libraries Blocksets are available for specific purposes (Ex : SimPowerSystems, FuzzyLogic, DSP-Target ) The open architecture allows to extend the simulation environment by: - Creating customized blocs and libraries from MATLAB, Fortran, C or graphic representation, - C codes generation from Simulink simulation models Several tools are available for the signal analysis
3 / 19
DC-SEVOMOTOR
RX620J
5 / 19
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: U + E TF= Tf +kf* Ke
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics Lecture 2 6 / 19
TL
1 Ra+La.s
Ia Ke
Te
1 s
Starting SIMULINK
1-Click "Simulink " to open the Simulink Library Browser
7 / 19
8 / 19
9 / 19
The Most use Input Signal types are : Constant Step Sin Wave
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics Lecture 2 10 / 19
The Most use Output Signal types are : Scope To Workspace Terminator XY Graph
11 / 19
The values of Ra, La, Ke, tf and kf are then stored in the workspace.
18-21 May 2009 Workshop Matlab/Simulink in Drives and Power electronics Lecture 2 12 / 19
Starting simulation
End of simulation
14 / 19
Parameters
!
18-21 May 2009
By default, the number of points recorded is limited to the 5000 last points !!! (see parameters)
Workshop Matlab/Simulink in Drives and Power electronics Lecture 2 15 / 19
time Solution 2: w The "To Wokspace" function block allows the same saving of data, without screen display Use Array Format for easier use
Workshop Matlab/Simulink in Drives and Power electronics Lecture 2 16 / 19
17 / 19
Subsytem Port names are the Port names 4- Inside the Subsystem Connections are added: - Input Port - Output Port
18 / 19
5- Rearrange the icons Rename the subsystem Rearrange and rename inputs and outputs
19 / 19