SlideServe
Menu
Préférences
© SlideServe · v2026

SIMULINK

neva avatar
18 diapositives · 841 Views · Jan 15, 2014

SIMULINK. Dr. Samir Al-Amer. SIMULINK. SIMULINK is a power simulation program that comes with MATLAB Used to simulate wide range of dynamical systems. To run SIMULINK Run MATLAB Click on the SIMULINK icon on tool bar SIMULINK automatically open a work file and the main libraries.

SIMULINK - slide 1
01 / 18SIMULINK
1 / 17

Télécharger la présentation

SIMULINK
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. SIMULINK Dr. Samir Al-Amer

  2. SIMULINK • SIMULINK is a power simulation program that comes with MATLAB • Used to simulate wide range of dynamical systems • To run SIMULINK • Run MATLAB • Click on the SIMULINK icon on tool bar • SIMULINK automatically open a work file and the main libraries.

  3. To be able to use SIMULINK • You need to learn to do the following • manipulate blocks • use blocks to build models • run simulation • modify simulation parameters

  4. SIMULINK BASICS • A systems is represented by a block diagram • You select the block from a library of blocks • You need to know the library that contains the block that you need • click on the library name and you will see a list of blocks in that library • click on the block that you want and drag it to the work file • click on the block to select its parameters • Connect it to other blocks

  5. SIMULINK LIBRARIES • Sources • Sinks • Continuous • Discrete • Function & Tables • Math • Nonlinear • Signals & Systems • Subsystems

  6. General Procedure • Open the library that contains the block of interest • Click on the block that you need and drag it to the work area • Click the left mouse button to see and modify the block parameters. • You can do the above by clicking the right button and select the block parameters. • Connect the input and outputs of the block

  7. SIMULINK LIBRARIES • Sources Used to generate input signals • Sinks Used to display results/signals • Continuous To represent continuous systems • Discrete To represent discrete systems • Math Some mathematical functions

  8. Sourceto generate input signals • Step to generate step input • Ramp to generate ramp input • sine Wave to generate sine wave input • Clock • Constant • Pulse generator • Signal Generator • …

  9. Constant (SOURCE LIBRARY) • The output of the constant block is a constant number Select the source library click on the constant block drag the block to the work file click on the block update the parameters of the block (change the constant) Connect the block to other blocks Constant

  10. Step (SOURCE LIBRARY) • The output of the step block is step function. User can select step time, initial value (value before step time) and final value (the value after) Select the source library click on the step block drag the block to the work file click on the block update the parameters of the block (change the step time, Initial value and final value ) Connect the block to other blocks step

  11. Linear • SUM • GAIN • Derivative • Integrator • State Space • Transfer function • …

  12. Gain (Linear library) • Gain select linear library drag the GAIN to the work file click on GAIN to select the gain. You can rotate gain block connect it to other blocks K gain

  13. Integrator (Linear library) • INTEGRATOR select linear library drag the INTEGRATOR to the work file You can adjust initial conditions if needed. connect it to other blocks integrator

  14. Sink • Display displays the numerical value of the signal • Scope plot the signal • To File save in a file • To Workspace store the signal in a MATLAB variable in the MATLAB workspace

  15. Sink • To Workspace store the signal in a MATLAB variable in the MATLAB workspace. workspace. This is very useful when you want to do further processing to the result of the simulation. ---click on the box to select the variable name---

  16. Block diagrams for SIMULINK Simulation • simulate the following system

  17. Example + - - sin integrator sum integrator 2 gain adjust gain , sum and sine blocks

  18. Do the three exercises in the handout