Session 7
Session 7
Session VII
Introduction to SIMULINK
Rajeev Madazhy
Email: [email protected]
Introduction to Simulink
Solving simple problems using Simulink
To add the first block to the diagram, point the mouse at the Sine
Wave block in the Sources library window and press the left button.
In general the inputs to a block are on the left a > symbol points
into the block. In addition, outputs are generally on to the right, a
> symbol out of the block.
Amplitude = 1
Frequency (rad/sec) = 0.25*2*pi
Phase(rad) = 0
Sample time = 0
To view the results of the simulation, double click on the scope block.
To better fit the display in the scope window, click on the ‘Fit View’
button . The scope window should similar to the following.
d2 d
2 2
y (t ) 2 n
y (t ) n
y (t ) K n
u (t )
dt 2
dt
Given that:
K 1; 0.5; n 4
Similarly give the gains for the second and the third one as
shown in the model window.
Mastering Simulink 4
James B. Dabney & Thomas L. Harman
ISBN 0-13-017085-2