Pengolahan Data Pengujian Transmisibilitas Isolator 1 saat Dieksitasi pada Massa 2

B.6 Pengolahan Data Pengujian Transmisibilitas Isolator 1 saat Dieksitasi pada Massa 2

clc clear all close all

data1 = xlsread( 'FRF_2DOF_m2_1.xls' , 'FRF' , 'A7:D12806' ); %real value data

f = data1(:,1); %impact hammer data A1_1 = data1(:,3); %acc 1 data A2_1 = data1(:,2); %acc 2 data FT1_1 = data1(:,4); %FT1 data

data2 = xlsread( 'FRF_2DOF_m2_1.xls' , 'FRF' , 'A12807:D25606' ); %imaginary value data A1_2 = data2(:,3); A2_2 = data2(:,2); FT1_2 = data2(:,4);

data3 = xlsread( 'FRF_2DOF_m2_1.xls' , 'COHERENCE' , 'A7:D12806' ); %coherence data A1_3 = data3(:,3);

A1 = sqrt(A1_1.^2+A1_2.^2)*2*1.2;

%% Plotting magnitude A1/F2

close all figure( 'color' , 'w' ); plot(f,A1); xlim([0 200]); xlabel( 'f [Hz]' , 'fontname' , 'times' , 'fontsize' ,14); ylabel( 'FRF [G/lbf]' , 'fontname' , 'times' , 'fontsize' ,14); title ( 'FRF A1/F2' , 'fontname' , 'times' , 'fontsize' ,14); grid on

% Plotting coherence A1/F2 figure plot(f,A1_3); xlim([0 200]); xlabel( 'f [Hz]' , 'fontname' , 'times' , 'fontsize' ,14); title ( 'COHERENCE FRF A1/F2' , 'fontname' , 'times' , 'fontsize' ,14); grid on

%% FRF A2F2

A2 = sqrt(A2_1.^2+A2_2.^2)*2*1.5; A2_3 = data3(:,2);

% Plotting magnitude A2/F2 close all figure ( 'color' , 'w' ); plot(f,A2); xlim([0 200]); xlabel( 'f [Hz]' , 'fontname' , 'times' , 'fontsize' ,14); ylabel( 'FRF [G/lbf]' , 'fontname' , 'times' , 'fontsize' ,14); title ( 'FRF A2/F2' , 'fontname' , 'times' , 'fontsize' ,14); grid on

% Plotting coherence figure plot(f,A2_3); xlim([0 200]); xlabel( 'f [Hz]' , 'fontname' , 'times' , 'fontsize' ,14); title ( 'COHERENCE FRF A2/F2' , 'fontname' , 'times' , 'fontsize' ,14); grid on

%% FRF FT1F2 close all

FT1 = sqrt(FT1_1.^2+FT1_2.^2)*1.2; FT1_3 = data3(:,3); fasa2 = atan2d (FT1_2,FT1_1);

% Plotting magnitude figure ( 'color' , 'w' ); plot(f,FT1); xlim([0 200]); xlabel( 'f [Hz]' , 'fontname' , 'times' , 'fontsize' ,14); ylabel( 'FRF [lbf/lbf]' , 'fontname' , 'times' , 'fontsize' ,14); title ( 'FRF FT1/F2' , 'fontname' , 'times' , 'fontsize' ,14); grid on

% Plotting coherence figure plot(f,FT1_3); xlim([0 200]); xlabel( 'f [Hz]' , 'fontname' , 'times' , 'fontsize' ,14); title ( 'COHERENCE FRF FT1/F2' , 'fontname' , 'times' , 'fontsize' ,14); grid on

%% Plotting FT1/F2 Persamaan close all

G = -2*1.2*(A1_1+1i*A1_2); FT1F2 = 0.8*(G);

figure ( 'color' , 'w' );

plot(f,FT1,f,abs(FT1F2), '--' ); %Plotting magnitude xlim([0 200]); plot(f,FT1,f,abs(FT1F2), '--' ); %Plotting magnitude xlim([0 200]);

% Plotting coherence figure plot(f,FT1_3,f,A1_3, '--' ); xlim([0 200]); xlabel( 'f [Hz]' , 'fontname' , 'times' , 'fontsize' ,14); title ( 'COHERENCE FRF FT1/F2' , 'fontname' , 'times' , 'fontsize' ,14); legend ( 'Pengukuran Langsung' , 'Persamaan' ) grid on

%% Plotting A1/A2 PengukuranA = (A1./A2)*1.2;

figure ( 'color' , 'w' ); plot(f,PengukuranA); xlim([0 200]); %ylim([0 0.9]) xlabel( 'f [Hz]' , 'fontname' , 'times' , 'fontsize' ,14); ylabel( 'A1/A2 (G/G)' , 'fontname' , 'times' , 'fontsize' ,14); title ( 'Grafik Transmisibilitas Getaran A1/A2 ' , 'fontname' , 'times' , 'fontsize' ,14); grid on %% Model m1=0.8 ; k1=21970; c1=26.25 ; m2=6.8 ; k2=110663 ; c2=173.49 w = 0:0.5:1300; frekuensi = w/(2*pi);

x1 = k1+c1*w*1i; x2 = (k1-m1*w.^2)+(c1*w*1i);

C = (m1*m2*w.^4-(m1*(k1+k2)+c1*c2+m2*k1)*w.^2+k1*k2);

D = (-(m1*(c1+c2)+m2*c1)*w.^3+(c1*k2+c2*k1)*w)*1i;

Det = C+D;

X1X2 = abs(x1./x2);

figure plot(frekuensi,X1X2); xlabel( 'frekuensi(Hz)' , 'fontname' , 'times' , 'fontsize' ,16); ylabel( 'X1/X2 (G/G)' , 'fontname' , 'times' , 'fontsize' ,16); grid on title( 'Pemodelan Transmisibilitas Getaran X1/X2' , 'fontname' , 'times' , 'fontsize' ,16); xlim([0 200]); %% a1 = x1.*w.^2;

PemodelanFT = -m1*(a1./Det);

figure(4); plot (frekuensi,abs(PemodelanFT)); xlabel( 'frekuensi(Hz)' , 'fontname' , 'times' , 'fontsize' ,16); ylabel( 'FT1/F2 (lbf/lbf)' , 'fontname' , 'times' , 'fontsize' ,16); grid on title( 'Grafik Pemodelan Transmisibilitas Gaya FT1/F2' , 'fontname' , 'times' , 'fontsize' ,16); xlim([0 200]); %% Grafik Perbandingan Transmisibilitas Getaran

figure plot (frekuensi,X1X2,f,PengukuranA, '--' ); xlabel ( 'f (Hz)' , 'fontname' , 'times' , 'fontsize' ,14); ylabel ( 'A1/A2 (G/G)' , 'fontname' , 'times' , 'fontsize' ,14); legend ( 'Pemodelan' , 'Pengukuran' ); title( 'Grafik Perbandingan Transmisibilitas Getaran' , 'fontname' , 'times' , 'fontsize' ,16); grid on xlim([0 200]); %ylim([0 0.9]); %% Grafik Perbandingan Transmisibilitas Gaya

figure plot (frekuensi,abs(PemodelanFT),f,FT1, '--' ); xlabel ( 'f (Hz)' , 'fontname' , 'times' , 'fontsize' ,14); ylabel ( 'FT1/F1 (lbf/lbf)' , 'fontname' , 'times' , 'fontsize' ,14); legend ( 'Pemodelan' , 'Pengukuran' ); title( 'Grafik Perbandingan Transmisibilitas Gaya' , 'fontname' , 'times' , 'fontsize' ,16); grid on xlim([0 200]);