A New Method of Simulating Surface Electromyograms Using Probability Density Functions 2008 Computers in Biology and Medicine
A New Method of Simulating Surface Electromyograms Using Probability Density Functions 2008 Computers in Biology and Medicine
www.intl.elsevierhealth.com/journals/cobm
Abstract
A new method based on probability density functions (inverse Gaussian distributions) to simulate surface electromyograms (sEMGs) was
developed for the specic use of the TP technique, which discriminates sEMG activity patterns. First, four prototypes with different activity
patterns were generated from inverse Gaussian distributions by changing their geometrical parameters, which were derived from actual recorded
sEMGs. Then, four simulated sEMGs were produced on the basis of the prototypes. The validity of the simulation method in relation to the
TP technique was statistically examined and veried. The new simulation method will be useful.
2008 Elsevier Ltd. All rights reserved.
Keywords: Surface electromyogram; Computer simulation; Integration; Probability density function; Activity pattern analysis
the theoretical basis of the technique has not yet been estab- converted to discrete variables by digital sampling; a set of 200
lished. In addition, we need a simulation method that can be digital data points was sampled from the standardized distri-
modied to the form of distributions. Because probability dis- butions with equal intervals of 5 103 s (Fig. 1c). The data
tribution functions may cause characteristic forms by changing points sampled (si , i = 1, 2, . . . , 200; Fig. 1d) served as data
values of the function used (e.g., [10]), in the present study we sources for the three prototypes.
focused on the properties of probability distribution functions.
In the research eld of electromyography, Stashuk and Naphan 2.1.3. simuEMGs amplitudes
[11] applied the probability distribution functions to indexes to Amplitudes of the sampled data points were determined by
classify motor unit action potentials in simulated signals, and assigning random numbers to individual data points (ai , i = 1,
Hamid Nawab et al. [12] improved resolutions in decompos- 2, . . . , 200; Fig. 1d). The random numbers were obtained from
ing sEMGs by modifying them into constituent motor unit ac- a normal distribution with a mean of 0.0 and SDs of si in
tion potential trains using the probability distribution functions. the exchanged distributions. The distribution of the random
However, application of the probability distribution functions numbers resulted in negative, as well as, positive amplitude
to simulations of sEMGs has not been reported. In this study, values for the sampled data points (ai ).
we aimed to establish a simulation method specic for sEMGs All of the data points with determined amplitudes were plot-
to elucidate the theoretical basis for the TP technique. ted on a scattergram (Fig. 1e), and nally, the data points were
connected consecutively with lines to complete simuEMGs
2. Methods (Fig. 1f).
2.1. Production of sEMG data
2.2. simuEMGs data analysis
We produced simulated sEMGs through the following three
steps (also see Table 1): (1) prototypes for simulated elec- The simuEMGs derived from the three probability den-
tromyograms (simuEMGs) were rst dened; (2) data sources sity functions of the inverse Gaussian distribution were in-
were then sampled from the prototypes; and (3) amplitudes for tegrated with a time constant of 0.05 s (int.simuEMGs). The
simuEMGs were calculated and allocated to the individual data simuEMGs were compared to the prototypes for degree of
sources sampled. tness (degt ) with Pearsons correlation coefcients between
the int.simuEMGs and the corresponding prototypes. The
2.1.1. Prototypes for simuEMGs procedure to determine amplitudes (see Section 2.1.3) was
Three kinds of statistical distributions derived from probabil- iterated in the three prototypes individually, and 11 stages
ity density functions of the inverse Gaussian distribution [10] ranging from 5 to 100 were selected as the number of iter-
ations (Ni , i = 5, 10, 20, . . . , 100). The means and standard
f (x; , ) = (/2)1/2 x 2/3 exp((x )2 /22 x),
errors of means (S.E.M.s) of the degt were calculated at each
x > 0, (1) iteration stage. Areas under of the curve of the int.simuEMGs
were used as prototypes for simuEMGs with three activity and the nal values of cumulative simuEMGs were adjusted to
patterns. We used three prototypes (proA , proB , and proC ) equate the three prototypes: proA ; proB ; and proC . Then, the
of simuEMG to illustrate our simulation method and three TP technique [79] was applied to the individual simuEMGs
sets of and , corresponding to the geometrical param- to test whether activity patterns of the three prototypes were
eters of the inverse Gaussian function, for our prototypes: discriminated by the technique.
{0.3, 3.0}, {0.5, 5.0}, and {0.7, 7.0}, respectively. The proce- The TP technique was developed to quantitatively evaluate
dures to produce the three simuEMGs are based on the rst sEMG activity patterns. The technique is outlined as (1) divi-
prototype (Fig. 1), which is similar to the other two prototypes. sion of the nal cumulative value of an sEMG equally into 10
Because values on the horizontal axes (x-values) of these or 20 sections; (2) allocation of the 10 or 20 sectioned values to
distributions were mathematically innite (Fig. 1a), the a standardized time scale serially; and (3) designation of the al-
x-values were exchanged to nite values for simulation. After located values as TP (T10 , T20 , . . . , T100 or T5 , T10 , . . . , T100 ).
the exchange, the x-values of each distribution were standard- According to this technique, each TP value designates a relative
ized from 0.0 to 1.0 to compare simuEMGs based on dif- location of the EMG activity on a standardized time scale, i.e.,
ferent prototypes. Values on the vertical axes (y-values) were a T50 value indicates the standardized time for half of the nal
adjusted from 0.0 to the maximum to compare distributions cumulative EMG activity, and a smaller TP value suggests that
with different magnitudes (Fig. 1b). the area under the curve of the integrated EMG activity shows
a negatively skewed (skewed to right) distribution.
2.1.2. simuEMG data sources
sEMGs that were actually recorded from electrodes on the 2.3. Production of numerical data
skin of human subjects were composed of discrete variables
due to the all-or-none law of action potentials arising from 2.3.1. Actual recorded data
individual muscle bers. In contrast, probability density func- Actual recorded sEMG (actualEMG) data were used
tions consisted of continuous variables, according to their def- to demonstrate the usefulness of our simulation method.
inition (Eq. (1)). Consequently, the continuous variables were The actualEMGs were obtained from the anterior tongue
I. Ashida et al. / Computers in Biology and Medicine 38 (2008) 837 844 839
Table 1
Processes of articially simulated and actually recorded surface EMGs
Process Procedure to simulate surface EMGs Events occurring during surface EMG recording
1 Selection of PDF models (Figs. 1a and 2a) Generation of muscle action potentials
2 Standardization of both x- and y-values (Fig. 1b) Conduction to surface electrodes
3 Digital sampling from PDF models and conversion from continuous to discrete variables (Fig. 1c) Amplication of surface EMG signals
4 Determination of amplitudes of data points (Fig. 1d and e) Integration of amplied EMG signals
5 Connection of serial data points (Figs. 1f and 2b) Evaluation of patterns of EMGs
Fig. 1. Electromyogram (EMG) simulations based on probability density functions. (a) A probability density function (the inverse Gaussian distribution with
geometrical parameters of {0.3 and 3.0}) was selected as a simulation prototype. (b) The values on both the time (x) and amplitude (y) axes of the prototype
were standardized as 1.0. (c) Sampling of data points from the standardized prototype at a rate of 200 Hz. (d) Amplitudes were assigned to the sampled data
points (e.g., the amplitude of the 22nd data point (a22 ) was assigned from numbers of a normal distribution (mean = 0.0, standard deviation (s22 ) = 0.17)).
(e) A scattergram was produced with the amplitude-assigned data points. (f) A simulated EMG was completed by consecutively connecting points on the
scattergram. See text for details.
of healthy young adults to determine whether body pos- amplied (AD Instruments-Japan, Nagoya, Japan), ltered
ture altered the duration of the oral phase of swallowing (wide bandpass, 105000 Hz), fully rectied, and integrated
[13]. Briey, an sEMG of the anterior tongue was recorded (time constant, 0.03 s). A total of 216 experimental trials
by small surface electrodes. The electrodes were located (2 test foods 9 subjects 4 body positions 3 sessions)
20 mm posterior to the tongue tip. The sEMG signals were was conducted as in the previous study [13], and 100 records
840 I. Ashida et al. / Computers in Biology and Medicine 38 (2008) 837 844
of swallowing were randomly extracted from the 216 trials to 2nd, and 3rd models of int.simuEMGs derived from the three
use as the actualEMGs. Each of the actualEMG records was prototypes (proA , proB , and proC ) showed characteristic shapes
classied into one of four groups according to its T50 value (i.e., negatively skewed (skewed to right, proA ), symmetrical
[7]. Means and SDs of the three sEMG parameters (peak am- (proB ), and positively skewed (skewed to left, proC ) distri-
plitude, time to peak, and cumulative activity) were calculated butions, respectively). Table 2 summarizes peak values, stan-
in each group and used to compare geometrical properties of dardized peak time, and TP values calculated from the three
the actualEMGs. int.simuEMGs models. The KruskalWallis test revealed sig-
nicant differences in the standardized peak time among the
2.3.2. Simulation data based on the actual recorded data 1st, 2nd, and 3rd models (P < 0.01), but not in the peak values.
The simuEMGs were generated using four prototypes with TP values differed greatly among the three models (Table 2);
different geometrical parameters, which were determined by e.g., the median T20 value in the 1st model was less than one-
the means of the time to peak in the four groups of actualEMGs. third of the 2nd model, and was less than one-fth of the 3rd
The simuEMGs were integrated with a time constant of 0.05 s model. The KruskalWallis test detected signicant differences
(int.simuEMGs). The simuEMGs were compared to the ac- in TP values among the proA , proB , and proC (P < 0.1).
tualEMGs with respect to time to peak, cumulative activity, and Fig. 3 shows changes in means (a) and S.E.M.s (b) of the
T50 value. degt when Ni s were increased from 5 to 100. The means var-
ied slightly among the three simuEMGs but were basically con-
2.3.3. Statistical examinations sistent through the iterations. One-way ANOVA found no sta-
The following four kinds of statistical examinations were tistically signicant differences in the means at the nal stage
used: (1) The Wilcoxons test was used to examine differences of iteration among the proA , proB , and proC . The Wilcoxons
in the degt from the rst (Ni =5) and nal stages (Ni =100). (2) tests also found no differences between the degt with N5 and
One-way analysis of variance (ANOVA) was used to examine N100 . In contrast, the S.E.M.s of the degt decreased monoton-
differences in the degt among the three int.simuEMGs at the ically with increase of Ni in all of the three simuEMGs (e.g.,
nal stage of iteration (Ni = 100). (3) Trend analysis with the S.E.M.s of the simuEMG of proB fell from 2.1 102
regression coefcients was used to examine whether or not to 0.3 102 ; Fig. 3b). Trend analysis using regression
S.E.M.s of the degt regressed signicantly against numbers
of iterations. Finally, (4) the KruskalWallis test was used to Table 2
examine TP value differences among the three models. Characteristic values of the three simulation models
The level of statistical signicance was set at P < 0.05 in all Model Area Cumulative TP values
statistical examinations.
T20 T50 T80
3. Results 1st 0.36 54.1 0.11 0.22 0.39
2nd 0.36 54.1 0.38 0.50 0.62
3.1. Simulation data based on the inverse Gaussian functions 3rd 0.36 54.1 0.61 0.78 0.89
Model: simulation models (see Fig. 2); Area: area calculated from integrated
Fig. 2 depicts sample data of three different standardized simuEMG; Cumulative: nal cumulative values of simuEMG; T20 , T50 , and
prototypes (a), simuEMGs (b), and int.simuEMGs (c). The 1st, T80 , TP values at 2nd, 5th, and 8th deciles, respectively. See text for details.
Fig. 2. Three prototypes with their simulated electromyograms (EMGs) and integrated EMGs. (a) Three types of inverse Gaussian distributions used as
prototypes (proA , proB , and proC ) for EMG simulations. (b) Simulated EMGs based on the three prototypes in (a). (c) Integrated curves of the simulated
EMGs in b. Note that peaks of the integrated EMGs are located in the initial (proA ), middle (proB ), and late (proC ) periods on the time scale.
I. Ashida et al. / Computers in Biology and Medicine 38 (2008) 837 844 841
Fig. 3. Degree of tness and number of iterations in three simulation prototypes. (a) Changes in means of the degree of tness under 11 stages of iterations
(ranging from 5 to 100) in three simulation prototypes. (b) Changes in standard errors of means (S.E.M.s) of the degree of tness during the iterations. Note
that the S.E.M.s decrease with increasing the number of iterations, but the means do not change noticeably.
3.2. Actual recorded data We aimed to establish a simulation method specic for
sEMGs to elucidate the theoretical basis for the TP tech-
Fig. 4 depicts the four areas under the curve for the nique that we developed to analyze sEMG activity patterns.
int.actualEMGs for the four groups (rG1 , rG2 , rG3 , and The present study used the inverse Gaussian distributions of
rG4 ) classied by their T50 values. Means and SDs of probability density functions to simulate sEMGs (Figs. 1 and
the standardized peak times in individual groups were 2). This simulation method is advantageous over other meth-
0.34 0.12 (rG1 ), 0.39 0.18 (rG2 ), 0.51 0.18 (rG3 ), ods, rst and foremost because of its simplicity and ease of
and 0.65 0.20 (rG4 ), respectively, and the peak time means use. As summarized in Table 1, the method relies on only six
842 I. Ashida et al. / Computers in Biology and Medicine 38 (2008) 837 844
Fig. 5. Peak time, areas, and T50 values for the simulation data. (a) Shown are the standardized peak time of four kinds of simulation data (sG1 , sG2 , sG3 ,
and sG4 ) with the four sets of geometrical parameters derived from actual recorded data. (b) Shown are areas encompassed by the curves (see Fig. 4) and
x-axis of the simulation data. (c) Shown are T50 values to evaluate simulation data activity patterns. Values indicate means plus SD. Horizontal segments in
(a) and (c) denote pairs of bars with signicant differences ( P < 0.01) among the four simulation data sets. See text for details.
processes, each consisting of a few procedures (see Section 2). prototypes. Probability density functions for prototypes require
Conventional sEMG simulation methods based on physiologic exibility to alter the shapes of probability density function
models are more complicated due to the assembly of articial curves. The inverse Gaussian functions we used fulll the
action potentials of single muscle bers [6]. Specically, an requirement by changing only two parameters (Fig. 2a). The
average of 17 parameters are employed to simulate EMGs by changes actually resulted in three distributions with different
assembling articial action potentials. In contrast, our method distribution skewness (positively, symmetrical, and negatively
uses only four parameters (geometrical parameters for inverse skewed) and kurtosis (platykurtic, normal, and leptokurtic)
Gaussian functions, number of digital sampling points, sources (Fig. 4). Other candidates for simulations, such as Gaussian,
for amplitude assignment, and number of iterations) to sim- Chi-squared, and Gamma distributions, had the following dis-
ulate sEMGs. In addition, popular personal computers (e.g., advantages: (1) the Gaussian distributions showed symmetrical
Microsoft Windows XP operating system) and common soft- shapes only and (2) the Chi-squared and Gamma distributions
ware (e.g., Microsoft Excel ) are sufcient to perform calcu- showed negatively skewed shapes only. Thus, we concluded
lations with our method; in contrast, other simulation systems that the inverse Gaussian functions are the most suitable pro-
for biological signals require highly specic computers and/or totypes for the simulation method that we sought to develop in
proprietary software (e.g., [14]). Consequently, we concluded this study. The geometrical parameters that we derived from ac-
that the simulation method using probability density statistical tualEMGs gave characteristic shapes to the prototypes (Fig. 2),
functions can be easily applied to produce sEMG simulation and the TP technique clearly detected shape differences among
data. the produced simuEMGs (Table 2 and Fig. 5c). The present
We achieved the original aim (i.e., establishment of a sim- results strongly suggest that the method we used accurately
ulation method to analyze sEMG activity patterns) with this simulates integrated sEMG curves to analyze their activity
easy method using probability density function models as patterns.
I. Ashida et al. / Computers in Biology and Medicine 38 (2008) 837 844 843
(to Y.M.) from the Niigata University of Health and Welfare chewing of agars in healthy young males, J. Texture Stud. 38 (2007)
and by a Grant-in-Aid for Scientic Research (No. 19500667 8799.
to Y.M.) from the Ministry of Education, Science, and Culture [9] Y. Miyaoka, I. Ashida, S. Kawakami, S. Miyaoka, Differentiation of
activity patterns in the suprahyoid muscles during swallowing of umami
of Japan. tasting foods, J. Sensory Stud. 21 (2006) 283572.
[10] M.C.K. Tweedie, Statistical properties of inverse Gaussian distributions
Conict of interest statement I, Ann. Math. Stat. 28 (1957) 362377.
[11] D.W. Stashuk, R.K. Naphan, Probabilistic inference-based classication
We, Ichiro Ashida, Shin-ya Kawakami, and Yozo Miyaoka, applied to myoelectric signal decomposition, IEEE Trans. Biomed. Eng.
39 (1992) 346355.
declare that we have no any nancial and personal relation- [12] S. Hamid Nawab, R. Wotiz, C.J. De Luca, Improved resolution of pulse
ships with other people or organizations that could inappro- superpositions in a knowledge-based system EMG decomposition, in:
priately inuence our manuscript entitled, A New Method for Conference of the Proceedings of IEEE Engineering in Medicine and
Simulation of Surface Electromyograms Using Probability Den- Biology Society, vol. 1, 2004, pp. 6971.
sity Functions. [13] D. Inagaki, Y. Miyaoka, I. Ashida, K. Ueda, Y. Yamada, Inuences of
body posture on duration of oral swallowing in normal young adults, J.
Oral Rehabil. 34 (2007) 414421.
References
[14] L. Karlsson, B. Hammarberg, E. Stalberg, An application of a muscle
model to study electromyographic signals, Comput. Methods Programs
[1] G.D. Klasser, J.P. Okeson, The clinical usefulness of surface Biomed. 71 (2003) 225233.
electromyography in the diagnosis and treatment of temporomandibular
disorders, J. Am. Dent. Assoc. 137 (2006) 763771.
[2] A.D. Taylor, R. Bronks, A.L. Bryant, The relationship between
Ichiro Ashida is a Lecturer at Niigata University of Health and Welfare in
electromyography and work intensity revisited: a brief review with the Department of Health and Nutrition. He was awarded his D.Agr. from
references to lacticacidosis and hyperammonia, Electromyogr. Clin. Niigata University Graduate School of Science and Technology, Japan, in
Neurophysiol. 37 (1997) 387398. 1999. He was an Assistant Professor at Niigata University in the Department
[3] F. Buchthal, Z. Kamieniecka, The diagnostic yield of quantied of Agriculture. His main research interest is analytical physiology and its
electromyography and quantied muscle biopsy in neuromuscular practical application to evaluation of foods by analyzing of muscle activity
disorders, Muscle Nerve 5 (1982) 265280. pattern.
[4] V.F. Ferrario, C. Sforza, A. Colombo, V. Ciusa, An electromyographic
investigation of masticatory muscles symmetry in normo-occlusion Shin-Ya Kawakami is an Assistant Professor at Niigata University of Health
subjects, J. Oral Rehabil. 27 (2000) 3340. and Welfare in the Department of Health and Nutrition. He was awarded his
[5] R.L. Joynt, R.F. Erlandson, M. Rourke, Computerized synthesis of M.Agr. from Niigata University Graduate School of Science and Technology,
electromyographic interference patterns, Arch. Phys. Med. Rehabil. 69 Japan, in 2003. His research interest is neural regulation of ingestion.
(1988) 517523.
[6] R.S. Person, M.S. Libkind, Simulation of electromyograms showing Yozo Miyaoka is a Professor at Niigata University of Health and Welfare
interference patterns, Electroencephalogr. Clin. Neurophysiol. 28 (1970) in the Department of Health and Nutrition. He was awarded his Ph.D.
from Niigata University School of Dentistry, Japan, in 1990. He was a
625632.
postdoctoral fellow at the Pennsylvania State University School of Medicine,
[7] Y. Miyaoka, I. Ashida, D. Inagaki, S. Kawakami, Differentiation of USA, from 1990 to 1992. He was an Assistant Professor at Niigata University
activity patterns in the suprahyoid muscles during swallowing of foods in the Department of Oral Physiology and Associate Professor at Yonezawa
with ve taste qualities, J. Sens. Stud. 20 (2005) 473483. Womens College in the Department of Health and Nutrition. His research
[8] I. Ashida, H. Iwamori, S. Kawakami, Y. Miyaoka, A. Murayama, interest is physiology of oral functions, especially neural mechanisms of taste
Analysis of physiological parameters of masseter muscle activity during and swallowing.