Introduction
Empirical Mode Decomposition (EMD) is a non-linear and non-stationary data analysis technique with the ability to extract AM-FM components, called Intrinsic Mode Functions (IMFs), of the signal, in the time domain itself (Huang et al., 1998).
EMD is similar to Fourier Transform (FT). FT assumes our signal is periodic and it’s basic components are various simple sine waves. And FT makes our signal from time domain to frequency domain. The different with EMD is the output remains in the time spectrum and EMD dose not assume our signal is periodic and it’s not based on simple sine wave instead, it’s Intrinsic Mode Function (IMF). EMD is really based on the dataset, doesn’t have an assumption about the data (That why it’s called Empirical).
Detail
Overview
Flow Chart
Step by Step
Input ,
- Identify all extrema of
- Create an envelope of minima and maxima from the array of minima and maxima.
- Interpolate the value of minima and maxima to create an envelope of minima and maxima using a cubic spline.
- maxima envelope:
- minima envelope:
- Compute the mean from the envelope of minima and maxima
- Extract the detail
- Iterate 1-4 with until is zero-mean
- or some stopping criteria
- The resulting is the intrinsic mode function (IMF)
- Iterate 1-5 on the residue
- Until some stopping criteria
- Peak Frequency is low
- Residuum signal is just a constant, monotonic, or just have 1 extremum
- Until some stopping criteria
Hilbert Spectral Analysis (HSA)
Instantaneous Frequency
To see:
HSA after EMD
得到这些IMF之后,我们的信号可以表达为,
进而我们会通过这个的表达去得到时频分析图;如上图所示,得到这个时频分析图的过程中,不会用到最后的剩余部分,因为它要么是单调函数,要么是常数。尽管希尔伯特变换可以将单调趋势视为较长振荡的一部分,但残余趋势中涉及的能量可能会非常强大。考虑到较长趋势的不确定性,并且为了其他低能量和高频分量中包含的信息的利益,最终的非 IMF 分量应被排除。然而,如果物理考虑证明其包含是合理的,则可以将其包含在内。这是一个Tradeoff。
然后,通过对IMF分量做Hilbert Transform构建analytic signal,
构建出来的解析信号为,
进而得到瞬时幅值和瞬时相位,进而通过瞬时相位得到瞬时频率,
进而,最后我们可以进行HSA,即
Demo code
Download Step by Step Slides
Reference
- Huang, Norden E., et al. “The Empirical Mode Decomposition and the Hilbert Spectrum for Nonlinear and Non-Stationary Time Series Analysis.” Proceedings of the Royal Society of London. Series A: Mathematical, Physical and Engineering Sciences, vol. 454, no. 1971, Mar. 1998, pp. 903–95. DOI.org (Crossref), https://doi.org/10.1098/rspa.1998.0193.
- https://www.youtube.com/watch?v=K-LhNvr-CSk
- https://towardsdatascience.com/decomposing-signal-using-empirical-mode-decomposition-algorithm-explanation-for-dummy-93a93304c541⭐
- https://en.wikipedia.org/wiki/Hilbert_spectrum
- https://www.youtube.com/watch?v=BLUL8i0KzKg