Project - Position control of mass spring damper system
Q.1
the transfer function of a mass spring damper system and use it in the model.
Add a PID controller to adjust the force on mass so that its position follows a reference signal
use the following blocks is the spring mass damper system model of matlab.
the block,integrator block,clock block,pid controller block, sum block,
workspace block,scope block,pulse genrator block
here is the inputs which is provide for the spring mass damper system
m = 3.6; %kg
k = 400; %N/m
c = 100; %Ns/m
using all the prameters we calculate the value of this
[here is imege which is uplode below ]
%> < >% >
< class><!-- [if mso]>
<![endif]-->
<![endif]-->
<![endif]-->
<![endif]-->
<![endif]-->
<![endif]-->
<![endif]-->
<![endif]-->
<![endif]-->
the model of the spring mass damper system
[here is imege which is uplode below ]
the output wavefprm of this
[here is imege which is uplode below ]
conclusion
to complision of this spring mass damper sytsem a PID controller to track a reference signal in a mass spring damper system. The PID controller was able to track the reference signal very closely, with very little overshoot or oscillation and PID controller is a simple but effective way to control systems.