Effects of Sampling Rate on Automated Fatigue

0 downloads 0 Views 306KB Size Report
told to be free to let go the load and relax when feeling exhausted. Subjects were able .... http://www.physionet.org/physiotools/sampen/c/. The fuzzy approximate ...
Current Directions in Biomedical Engineering 2015; 1 (???):1–4

Proceedings Lorenz Kahl, Marcus Eger, and Ulrich G. Hofmann*

Effects of Sampling Rate on Automated Fatigue Recognition in Surface EMG Signals Abstract: This study investigated the effects different sampling rates may produce on the quality of muscle fatigue detection algorithms. sEMG signals were obtained from isometric contractions of the arm. Subsampled signals resulting in technically relevant sampling rates were computationally deduced from the original recordings. The spectral based fatigue recognition methods mean and median frequency as well as spectral moment ratio were included in this investigation, as well as the sample and the fuzzy approximate entropy. The resulting fatigue indices were evaluated with respect to noise and separability of different load levels. We concluded that the spectral moment ratio provides the best results in fatigue detection over a wide range of sampling rates. Keywords: EMG, muscle fatigue, sample rate, MNF, MDF, spectral moment ratio, sample entropy, fuzzy approximate entropy, FES, physiotherapy, neuroprosthesis

on the sampling rate of the input sEMG (surface EMG) signal. We considered algorithms based on mean (MNF) and median (MDF) frequencies as well as the spectral moment ratio (SMR), sample (SampEn) and fuzzy approximate entropy (fApEn). These algorithm’s performance was evaluated based on sEMG signals with technically most relevant sampling rates between 256 and 1024 Hz.

2 Methods The investigations are based on sEMG recordings from upper arm’s biceps muscles while pulling against a constant force. The experiment was conducted with 12 healthy volunteers (age between 17 and 56, 6 female and 6 male). Written consent to take part in the experiment was obtained from the volunteers prior to the start of the experiment.

DOI: 10.1515/bmt-XXXX

1 Introduction

2.1 Experimental Setup

It is part of common knowledge that excessive bodily exercise will lead to muscle fatigue, easily assessed as the muscles’ inability to continuously deliver a constant force. Both physiotherapy and Functional Electro-Stimulation (FES), the noninvasive stimulation of de-innervated muscles, have gone to great lengths to develop stimulation patterns to avoid early muscle fatigue, yet to provide optimal therapeutic outcome. Insofar, it is of great interest to objectively assess muscular fatigue and adjust training accordingly. Muscular fatigue can be detected by subtle changes in electromyographic recordings from the affected muscle. Our investigation compared the performance of different reported fatigue detection algorithms depending

Each subject was requested to pull a rope attached to his/her wrist with a bent arm and the elbow leaning flat on a support. The experiment was conducted with the subject sitting upright in front of a table fitted with pulleys to enable isotonic lifting of a defined weight (see Fig. 1a). The block and pulley construction exerted a constant force on the biceps muscles, once the prepared weight was lifted off the ground. For calibration purposes the volunteer was asked to pull against a spring scale with his/her maximal achievable effort. That way the maximum voluntary contraction (MVC) was determined. Afterwards the subjects were granted a resting period of at least 30 minutes. Then the subject was requested to lift a weight of 20% of his/her previously determined MVC for 3 minutes. This trial was intended to produce a non-fatiguing sEMG recording. In this case all subjects persevered the maximum duration of 3 minutes. After another resting period of at least 30 minutes the subject was requested to pull with 60% of his/her MVC to

Lorenz Kahl, Marcus Eger: Drägerwerk AG & Co. KGaA, Moislinger Allee 53-55, 23558 Lübeck, e-mail: [email protected], [email protected] *Corresponding Author: Ulrich G. Hofmann: Section for Neuroelectronic Systems, University Medical Center Freiburg, Engesserstraße 4, 79108 Freiburg, e-mail: [email protected]

2

Kahl et al., Effects of Sampling Rate on Automated Fatigue Recognition in sEMG Signals

produce a fatiguing sEMG recording. Each volunteer was told to be free to let go the load and relax when feeling exhausted. Subjects were able to sustain the load between 60 seconds until the end of the trial after 3 minutes. The average duration of the 60% MVC trial was 135 seconds. sEMG was recorded from eight self-adhesive electrodes (Covidien Kendall, H124SG) placed on the upper arm on top of the biceps (see Fig. 1b). They were placed in two rows (first row electrodes 1-4, second row electrodes 5-8). Electrodes 3 and 7 were placed above the thickest point of the biceps and electrodes 1 and 4 were placed on the distal end of the upper arm. Electrodes were attached next to each other without gap in between. The centers of adjacent electrodes were thus (in accordance with their diameter) 24 mm apart. Recordings were made with a Porti amplifier (TMSI, Oldenzaal, Netherlands). The amplifier included a 22 bit analog digital converter and was operated with a sampling rate of 1024 Hz. The common electrode of the amplifier was connected on the back side of the upper arm, opposite to the other electrodes, on top of the triceps muscle.

2.2 Signal Processing Raw values provided by the amplifier were imported into a PC for offline analysis. All further steps of signal processing were conducted in R [5]. In a first step 28 differential channels representing all possible combinations of two from eight electrodes were calculated. To remove a possible baseline offset, all differential channels were filtered with a high pass filter (3rd order Butterworth IIR filter with 2Hz corner frequency). Downsampled sEMG signals were derived from the original 1024 Hz signal to investigate the effect of sampling rate limitations. The resampled sEMG signals had sampling rates of 256, 384, 512, 640, 768 and 896 Hz. The resampling was carried out by bandlimited interpolation

% & ' (

(a)

" # ! $

% " & # ' ! ( $

(b)

Figure 1: Setup of the experiment. The block and pulley construction with the seated subject is shown in (a). (b) visualizes the position of the electrodes on the arm.

[7] as implemented by the resample method from the R signal package. Fatigue was quantified based on the high pass filtered sEMG signal as well as the derived resampled sEMG signals by the following, briefly described fatigue evaluation algorithms. The evaluation was performed epochwise with an epoch size of one second. A new epoch was started every 128 ms, resulting in eight epochs overlapping at each point in time and in fatigue tracings with 8 Hz sampling rate.

2.2.1 Frequency based fatigue algorithms Frequency based fatigue algorithms quantify the spectral compression that is connected to the reduction of the conduction velocity occurring in fatiguing muscles as explained by Lindström et al. [3]. These algorithms are based on the epoch-wise estimated power spectral density (PSD). The PSD was estimated by the FFT based Welch method with eight sub segments, no overlapping and the Hamming window function. An alternative PSD estimation was obtained by the Burg algorithm [2]. The Burg algorithm is a parametric PSD estimation method. In a first step parametric PSD estimators determine a linear filter. This filter is designed in a way that it would transform white noise into a signal with the same spectral shape as the original signal to be analyzed. In case of the Burg algorithm filter coefficients of an autoregressive filter and a gain are calculated. The order of the filter was adaptively determined by the Akaike Information Criterion as implemented by the R function ar.burg(). In a second step the PSD estimation was calculated from the autoregressive filter coefficients. ! The mean (also known as central) frequency MNF = fs /2

f ·PSD(f )df

!0 fs /2 0

PSD(f )df

as well as the median frequency (MDF)

were calculated as described in Merletti & Parker [4]. ! MDF ! fs /2 MDF is defined as 0 PSD(f )df = MDF PSD(f )df . Furthermore the PSD estimation was evaluated with the spectral moment ratio (SMR) reported as new spectral index in [1]. Instead of using fixed frequency bands with fixed boundaries as with the old H/L ratio [8], Dimitrov and colleagues used the ratio of the spectral moments of the orders -1 and 5. The spectral moment of or! f /2 der k is defined as Mk = 0 s f k · PSD(f )df . Finally the M spectral moment ratio was calculated as SMR = ln M−1 . 5 We decided to use the natural logarithm of the ratio to circumvent changes by several orders of magnitude.

Kahl et al., Effects of Sampling Rate on Automated Fatigue Recognition in sEMG Signals

2.2.2 Entropy based fatigue algorithms Entropy estimation is a nonlinear method that might be used as a fatigue indicator. One possible entropy calculation method is the sample entropy (SampEn) as introduced by Richman & Moorman [6]. [9] suggested an improved algorithm named fuzzy approximate entropy (fApEn) as a fatigue indicator. Sample entropy is defined by [6] as negative natural logarithm of the conditional probability that two sequences similar for m points remain similar at the next point m + 1. Two vectors are considered similar if their distance according to the uniform norm is below a threshold r. The sample entropy is calculated epoch-wise. Each epoch is first normalized to have zero mean and a standard deviation of one. The sample entropy was calculated for vector length m = 1, 2, 3, 4, 5, 6, 7 and thresholds of r = 0.3, 0.4, 0.5, 0.6, 0.7. A value of vector length of one in combination with r = 0.3 and a vector length of two in combination with r = 0.7 proved satisfactory. The sample entropy was calculated using code available from http://www.physionet.org/physiotools/sampen/c/. The fuzzy approximate entropy is calculated in a similar manner. In contrast to the sample entropy the mean of each part vector is subtracted prior to comparison under the uniform norm. Moreover instead of the simplification to a binary state threshold, a fuzzy function 2 u(d, r) = exp( −d r ) is applied on the distance d. In case of the fuzzy approximate entropy a vector length of two and a threshold of r = 0.6 were used.

2000 −27 −29

SMR

−25 −2000

mV

The performance of the fatigue methods were compared with respect to two criteria. The first criterion of a good fatigue detection algorithm is to demonstrate little noise

50

100

in case of a fatigue producing load. The second criterion is that it will provide a good discrimination of different degrees of fatigue, assuming that these are resulting from the different load levels. To account for the first criterion the fatigue index’ noise was quantified by calculating the coefficient of determination R2 following the suggestion of [9]. The coefficient of determination states how much of a signal can be described by a line with constant slope. The closer R2 is to one, the better. This analysis is based on the first 60 s of the 60% MVC load case. Figure 2 illustrates an example. An average R2 value was evaluated for each combination of fatigue algorithm and sampling rate across all subjects and electrode channels. To investigate how well different degrees of fatigue can be discriminated the results of the different load levels were analyzed. This analysis is based on the assumption that different load levels will lead to different degrees of fatigue. A best fit linear slope was calculated for the first 60 s of all fatigue signals for both the 20% and 60% MVC load cases. See Figure 2 for an example. The slope of this line corresponds to the change δ of the underlying fatigue signal in the first 60 s of the contraction. For each combination of sampling rate and " " fatigue algorithm " µ(δ60 −δ20 ) " a separabilty value ∆ = " σ(δ60 −δ20 ) " (defined as the ratio of the mean and the standard deviation of the differences in δ between the 20% and the 60% MVC load) was calculated across electrode channels and subjects. The bigger the delta, the better.

3 Results

2.3 Evaluation of Quality

0

3

150

Time [s]

Figure 2: The top panel shows exemplary sEMG recordings from the 20% MVC load case (green) and the 60% MVC load case (red). The corresponding fatigue signals (spectral moment ratio) are displayed below. The vertical lines indicate the beginning and ending of the first 60 seconds considered for evaluation.

Figure 3a shows the average coefficient of determination for the 60% MVC load case. In general the coefficient of determination rises with larger sampling rates. In case of the frequency based methods the spectral moment ratio shows the largest R2 values followed by mean and median frequency. All three PSD evaluation methods show larger coefficients of determination if they are based on Burg spectral estimation compared to the classical FFT based Welch algorithm. Both entropy algorithms suffer a strong decrease of the average coefficient of determination for small sampling rates. Figure 3b shows the ∆ values quantifying the separability of the different load levels. In the field of frequency based algorithms the spectral moment ratio lies closely above the mean frequency followed by the median frequency. In contrast to the evaluation of the coefficient of determination the results of the Burg spectral estimation

4

Kahl et al., Effects of Sampling Rate on Automated Fatigue Recognition in sEMG Signals

Fatigue Method

0.6

mean frequency median frequency spectral moment ratio

(a)

SampEn with m = 1 SampEn with m = 2 fApEn with m = 2

0.5



0.4 0.3 Parameters

0.2

PSD estimation with Burg method PSD Welch 8 subseg. Hamming window SampEn with r = 0.3 SampEn with r = 0.7 fApEn with r = 0.6

0.1

Separability ∆

(b) 1.4 1.2 1 0.8 256

384

512 640 768 Sampling Rate

896

1024

Figure 3: Results of the various fatigue algorithms plotted against the sampling rate. (a) visualizes the coefficients of determination R2 . Separability values ∆ are shown in (b).

are very close to those based on the Welch method. The results of the entropy based methods are again more sensitive to smaller sampling rates than the frequency based methods.

4 Conclusion The results show that the fatigue detection quality of all tested algorithms is sensitive to the sampling rate of the input sEMG signal. At the three tested frequency based methods the median frequency yielded the worst results. Above a sampling rate of 640 Hz the results are not improving for both investigated spectral estimations and in respect to both R2 and ∆. It seems quite reasonable that this effect is connected to the characteristic of the median to be robust against outliers. Small portions of the frequency compression in higher bands are attenuated similar to outliers. In contrast the results of the mean frequency are slightly improving for sampling rates larger than 640 Hz. At low sampling rates the results of the spectral moment ratio are comparable to the mean frequency. Towards higher sampling rates the advantage of the spectral moments method above the mean frequency becomes

more and more obvious. It seems that the intention of the smooth weighting function to take the spectral compression also for higher frequencies into account is effective and that the algorithm needs a high sampling rate to display this strength. [2] showed that the Burg algorithm can yield a very good spectral estimation even for small epoch sizes if the autoregressive model is suitable to the data. The results suggest that this is the case for the investigated sEMG data as the Burg algorithm leads to higher R2 values in case of all three PSD based evaluation methods possibly caused by Burg’s lower estimation variance. The results also show that the entropy based fatigue methods are more sensitive against a reduction of the sampling rate than the frequency based methods. In case of the sample entropy the choice of the best parameters strongly depends on the sampling rate whereas this is not the case with the fuzzy approximate entropy. Funding: This work was funded by Drägerwerk AG & Co. KGaA, Lübeck.

References [1] Dimitrov GV, Arabadzhiev TI et al. Muscle fatigue during dynamic contractions assessed by new spectral indices. Medicine & Science in Sports & Exercise 11(0195-9131):1971–1979, 2006. [2] Kammeyer KD & Kroschel K. Digitale Signalverarbeitung. Vieweg + Teubner, 7 edn., 2009. [3] Lindström L, Magnusson R et al. Muscular Fatigue and Action Potential Conduction Velocity Changes Studied with Frequency Analysis of EMG Signals. Electromyography 4:341– 356, 1970. [4] Merletti R & Parker PA, eds. Electromyography : physiology, engineering, and noninvasive applications. IEEE Press series in biomedical engineering. Wiley-Interscience [u.a.], Hoboken, 2004. [5] R Core Team. R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna, Austria, 2013. [6] Richman JS & Moorman JR. Physiological time-series analysis usind approximate entropy and sample entropy. Am J Physiol Heart Circ Physiol 278:H2039 – H2049, 2000. [7] Smith JO & Gossett P. A flexible sampling-rate conversion method. In Acoustics, Speech, and Signal Processing, IEEE Intern. Conf. on ICASSP ’84., vol. 9, 112–115. 1984. [8] Stulen FB & De Luca CJ. Frequency Parameters of the Myoelectric Signal as a Measure of Muscle Conduction Velocity BME-28, No 7:515–523, 1981. [9] Xie HB, Guo JY et al. Fuzzy approximate entropy analysis of chaotic and natural complex systems: detecting muscle fatigue using electromyography signals. Ann Biomed Eng 38(4):1483–1496, 2010.