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

5 ビュー (過去 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 Center および File ExchangeVibration Analysis についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by