Clear Filters
Clear Filters

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

2 views (last 30 days)
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 Comments
Mathieu NOE
Mathieu NOE on 11 Jan 2021
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 on 12 Jan 2021
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))

Sign in to comment.

Answers (0)

Categories

Find more on Vibration Analysis in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!