Spring Damping On Matlab Platform
Spring Damping On Matlab Platform
Objectives:
1. To determine the dynamics of a mass-spring-damper system.
2. To express the dynamics in Simulink platform
Theory:
The mass of the dynamic system is lumped into a single point mass in the MSD
system. The inertial effect of the dynamic system is related through this lumped
mass.
The stored energy/internal energy of the dynamic system is modelled as a one-
dimensional spring in the MSD system. The spring is able to store energy inside
when it is stretched or compressed from its original length.
The energy dissipated out of the dynamic system is modelled through a one-
dimensional damper in the MSD system. The viscous damper, for instance, is able
to dissipate energy as heat outside the dynamic system.
These three components, mass, spring and the damper can model any dynamic
response situation in a general sense. Mathematically the linear dynamic equation
of equilibrium is represented as
M ÿ ( t )+ D ẏ ( t )+ Ky ( t ) =f
1 D K
⇒ ÿ ( t )= f − ẏ ( t ) − y (t)
M M M
Where-
ÿ ( t ) =Acceleration
ẏ ( t ) =velocity
y ( t ) =Displacement
Simulation :
For simulation we used the values given bellow
M= 16
D= 4
K=2
outpur
input
1
displacement
0.5
0
0 10 20 30 40 50 60 70 80 90 100
Time (seconds)
Discussion:
The external force was a unit step that was delayed by 1 second. In command
window, the plot() function was used to show the output of the scope. There was
2 integrator blocks, 1 summer, 3 gain blocks, 1 mux and 1 scope.
Precautions:
1. The block diagram was represented carefully.
2. The values were given to the blocks as assumed.