I have a question regarding my FFT result. I have 3 audio files from a welding process with 120A, 130A and 140A with a audio length of about 0,085s.
You can see the audio file in the first row from the plot.
After that i've created a FFT from every audio file which are located in the second row. The maximum peak from every audio file is at about 200Hz. 120A-140A_085sec.jpg
When i calculate the period between the welding pulse i have a period of about 0,00871s at a welding current of 140A. This is exakt the first peak in the FFT plot. 140A_v20.jpg
My question is, why is the maximum peak exactly at twice the frequency at about 200Hz and not like i calculated at about 100 Hz?
I hope someone could explain this to me
Many thanks in advance! BR
clear all
close all
% 120A
[data,Fs]=audioread('Mono_120A_v20_08sec.wav');
[nSamples,nChannels]=size(data);
waveFileLength=nSamples/Fs;
t=[0:length(data)-1] / Fs;
subplot(2,1,1);
plot(t,data)
grid minor
xlim([0 0.09])
title('120A 0.085sec')
xlabel('Zeit')
ylabel('X(t)')
y_fft = abs(fft(data)); %Retain Magnitude
y_fft = y_fft(1:nSamples/2); %Discard Half of Points
f = Fs*(0:nSamples/2-1)/nSamples; %Prepare freq data for plot
subplot(2,1,2);
plot(f, y_fft)
grid on
xlim([0 400])
ylim([0 10])
xlabel('Frequency (Hz)')
ylabel('Amplitude')
title('Freqenzbereich 120A')`