0% found this document useful (0 votes)
8 views4 pages

Exp 02 EEE3106

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views4 pages

Exp 02 EEE3106

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Heaven’s Light is Our Guide

Rajshahi University of Engineering &


Technology

Department of Electrical & Electronic Engineering


Course No: EEE 3106

Course Name: Control systems sessional.

Experiment No: 02

Experiment Name: Analyzing the dynamics of a physical system (Mechanical


system).

Date of experiment: 13 March 2022


Date of Submission: 27 March 2022

Submitted By: Submitted To:


MD. Saim Aktar Himel Dr. MD. Sohel Rana
Roll: 1801161 Professor,
Section: C Dept. of EEE,
Group: 2nd 30 Rajshahi University of Engineering &
Series: 18
Technology
(Ruet).
Experiment No.: 02
2.1 Name of the Experiment:
Analyzing the dynamics of a physical system (Mechanical system)

2.2 Objectives:
I. To observe the dynamics of the mechanical system
II. To know how to find the equations of the mechanical system
III. To know how to design the block diagram of the mechanical system in Simulink
IV. To know how to export data from the Simulink diagram
V. To control the loss in the system

2.3 Theory:
Mass spring damper system is a mechanical system. In this system a mass M is hanged by spring and then
the force F is applied. To limit the oscillation of this system a damper is used whose constant is B and the
spring constant is k. In this system the force F is acting as an input for this system and the displacement of
the mass is acting as an output.
As figure,
u(t) = Force or input
y(t) =Displacement
k = spring constant
B = Damping constant
M = Mass

Now from the analysis of the figure,

Laplace transform of the equation,

Hence the transfer function of the system, Fig 2.1 Mass spring damper system as a
mechanical system.

2.3.1 Code in Matlab:


clc;
M=2;
K=16;
B=4;
x= plot(out.y);
disp(out.y)
2.3.2 Block diagram of this system:

Fig.2.2 Block diagram of the mass spring damper system

2.4 Output:
i.

Fig.2.3 Output in the command window

ii. Displacement vs time plotting


0.09

0.08

0.07

0.06
Displacement

0.05

0.04

0.03

0.02

0.01

0
0 1 2 3 4 5 6 7 8 9 10
Time

Fig.2.4 Output graph of displacement vs time


2.5 Discussion:
In this experiment we generated equation of dynamics of the mass spring damper system and then we
implemented the dynamic equation in Simulink as a block. In Simulink we used unit step function as a
triggering function. Then we gave some estimated values of the constant of the system such as the spring
constant k= 16 N/m, damping constant B= 4 Ns/m , mass M= 4kg through the matlab code in ‘.m’ file. Here
we used ‘To workspace’ to export the data from the Simulink to the main page of the matlab. Then we
plotted the using plot command and exhibited the output using ‘disp’ command. In the graph, we saw that
the output was unstable till near about 6.7 second and after that it reached the stable state. And one more
thing we saw in the graph that for the ‘unity’ input we got near about 0.085. So, it can be said that there was
mechanical loss in the system.

You might also like