10-11-2012, 11:32 AM
Getting started with Simulink
Getting started.pptx (Size: 770.2 KB / Downloads: 33)
Introduction to Simulink
Simulink is a graphical, “drag and drop” environment for building simple and complex signal and system dynamic simulations.
It allows users to concentrate on the structure of the problem, rather than having to worry (too much) about a programming language.
The parameters of each signal and system block is configured by the user (right click on block)
Signals and systems are simulated over a particular time.
Create a new model
Click the new-model icon in the upper left corner to start a new Simulink file
Select the Simulink icon to obtain elements of the model
Displaying Things
Can use the “scope” attached to any signal.
Use the “Autoscale” function that appears as binoculars in order to look at the results of the entire simulations
Click on the “X”, the “Y” or the “zoom” functions to look at any specific part of the simulation
Create the simulation diagram
On the following slides:
The simulation diagram for solving the ODE is created step by step.
After each step, elements are added to the Simulink model.
Optional exercise: first, sketch the complete diagram (5 min.)
Check simulation results
Damping ratio of 0.5 is less than 1.
Expect the system to be underdamped.
Expect to see overshoot.
Static gain is 1.
Expect output magnitude to equal input magnitude.
Input has magnitude 3, so does output.
Simulation results conform to expectations.