The Quarter model is implemented in a 2-DOF system, where the suspension's damping coefficient, C, is varied by each control logic to improve ride comfort. The input data is determined by ISO 8608 for road roughness, and I'm trying to plot its Bode plot. However, the output data looks like this, and the Bode plot looks like this. Could you tell me what the problem might be?
deflection_FFT = squeeze(out.deflection_FFT.data);
deflection_fft = fft(deflection_FFT);
passive_car_fft = fft(passive_car_acceleration_data);
skyhook_car_fft = fft(skyhook_car_acceleration_data);
ADD_car_fft = fft(ADD_car_acceleration_data);
mix_car_fft = fft(mix_car_acceleration_data);
Fs = 200;
N = length(deflection_fft);
f = (0:N-1)*(Fs/N);
figure;
% Passive Car
subplot(1, 1, 1);
semilogx(f, 20*log10(abs(passive_car_fft./deflection_fft)), 'b-');
hold on;
% Skyhook Car
semilogx(f, 20*log10(abs(skyhook_car_fft./deflection_fft)), 'r-');
% ADD Car
semilogx(f, 20*log10(abs(ADD_car_fft./deflection_fft)), 'g-');
% Mix Car
semilogx(f, 20*log10(abs(mix_car_fft./deflection_fft)), 'k-');
hold off;
title('Bode Plot of Car Systems');
xlabel('Frequency (Hz)');
ylabel('Magnitude (dB)');
legend('Passive Car', 'Skyhook Car', 'ADD Car', 'Mix Car','Location','best');
grid on;