Vibration order analysis: I want to convert angle-based data into order-based data by applying FFT.

조회 수: 2 (최근 30일)
I'm working on order anlysis but I don't know how to devleope a script to scale my order axis (x-axis) so that each frequency magnitude fall on the correct order. Also you can see my angle based data in the attachment.
Thanks
  댓글 수: 4
Mathieu NOE
Mathieu NOE 2021년 1월 11일
hello again
sorry, in your code Fs is not initialized - what is the relation with FFs ?
so what you have in the mat file is only the signal of the encoder, but when you do order analysis , you must acquire the encoder and some noise or vibration signals together, because what is the purpose of the analysis is the noise / vibration signal orders - not simply the fft of the encoder output.
You have to acquire synchronously the noise / vibration data and the encoder (ADC is triggered by encoder signal)
Adeel Ashraf
Adeel Ashraf 2021년 1월 12일
Hello Matheiu
Thanks for correcting me. If it's possible once again can you go through my data. I attached the wrong file last time. I'm new to matlab that's why doing lot of mistakes.
Fs = 285; % sampling rate
t = 0:1/Fs:1-1/Fs;
z = B.Data(:,1);
xdft = fft(z);
xdft = xdft(1:length(z)/2+1);
DF = Fs/length(z); % frequency increment
freqvec = 0:DF:Fs/2;
plot(freqvec,abs(xdft))

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Vibration Analysis에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by