You are on page 1of 2

Control Systems

Lab Instructor : Hussain Asif


Lab : 03
Introduction To Simulink Basics
References
Control Systems Engineering (6th edition) by Norman S. Nise.

Objectives:
 To make model of dynamic systems in MATLAB using the Simulink Toolbox Library.
 To simulate and analyze the responses of the LTI systems through step, ramp and
parabolic inputs and show them on the scope.

Required Software:
MATLAB, Simulink and the Control System Toolbox

Explanation:
Simulink is an extension of MATLAB. It is used in MATLAB for modelling, simulating and
analyzing the dynamical systems under a GUI environment. Its primary interface is a graphical
block diagramming tool and a customizable set of block libraries. It offers tight integration with
the rest of the MATLAB environment and can either drive MATLAB or be scripted from it.
The Simulink Tool Box can be open by using SIMULINK command in the command window.

SIMULINK Window and Library:


Simulink tool box has a wide range of building blocks for designing purposes in its library. The
blocks can be dragged from the library to the Simulink design window to make the design and
the blocks can be connected to each other via lines which can easily be made by clicking the
ports of the block and dragging the line towards another block.

Conversion of SIMULINK Design into MATLAB Command Window


System Parameters:
The models which we make on the SIMULINK design window can be converted and
manipulated in the MATLAB command window by using the LINMOD command. The syntax is:
Linmod(‘File name’)
In the LINMOD syntax, we include the name of the file by which the SIMULINK design has been
saved so that the MATLAB can extract the data of the design from that specific file into the
MATLAB command window.

TASKS:
(1) Construct an LTI model of unity feedback system on the SIMULINK design window using the
SIMULINK library and then check its step response on the scope for the system given below.

1
𝑚𝑠 2 + 𝑏𝑠 + 𝐾
For m=2, b=2 and K=10.
(2) Call the file of SIMULINK design made in Task (1) into command window system parameter
and convert the parameters into Transfer Function Representation.

(3) Derive a transfer function for the system given below:

You might also like