Professional Documents
Culture Documents
Lab Assignment 6
Add on Mass System and PD control
Mohit Kumar
2020MEM2707
16 September 2021
Objective:
In this lab assignment, we will analysis an added mass system for vibration control. Add mass will be tuned
to reduce the vibration in the main system. In second question, effect of PD control on transmissibility
function will be analyzed.
pg. 1
Question 1:
pg. 2
Figure 1 Effect of mass ratio for given loss factor
pg. 3
Figure 3 Effect of loss factor for given mass ratio
pg. 4
Question 2:
pg. 5
pg. 6
Results:
pg. 7
pg. 8
pg. 9
So, we can see from the transmissibility plot that vibration response of a system gets reduced
when PD control is implemented.
pg. 10
MATLAB Code:
Question 1:
clear all;
m1=100; % mass of system
k1=10000; % stiffness of the system
rm1=0.05; % mass ratio m2/m1
rm2=0.1;
wn=sqrt(k1/m1); % Natural frequency of the system
t1=[];
t2=[];
for i=1:1:length(w1)
t1(i)=T(rm1,n1,w1(i));
t2(i)=T(rm2,n1,w1(i));
end
plot(w1,abs(t1))
hold on
plot(w1,abs(t2))
legend('rm=0.05','rm=0.1')
xlabel('Frequency')
ylabel('Transmissibility, X1/Y')
title('Loss factor=0.05')
grid on
hold off
pg. 11
%for rm=0.05 and n1=0.05; n2=0.1; n3=0.2
n2=0.1;
n3=0.2;
t3=[];
t4=[];
for i=1:1:length(w1)
t3(i)=T(rm1,n2,w1(i));
t4(i)=T(rm1,n3,w1(i));
end
plot(w1,abs(t1))
grid on
hold on
plot(w1,abs(t3))
plot(w1,abs(t4))
xlabel('Frequency, rad/sec')
ylabel('Transmissibility, X1/Y')
title('For Mass ratio 0.05')
legend('n=0.05','n=0.1','n=0.2')
hold off
pg. 12
%for rm=0.1 and n1=0.05; n2=0.1; n3=0.2
n2=0.1;
n3=0.2;
t5=[];
t6=[];
for i=1:1:length(w1)
t5(i)=T(rm2,n2,w1(i));
t6(i)=T(rm2,n3,w1(i));
end
plot(w1,abs(t2))
grid on
hold on
plot(w1,abs(t5))
plot(w1,abs(t6))
xlabel('Frequency, rad/sec')
ylabel('Transmissibility, X1/Y')
title('For Mass ratio 0.1')
legend('n=0.05','n=0.1','n=0.2')
hold off
pg. 13
pg. 14
Question 2:
clear all;
m=100;
k=1000;
c=200;
kp1=100;
kv1=100;
wn=sqrt(k/m);
syms w kp kv
T(w, kp, kv)=k/(k-kp-m*w^2+1i*w*(c-kv))
% kp=100; kv=100
w1=0:0.1:2*wn;
t1=T(w1,kp1,kv1);
figure(1)
plot(w1,abs(t1))
grid on
xlabel('Frequency')
ylabel('FRF, X/(F/k)')
pg. 15
% Variation of FRF with Kp
kp2=[100 120 150 300];
t2=[];
for i=1:1:length(kp2)
t2(i,:)=T(w1,kp2(i),kv1);
end
% disp(t2)
figure(2)
plot(w1,abs(t2(1,:)))
hold on
plot(w1,abs(t2(2,:)))
plot(w1,abs(t2(3,:)))
plot(w1,abs(t2(4,:)))
hold off
xlabel('frequency')
ylabel('FRF, X/(F/k)')
title('Variation of FRF with Kp')
legend('kp=100','kp=120','kp=150','kp=300')
grid on
pg. 16
t3(i,:)=T(w1,kp1,kv2(i));
end
% disp(t2)
figure(3)
plot(w1,abs(t3(1,:)))
hold on
plot(w1,abs(t3(2,:)))
plot(w1,abs(t3(3,:)))
plot(w1,abs(t3(4,:)))
hold off
xlabel('frequency')
ylabel('FRF, X/(F/k)')
title('Variation of FRF with Kv')
legend('kv=100','kv=120','kv=150','kv=300')
grid on
% Free response
% x(0)=0; v(0)=0.5m/s;
x0=0;
v0=0.5;
pg. 17
d1=k;
x1=respFree(a1,b1,d1,x0,v0);
t1=0:0.1:5*pi/sqrt(d1/a1);
x11=x1(t1);
figure(4)
plot(t1,x11)
grid on
xlabel('Time, sec')
ylabel('Response, x(t)')
title('Responce when kv=0; kp=0')
pg. 18
title('Responce when kv=100; kp=0')
pg. 19
%(d) kv=100; kp=100
a4=m;
b4=c-kv1;
d4=k+kp1;
x4=respFree(a4,b4,d4,x0,v0);
t4=0:0.1:5*pi/sqrt(d4/a4);
x41=x4(t4);
figure(7)
plot(t4,x41)
grid on
xlabel('Time, sec')
ylabel('Response, x(t)')
title('Responce when kv=100; kp=100')
pg. 20
% Comparing
figure(8)
plot(t1,x11)
hold on
plot(t2,x21)
plot(t3,x31)
plot(t4,x41)
grid on
xlabel('Time')
ylabel('Respone x(t)')
legend('kv=0, kp=0','kv=100, kp=0','kv=0, kp=100','kv=100, kp=100')
pg. 21
function x=respFree(a,b,d,x0,v0)
Wn=sqrt(d/a);
syms s t
eqn=a*s^2+b*s+d==0;
s1=solve(eqn);
X1=(v0-s1(2)*x0)/(s1(1)-s1(2));
X2=(s1(1)*x0-v0)/(s1(1)-s1(2));
z=0.5*b/sqrt(a*d);
if z<1
% disp('underdamped sytem')
x(t)=exp(real(s1(1)*t))*( X1*exp(1i*imag(s1(1))*t)+
X2*exp(1i*imag(s1(2))*t));
elseif z==1
% disp('Critically damp Syatem')
x(t)=(x0+(Wn*x0+v0)*t)*exp(-Wn*t);
else
% disp('Overdamped System')
x(t)=X1*exp(s1(1)*t)+X2*exp(s1(2)*t);
end
end
pg. 22