control lab 3
control lab 3
NAME
REG #:
Marks
EXPERIMENT NO 03
fit. If not, the symbol - k - is used. The value used in each gain block is established in a dialog
box that appears if the user double-clicks on its block.
The MATLAB Control System Toolbox offers functions for finding the transfer functions from a
given block diagram. However, as we shall shortly see, the simulation environment provided by
MATLAB’s Simulink Toolkit obviates the need for block diagram reduction. The Simulink model
mimics the block diagram of a feedback control system and is used to evaluate the response of
controlled variable to any test input. It also provides the response of any internal variable of the
control system (output variable of a subsystem block) without the need for block diagram
reduction.
LAB MANUAL EE-340L CONTROL SYSTEMS
Exercise 1:
Lab Task :
a) Construct a Simulink diagram to calculate the response of the Mass-Spring system.
The input force increases from 0 to 8 N at t = 1 s. The parameter values are M = 2 kg,
K= 16 N/m, and B =4 N.s/m.
LAB MANUAL EE-340L CONTROL SYSTEMS
b) Analyze the step response of the Mass-Spring system using transfer function in
Simulink. The input force increases from 0 to 8 N at t = 1 s. The parameter values are
M = 2 kg, K= 16 N/m, and B =4 N.s/m.
c) Simulate and compare the results of the variations in part b. Take values of B = 4, 8,
12, 25 N-s/m.