ME444 Lab4 Group8
ME444 Lab4 Group8
Lab 4
● Objectives
The primary objective of this lab is to analyze vibration data using signal
processing techniques, focusing on understanding the effects of sampling
frequency and windowing on the acquired data. Specifically, the experiment
aims to:
1. Investigate how altering the sampling rate impacts the accuracy and
quality of the reconstructed signal.
3. Apply FFT to analyze the frequency content of vibration data and
interpret the results.
● Background of Experiment
Aliasing
Windowing
The window function w[n] is designed to taper the signal smoothly to zero at
both ends, reducing abrupt transitions when the FFT assumes periodicity.
●
For changing the sampling rate, the original sampling frequency was
converted to a rational function as per requirement, and arrays of time
and signal were generated using this function.
● For the first part, the change in the sampled signal with the sampling
rate was observed. The initial frequency was considered to be the
maximum frequency given, f = f1 = 1385 Hz.
● A suitable sampling frequency to prevent aliasing was identified by
sampling the data at various sampling rates using the data given.
● Different windowing functions (Hann, Welch, Hamming, and Tukey)
were used for the second part, and FFT was obtained for both the
original and the sampled functions.
● The windowing function which gave the best FFT was found by
comparing the plots obtained.
3. Results
Data plots
The data plots and their corresponding FFTs have been plotted for various
sampling frequencies (f, 2f, 5f, 10f, 20f, and 30f), where f = 1385Hz.
Figure 9: Sampled data plot and FFT at f = 1385Hz
Figure 10: Sampled data plot and FFT at f = 2770Hz
Figure 11: Sampled data plot and FFT at f = 6925Hz
Figure 12: Sampled data plot and FFT at f = 13850Hz
Figure 13: Sampled data plot and FFT at f = 27700Hz
Figure 14: Sampled data plot and FFT at f = 41550Hz
Part 2: Variation of windowing functions at a given sampling frequency
4. Discussion
● In the first part of the assignment, the sampling frequency was analyzed by
analyzing and comparing graphs at various sampling rates. The peak
frequencies show negligible deviation for frequencies greater than 5f
(6925Hz). Thus, the optimum frequency of sampling is taken to be 5f. This
is a slight deviation from the Nyquist - Shannon sampling theorem. The
possible causes include non-ideal filtering, noise and quantization errors, and
windowing effects.
● The choice of the "best" window function depends on the specific
application and requirements in signal processing, such as reducing spectral
leakage, improving frequency resolution, or maintaining amplitude accuracy.
Observing the given plots and data, the Tukey window gives the most
optimum results. It gives comparable amplitudes at two frequency values,
better than the other three windows offer.
Tukey Window is best for flexible applications, allowing tuning between
rectangular and Hann characteristics.
Tukey windowing is useful when you adjust the trade-off dynamically based
on signal properties.
● In the second part, the frequencies obtained do not change with a change in
the windowing function employed. The change is observed only in
amplitude, owing to the amplitude scaling effects of windowing and the
energy redistribution.
Based on these criteria, we determined that the Tukey window was the most
appropriate choice.
5. Conclusions:
● The best-estimated sampling frequency is 6925 Hz.
● The Tukey window function proved to be the most effective
windowing method.
● Vibration analysis is extensively used in predictive maintenance,
utilizing vibration data to assess the performance of bearings, gears,
and electric motors, thereby evaluating overall equipment health.
● This technique can identify issues such as imbalance, misalignment,
resonance, deformed shafts, and pump cavitation.
Sources of error
6. Contributions:
7. References:
● https://www.sciencedirect.com/topics/computer-science/windowing
(Windowing - an overview, 25th March, 2025)
● https://www.mathworks.com/help/matlab/ref/fft.html (FFT -
MATLAB, 25th March, 2025)
● https://en.wikipedia.org/wiki/Nyquist%E2%80%93Shannon_samplin
g_theorem#:~:text=The%20theorem%20states%20that%20the,a%20d
igital%20signal%20processing%20function. (Nyquist - Shannon
Sampling theorem, 26th March, 2025)
● https://moodle.iitb.ac.in/mod/assign/view.php?id=57512 (Lab 4 -
Moodle, 20th March, 2025)