Sei sulla pagina 1di 10

Task 9

Zs vs Frequency

Zs_dot vs Frequency

Zs_dotdot vs Frequency

Normal Contact Force Fz vs Frequency


9b: Steady State reached within 90% of Tmax

9c mu->1.5 mu
We dont see any significant changes in the ride comfort.

ct->1.5 ct
Both comfort and safety are decreased.

ds->1.5 ds
Changes in the safety can be observed only within a certain frequency range

cs->1.5 cs
No significant changes can be observed by increasing the cs

ms->1.5 ms
Increasing the mass of sprung part we have no effect in the safety but the ride comfort is increased in
most frequencies.

We can conclude by saying that most times, by changing the suspension characteristics in order to
achieve better ride comfort can result to worse safety and vice versa.
CODE
clc;
clear;
clf;
ct=200e3;
mu=30;
cs=20e3;
ds=1200;
ms=250;
f=linspace(0,25,100);
t_max=5;
v_0=100/3.6;
zs_ampl=zeros(length(f),1);
zs_dot_ampl=zeros(length(f),1);
zs_dotdot_ampl=zeros(length(f),1);
Fz_ampl=zeros(length(f),1);
for jj=1:length(f)
options=odeset('RelTol',1e-3,'AbsTol',1e-6);
[t_vec,Y]=ode45(@(t,y)motion_equ(t,y,f(jj),mu,ms,cs,ds,ct),[0 t_max],
[0,0,0,0],options);
Ydotdot=(-cs*(Y(:,3)-Y(:,1))-ds*(Y(:,4)-Y(:,2)))/ms;
n=length(t_vec);
n_90=round (0.9*n);
zs_ampl(jj)=(max(Y(n_90:n,3))-min(Y(n_90:n,3)))/2;
zs_dot_ampl(jj)=(max(Y(n_90:n,4))-min(Y(n_90:n,4)))/2;
zs_dotdot_ampl(jj)=(max(Ydotdot(n_90:n))-min(Ydotdot(n_90:n)))/2;
Fz=cs.*Y(:,3)+ds.*Y(:,4)+ct.*Y(:,1)+(ms+mu)*9.81;
Fz_ampl(jj)=(max(Fz(n_90:n))-min(Fz(n_90:n)))/2;
end

figure(1);
plot(f,zs_ampl);
xlabel('frequency');
ylabel('Amplitude of zs')
figure(2);
plot(f,zs_dot_ampl);
xlabel('frequency');
ylabel('Amplitude of zs_dot')
figure(3);
plot(f,zs_dotdot_ampl);
xlabel('frequency');
ylabel('Amplitude of zs_dot_dot')
figure(4);
plot(f,Fz_ampl);
xlabel('frequency');
ylabel('Amplitude of Normal Contact Force Fz')
figure();

%TASK 9B
[t_vec,Y]=ode45(@(t,y)motion_equ(t,y,25,mu,ms,cs,ds,ct),[0 t_max],
[0,0,0,0],options);
plot(t_vec,Y(:,3));
xlabel('time');
ylabel('Z_s')
%Variable Changes for TASK 9C
%Uncomment only ONE CHANGE at a time
% mu=mu*1.5;
% ct=ct*1.5;
% ds=ds*1.5;
% cs=cs*1.5;
ms=ms*1.5;
zs_ampl=zeros(length(f),1);
zs_dot_ampl=zeros(length(f),1);
zs_dotdot_ampl=zeros(length(f),1);
Fz_ampl=zeros(length(f),1);
for jj=1:length(f)
options=odeset('RelTol',1e-3,'AbsTol',1e-6);
[t_vec,Y]=ode45(@(t,y)motion_equ(t,y,f(jj),mu,ms,cs,ds,ct),[0 t_max],
[0,0,0,0],options);
Ydotdot=(-cs*(Y(:,3)-Y(:,1))-ds*(Y(:,4)-Y(:,2)))/ms;
n=length(t_vec);
n_90=round (0.9*n);
zs_ampl(jj)=(max(Y(n_90:n,3))-min(Y(n_90:n,3)))/2;
zs_dot_ampl(jj)=(max(Y(n_90:n,4))-min(Y(n_90:n,4)))/2;
zs_dotdot_ampl(jj)=(max(Ydotdot(n_90:n))-min(Ydotdot(n_90:n)))/2;
Fz=cs.*Y(:,3)+ds.*Y(:,4)+ct.*Y(:,1)+(ms+mu)*9.81;
Fz_ampl(jj)=(max(Fz(n_90:n))-min(Fz(n_90:n)))/2;
end
figure(3);
hold on;
plot(f,zs_dotdot_ampl,'r');
xlabel('frequency');
ylabel('Amplitude of zs_dot_dot')
legend('Original Variables','ms->1.5ms')
figure(4);
hold on;
plot(f,Fz_ampl,'r');
xlabel('frequency');
ylabel('Amplitude of Normal Contact Force Fz')
legend('Original Variables','ms->1.5ms')

Potrebbero piacerti anche