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

1 次查看(过去 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