Analysis of ALS and Normal EMG Signals Based On Empirical Mode Decomposition
Analysis of ALS and Normal EMG Signals Based On Empirical Mode Decomposition
This article has been accepted for publication in a future issue of this journal, but has not been fully edited.
Content may change prior to final publication in an issue of the journal. To cite the paper please use the doi provided on the Digital Library page.
decomposition
a
Vipin K Mishra, aVarun Bajaj, aAnil Kumar, bG. K. Singh
a
Discipline of Electronics and Communication Engineering, PDPM Indian Institute of Information
degenerates the motor neurons in spinal cord. In this paper, a new technique for the analysis
of normal and ALS EMG signals is proposed. EMG signals are decomposed into narrow
band intrinsic mode functions (IMFs) by using empirical mode decomposition (EMD)
technique. The area of complex plot, two bandwidths namely amplitude modulation
frequency ( IFn ) , spectral momentum of power spectral density (SMPSD) and mean of first
derivative of instantaneous frequency (MFDIF) are extracted from analytic IMFs obtained by
EMD technique. These six features are used as input in least square support vector machine
(LS-SVM) classifier for the classification of ALS and normal EMG signals. Experimental
results and comparative analysis shows that classification performance of proposed method is
1. INTRODUCTION
the contraction of skeletal muscles. These collected electrical signals are known as
potential of the skeletal muscles. EMG signals are being used in many fields such as sports
science, ergonomics, medical research and rehabilitation. In medical science, the EMG
signals can be used for the analysis and identification of diseases related to voluntary muscles
and motor neurons [2]. Brain produces electrical impulses to control the action of muscles.
Motor neuron is a nerve cell, which forms the path for transfer of electrical impulses. Brain
need upper and lower motor neurons to send the signals to a particular muscle in the body [3].
To perform any action, upper motor neurons send signals to trigger lower motor neurons that
further transfer the signals to other part of body. Muscles present in the chest, legs, throat,
face, arms and tongue are controlled by the lower motor neurons [4]. Motor neuron disorder
creates a lot of diseases, especially amyotrophic lateral sclerosis (ALS) [5]. ALS results in
weakness, atrophy, paralysis, respiratory failure and loss of control of brain over muscles.
ALS affects both (upper and lower) motor neurons, due to which muscles cannot be
controlled voluntarily and become weaker and smaller [6] [7]. Autonomic impairment as
dysregulation of blood pressure, heart rate (HR) and increase in the risk of unusual death
have been found in many ALS patients [8]. The EMG signal has been a valuable clinical tool
to assess the changes of ALS. Diagnosis of ALS by visual inspection is a tedious task and
requires trained professionals and clinicians. Therefore, the accurate and automatic
Parameters extracted from the EMG signals are very useful in diagnostics. Most of the
parameters extracted from EMG signals are based on the time domain, frequency domain,
and time frequency domain. Time domain based features such as root mean square,
Spectrogram, kurtosis, entropy and power have been used for classification of ALS and
healthy signals [9]. Mel-frequency cepstral coefficient (MFCC) based features have been
used as input to K-nearest neighbourhood (KNN) classifier for classification of ALS and
healthy EMG signals [10]. Discrete wavelet transform coefficients have been employed to
classify the healthy and ALS signals [11]. Time frequency based features such as
autocorrelation, zero crossing rate, and average value of spectral peak and mean frequency
have been applied to KNN classifier for classification of ALS and healthy EMG signals [12].
The power level of spectrum, frequency shifting to higher region and numbers of onset peak
features extracted from short time Fourier transform have been used for classification of ALS
Time based features, AR spectral measure, AR coefficients, cepstral coefficients feature sets
extracted from motor unit action potentials (MUAPs) have been used with neuro-fuzzy based
classifier to discriminate the normal, myopathy and neuropathy signals [14]. Cepstrum
analysis, which is popular in speech signal processing has been employed for classification of
MUAP based diseases [15]. The on-off timing of skeletal muscles at the time of movement,
continuous wavelet transform has been employed for analysis of EMG signals [16]. Various
features of signal amplitude, area, duration rise time, number of phases have been employed
Optimal wavelet packet method with neural network classifier has been used for the
wavelet has been used for the classification of EMG signals [19]. Method based on multiscale
entropy of EMG signal has been employed with support vector machine for the classification
of EMG signals [20]. Multiscale principle component analysis has been used with k-NN,
ANN and SVM classifier for the classification of EMG signals [21]. Multi fractal analysis on
EMG signals has been done to classify the different arm movements [22]. A method based on
pattern recognition technique has been used for the discrimination of electromyographic
In this paper, six new features namely area, BAM, BFM, SMPSD, MFDIF and normalized
instantaneous frequency are extracted from analytic IMFs for the classification of ALS and
normal EMG signals. The rest of the paper is organized as follows: The EMG dataset, the
empirical mode decomposition method, features extraction from IMFs, and LS-SVM
classifier are presented in Section 2. Experimental results for the classification of ALS and
normal EMG signals based on extracted features are given in Section 3. Section 4 presents
2. METHODOLOGY
2.1 DATASET
The dataset EMG signals are available online [24]. In normal group, 10 subjects comprising 6
males and 4 females of age 21-37 were present. No patient of normal group had any history
of neuro muscular disorders. ALS group covers 8 subjects: 4 males and 4 females’ of age
group 35-67 years. 5 subjects having the sign of ALS died few years after the occurrence of
disease. A standard needle electrode of leading off area 0.07 mm2 was used for the signal
acquisition. Sampling rate of EMG signals was 23437.5 Hz and digitized by A/D convertor of
16 bit resolution. Recorded signals were filtered at 2Hz and 10 kHz by high and low pass
filter respectively (i) To monitor the signal quality, video and audio feedbacks were used, (ii)
A standard concentric needle electrode was used, (iii) 2 KHz and 10 KHz range high and low
pass filters were used in EMG amplifier, (iv) Three level of needle insertion was used to
collect the signal from five places of a muscle, (v) The recording was conducted at constant
and low level of contraction. In this study, 87 ALS EMG signals and 133 normal EMG
signals are used. The processing steps for the analysis of EMG signals are presented in the
Fig. 1.
EMG signal
…………..
IMF1 IMF2 IMFn
HT HT HT
…………..
Features Extraction
Fig. 1. Block diagram of the required processing steps for classification of ALS and normal
EMG signals.
into some set of band limited functions known as intrinsic mode function (IMFs). After
method [25]. For each IMF to be generated, two conditions must be satisfied: (i) the numbers
of extrema in data set should be equal to or differ by at most one from the numbers of zero
crossing, and (ii) the mean value of both the envelopes (minima and maxima) should be zero
at any point. EMD algorithm follows these steps to break the signal into IMFs [26-27]:
2) Use cubic spline curve to connect extrema and generate lower and upper envelopes el ( t )
and eu ( t ) respectively.
3) Calculate the mean m(t) of upper and lower envelope and check for zero mean
el ( t ) + eu ( t )
m (t ) =
2
5) Iterate process 1-4 till g n ( t ) becomes an IMF, (which can be checked by two conditions
illustrated above) c1 ( t ) = g n ( t ) .
6) Find residue r1 ( t ) = x ( t ) − c1 ( t ) . Repeat step 1-5 taking this residue as new signal to
generate other IMFs. Continue the process till the final residue is generated. Residue
contains one local maxima and minima, through this no more IMF can be obtained.
M
x(t ) = ∑ c p (t ) +r (t ) (1)
p =1
M
Where, M denotes the total number of IMFs. Hilbert transform is used to convert these
IMFs into analytic IMFs. An analytic IMF obtained from any IMF c(t) can be defined as:
jφ (t )
z (t ) = c(t ) + jcH (t ) = A ( t ) e (2)
Amplitude A(t), phase φ ( t ) and instantaneous frequency ω (t) of an analytic IMF can be
defined as:
A(t) = c 2 (t ) + cH 2 (t ) (3)
c H (t )
φ (t ) = arctan (4)
c (t )
dφ (t )
ω (t ) = (5)
dt
In proposed method Hilbert transform has been applied on all the IMFs to get analytic IMFs.
Two parameters instantaneous frequency and instantaneous amplitude are extracted from
frequency domain and useful to extract some essential features of signal. Each IMF can be
jϕ p ( t )
z p ( t ) = Ap ( t ) e (6)
Plot of an analytic IMF is a circular structure having unique center [28]. For fast
useful method [29]. In this paper, CTM is used to get the radius (r) from circular plot of
analytic IMFs. Imaginary part of analytic signal is plotted against the real part of signal.
Analytic plot of IMFs fulfill these two conditions: Plot should have rotation direction, and a
fixed center. EMG signals are non-stationary and complicated in nature, and do not fulfill
above conditions. EMD algorithm is used to break any complicated EMG signal into numbers
of IMFs, which satisfies above conditions. Plot of Analytic IMFs can be used to calculate
area feature [29]. Area is calculated by using 95% radius of the circular plot. Variability of
the signal is quantified by CTM. It is computed by selecting all the points coming inside the
radius r and dividing it by total number of points [30]. The CTM for analytic IMF can be
expressed as:
∑δ
n =1
d ( n)
CTM = (7)
N
1 If
δd ( n) = ( R z ( n) + I z ( n) ) < r
2 2
(8)
0 otherwise
CTM represents a fraction of the total number of points lying inside the radius r.
δf (9)
IFn =
f
carrier frequency. Frequency of any single tone signal is constant, due to which after
small.
information about the share of amplitude and frequency modulated bandwidth on whole
bandwidth of any signal. Aim of this feature is to provide the information, whether the spread
modulation (FM), or due to both [32]. Share of frequency due to AM and FM in total
1 dA ( t )
2
dϕ ( t )
2
(10)
B2 = ∫ dt + ∫ − ω A2 ( t ) dt
E dt dt
1 dϕ ( t ) 2
A ( t ) dt . Above Eq. 10 has two parts: first is dependent on amplitude and
E ∫ dt
Here ω =
second on the phase of a signal. Amplitude modulated bandwidth (BAM) and frequency
1 dA ( t ) (11)
2
E ∫ dt
BAM = dt
1 dϕ ( t )
2
− ω A2 ( t ) dt
E ∫ dt
and BFM = (12)
Power spectral density (PSD) is a useful parameter to find the power and dominant frequency
1 T
2
sz ( f ) = lim ∫ z (t ) e
− j 2π ft
dt (13)
T →∞ 2T
−T
To find the greater order shape, spectral moment of PSD can be represented as [33]:
N
SM PSD = ∑ k ⋅ PSDk (14)
k =1
To find the difference between two consecutive values of instantaneous frequency, first
derivative is calculated. Mean value of these differences is calculated to use it as feature. This
δ f = diff ( f i ) (15)
N −1 δ f (l )
MFDIF = ∑ (16)
l =1 N − 1
where, N is the total number of samples present in first derivative of the instantaneous
frequency.
These features used as input to least squares support vector machine (LS-SVM) classifier for
classification of ALS and normal EMG signals. The decision function for two-class problem
is defined as:
1 γ N
Minimize J (ω , b, e) = ω T ω + ∑ ei2 (17)
2 2 i =1
Where, xi is the index of N inputs, yi is the index of outputs, which is 1 or -1 for input of
class 1 or 2 respectively. b and γ are the bias and regularization parameters respectively. The
N
f ( x) = sign ∑ α i K ( x, xi ) + b (19)
i =1
Where, l is the order of polynomial kernel function. The detailed description of LS-SVM
3. RESULTS
The non-stationary and non-linear EMG signals are decomposed into numbers of IMFs by
using EMD algorithm. Hilbert transform is used to extract the analytic signals from IMFs,
which enable to compute the analytic features namely area, normalized instantaneous
frequency (IFn), BAM, BFM, SMPSD, and MFDIF features. Fig. 2 (a) and Fig. 2 (b) depict ALS
EMG signal its IMFs and instantaneous frequency of ALS EMG signal. This figure clearly
shows that frequency decreases in higher IMFs. Kruskal-wallis test has been performed on
each feature separately, which provide the discrimination probability of the ALS and normal
EMG signals. Lower values of probability demonstrate better discrimination ability. The
proposed analytic features are used as input to LS-SVM classifier for classification of ALS
Table 1 shows probability values (p) of area and normalized instantaneous frequency
features with mean and standard deviation of ALS and normal EMG signals. It is clear from
the table that the small p values of first six IMFs of both features are statistically significant.
Area feature of ALS EMG signals is higher as compared to normal EMG signals due to
variation in the amplitude. Also IFn feature ALS EMG signals are higher as compared to
normal EMG signals due to variation in frequency. Fig. 3 and Fig. 4 show the discrimination
Table 2 shows the discrimination ability of BAM and BFM features. Small probability
values (p) of first four IMFs indicates that these features are significant (p <0.05). The BAM
and BFM feature of normal EMG signals are higher as compared to ALS EMG signals. The
higher BAM in normal EMG signals may be due to change of rate of amplitude and higher BFM
in normal EMG signals may be due to change of rate of frequency. Kruskal-wallis plots of
BAM and BFM features are shown in Fig. 5 and Fig. 6 respectively.
(MFDIF) and Spectral Momentum of power spectral density (SMPSD) features. From the
Table, it is clear that all the IMFs of SMPSD feature are significant due to p < 0.05. Whereas
IMF2 to IMF7 of MFDIF feature are significant. From the Table 3 and Fig. 7- Fig. 8, it can be
notice that the MFDIF and SMPSD features of ALS EMG signals are higher as compared to
normal EMG signals. Larger values of MFDIF parameter might be due to higher rate of
change of instantaneous frequency whereas larger value of SMPSD parameter is due to greater
The small p value of these features motivates us to use these features for automatic
classification of ALS and normal EMG signals. These six features are simultaneously
employed to LS-SVM classifier to for classification of ALS and normal EMG signals. The
classification performance evaluated by each IMF to validate the proposed features for
classification of ALS and normal EMG signals. The performance evaluation fidelity
parameter sensitivity, specificity, and accuracy of each IMF are shown in Table 4. The
classification accuracy for classification of ALS and normal EMG signals is 95% for second
4. DISCUSSION
For the first time, EMD method with six analytic features and LS-SVM classifier have been
proposed in this paper to classify the ALS and normal EMG signals. EMD decomposes any
non-stationary signal into symmetric and band limited signals known as IMF. IMF
components are converted into analytic signals which facilitate the computation of
instantaneous amplitude and instantaneous frequency (IF). The proposed features are
extracted using instantaneous amplitude and IF which is possible due to EMD. Kruskal-wallis
test is used on all the features separately to find the discrimination ability of each feature.
Kruskal-wallis plot in Figs. 3-8 show that the proposed features are significant for
The LS-SVM classifier with polynomial kernel has been used for the classification ALS and
normal EMG signals with ten-fold cross-validation. LS-SVM classifier has nice properties
adaptive implementation, and converges to minimum mean square error solutions. The
capabilities of LS-SVM classifier are controlled by the choice of kernel function. This
enables the proper solution of complex regression and pattern recognition problems. The
main objective of this classifier to choose a suitable hyper plane that maximizes the
separation margin between it and nearest data points of each class. Table 5 shows the
comparison of proposed method with another existing classification method in the same
database. From the result of Table 5, it is clear that classification performance of proposed
5. CONCLUSION
The analytic features such as area, normalized instantaneous frequency, BAM, BFM, SMPSD and
MFDIF features with LS-SVM classifier have been explored in this paper for classification of
ALS and normal EMG signals. EMD is a promising method to decompose EMG signals into
some set of IMFs. Analytic representation of IMFs has capability to compute these features.
Discrimination performance of all the features has been evaluated using Kruskal-wallis test
and found significant for classification purpose. Initial four IMFs of all features provide
satisfactory and significant discrimination between the ALS and normal EMG signals. The
six features together with LS-SVM classifier have shown the 95% classification accuracy in
second IMFs with polynomial kernel function. Proposed method can be helpful for the
clinicians to take the decision about ALS disease. Future work includes the use of these
features to classify other neural diseases (Essential tremor, Tourette's syndrome, Multiple
sclerosis etc.).
IMF1
0 0
−5000 −2000
0 2000 4000 6000 8000 10000 0 2000 4000 6000 8000 10000
1000 1000
2
IMF3
IMF
0 0
−1000 −1000
0 2000 4000 6000 8000 10000 0 2000 4000 6000 8000 10000
500 2000
IMF4
IMF5
0 0
−500 −2000
0 2000 4000 6000 8000 10000 0 2000 4000 6000 8000 10000
1000 2000
IMF7
6
IMF
0 0
−1000 −2000
0 2000 4000 6000 8000 10000 0 2000 4000 6000 8000 10000
Residue
1000 50
8
IMF
0 0
−1000 −50
0 2000 4000 6000 8000 10000 0 2000 4000 6000 8000 10000
Sample Number Sample Number
(a)
4 4
x 10 x 10
10 10
2
1
5 5
IF
IF
0 0
0 2000 4000 6000 8000 10000 0 2000 4000 6000 8000 10000
4 4
x 10 x 10
10 10
IF3
5 5
IF
0 0
0 2000 4000 6000 8000 10000 0 2000 4000 6000 8000 10000
4 4
x 10 x 10
10 10
5
5
IF
5
IF
0 0
0 2000 4000 6000 8000 10000 0 2000 4000 6000 8000 10000
4 4
x 10 x 10
10 10
8
7
5
IF
5
IF
0 0
0 2000 4000 6000 8000 10000 0 2000 4000 6000 8000 10000
Sample Number Sample Number
(b)
Fig. 2. (a) Empirical mode decomposition of ALS EMG signal, (b) Instantaneous frequency
8
10 IMF1 IMF2 IMF3 IMF4
7
10
6
log(area)
10
5
10
4
10
7
10
6
10
log(area)
5
10
4
10
Fig. 3. Comparison of area parameter for ALS and normal EMG signals (a) IMF1-IMF4 and
log(IFn)
−1
10
−1
10
log(IF )
n
−2
10
Fig. 4. Comparison of Normalised instantaneous frequency parameter for ALS and normal
TABLE 1. Probability value of the area and Normalised instantaneous frequency features of
0.03
0.025
log(BAM)
0.02
0.015
0.01
0.005
0
ALS Normal ALS Normal (a) ALS Normal ALS Normal
−2
10
log(BAM)
−3
10
Fig. 5. Comparison of BAM feature for ALS and normal EMG signals (a) IMF1-IMF4 and (b)
IMF5- IMF8.
3
) 10
FM
log(B
2
10
ALS Normal ALS Normal (a) ALS Normal ALS Normal
2
10
1
10
ALS Normal ALS Normal (b) ALS Normal ALS Normal
Fig. 6. Comparison of BFM feature for ALS and normal EMG signals (a) IMF1-IMF4 and (b)
IMF5- IMF8.
TABLE 2. Probability value of the BAM and BFM features of the IMFs used in test
10
10 IMF1 IMF2 IMF3 IMF4
8
)
PSD
10
log(SM
6
10
10
10
Fig. 7. Comparison of SMPSD feature for ALS and normal EMG signals (a) IMF1-IMF4 and
(b) IMF5- IMF8
3
log(MFD ) 10
IF
2
10
2
10
Fig. 8. Comparison of MFDIF feature for ALS and normal EMG signals (a) IMF1-IMF4 and
(b) IMF5- IMF8
TABLE 3. Probability value of the SMPSD and MFDIF features of the IMFs used in test
Table 4 Sensitivity, specificity, and accuracy of IMFs with Polynomial kernels of the LS-
SVM classifier for classification between ALS and Normal EMG signals
Table 5 A comparison of performance of the classification between ALS and Normal EMG
signals method studied on the same dataset.
References
[1] Yousefi J., and Hamilton-Wright A. Characterizing EMG data using machine-
[2] Tsai AC, Luh JJ, and Lin TT. A novel STFT-ranking feature of multi-channel EMG
for motion pattern recognition. Expert Systems with Applications 2015; 42 (7):3327-
3341.
[3] Rosenfeld J, and Swash M. Lumping or splitting ALS, PLS, PMA, and the other
[4] Cristini J. Misdiagnosis and missed diagnoses in patients with ALS. Journal of the
[5] Ko KD, El-Ghazawi T, Kim D, and Morizono H. Predicting the severity of motor
neuron disease progression using electronic health record data with a cloud computing
[6] Kasi PK, Krivickas LS, Meister M, Chew E, Schmid M, Kamen G, Clancy EA, and
sclerosis. Annual Northeast IEEE Conference on Bioengineering pp. 1-2, June 2009.
[7] Fattah SA, Doulah ABMSU, Jumana MA, and Iqbal MdA. Evaluation of different
time and frequency domain features of motor neuron and musculoskeletal diseases.
[8] Kasi PK, Krivickas LS, Melvin M, Chew E, Bonato P, Schmid M, Kamen G, Liu P,
[9] Pal P, Mohanty N, Kushwaha A, and Singh B. Feature extraction for evaluation of
[10] Doulah ABMSU, and Fattah SA. Neuromuscular disease classification based
[11] Fattah SA, Doulah ABMSU, Iqbal MA, Shahnaz C, Zhu WP, and Ahmad MO.
Identification of motor neuron disease using wavelet domain features extracted from
EMG signal, IEEE International Symposium on Circuits and Systems (ISCAS), pp.
[12] Fattah SA, Iqbal MdA, Jumana MA, and Doulah ABMS, Identifying the
motor neuron disease in EMG signal using time and frequency domain features with
comparison. An International Journal Signal & Image Processing 2012; 3 (2): 99-114.
[13] Doulah ABMS, and Jumana MA, ALS disease detection in EMG using time-
[14] Pattichis CS, and Elia AG. Autoregressive cepstral analyses of motor unit
[15] Subasi A. Classification of EMG signals using combined features and soft
[16] Merlo A, Farina D. A Fast and Reliable Technique for Muscle Activity
2003; 50(3):316-323.
[17] Katsis CD, Exarchos TP, Papaloukas C, Goletsis Y, Fotiadis DI, and Sarmas I.
using optimal wavelet packet method based on Davies-Bouldin criterion, Medical &
2005; 43(4):487.
2014;38(4):1-10.
method Medical and Biological Engineering and Computing 1982; 20, 496-500.
Decomposition, Findings and Firing Pattern Analysis in Controls and Patients with
Myopathy and Amytrophic Lateral Sclerosis. PhD Thesis, Faculty of Health Science,
[25] Huang NE, Shen Z, Long SR, Wu MC, Shih EH, Zheng Q, Yen NC, Tung
CC, and Liu HH. The empirical mode decomposition method and the Hilbert
spectrum for non-stationary time series analysis. Proceedings of the Royal Society of
[27] Bajaj V, and Pachori RB, Classification of seizure and nonseizure EEG
[28] Pachori RB, Bajaj V. Analysis of normal and epileptic seizure EEG signals
[29] Cohen ME, Hudson DL, and Deedwania P. Applying continuous chaotic
[30] Pachori RB, Hewson D, Snoussi H., and Duchêne J. Postural time-series
analysis using empirical mode decomposition and second-order difference plots, IEEE
April 2009.
[32] Cohen L. and Lee C., Instantaneous bandwidth for signals and spectrogram,
1990, 2450–2454.
[33] Zhou SM, Gan JQ, and Sepulveda F. Classifying mental tasks based on
Verlag, 1995.