Challenge

Project - Position control of mass spring damper system

Aim :   

                To design the project of position control of mass spring damper system using matlab simulink model of 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.

Steps:

1.we build spring mass damper systerm using PID controller blocks Proportional, Integral, Derivative blocks.

2.We give input signal through pulse generator and we get referal signal in the scope.

3.we get Kd,kp values by using pole method, and we gave Ki =1500 and we run the simulink.

Simulink model:

M-Script:

m=3.6; % Mass in Kg
k=400; % Spring stiffness in N/m
c=100; �mping constnt in Ns/m
<!-- [if mso]>
<![endif]-->
% State space system matrices
A=[0 1; -k/m -c/m];
B=[0; 1/m];
C=[0 1];
D=[0];
<!-- [if mso]>
<![endif]-->
% Natural frequency & damping ratio
wn=sqrt(k/m);
% wn=2*pi*fn;
zeta=0.5;
<!-- [if mso]>
<![endif]-->
% Poles
p1=-zeta*wn-wn*sqrt(zeta^2-1);
p2=-zeta*wn+wn*sqrt(zeta^2-1);
P=[p1;p2];
<!-- [if mso]>
<![endif]-->
% Control gains
K=place(A,B,P);
Output scope:

Conclusion :

              To complete the project of Position control of mass spring damper system 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 to using matlab and simulink wave from plot.

<!-- [if mso]>
<![endif]-->
Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.