The comparison of the methods based on Wavelet Transform and Hilbert-Huang Transform in fault diagnosis of rotating machinery