Abstract
This paper presents a two stage algorithm for real-time estimation of instantaneous tremor parameters from gyroscope recordings. Gyroscopes possess the advantage of providing directly joint rotational speed, overcoming the limitations of traditional tremor recording based on accelerometers. The proposed algorithm first extracts tremor patterns from raw angular data, and afterwards estimates its instantaneous amplitude and frequency. Real-time separation of voluntary and tremorous motion relies on their different frequency contents, whereas tremor modelling is based on an adaptive LMS algorithm and a Kalman filter. Tremor parameters will be employed to drive a neuroprosthesis for tremor suppression based on biomechanical loading.
Keywords: tremor, inertial sensors, MEMS gyroscope, tremor modelling, voluntary movement estimation, adaptive signal processing, Kalman filter, real-time estimation, neuroprosthesis
1. Introduction
Tremor is defined as a rhythmic oscillation of a body part [1]. Despite we all have a small component of tremor, the so-called physiological tremor, there exist pathologies with very disabling forms of tremor. Pathological tremor constitutes the most common movement disorder and is continuously increasing its prevalence with ageing. Although not life threatening, tremor often causes social embarrassment and functional disability; in fact, 65% of patients suffering from upper limb tremor report serious difficulties in performing their activities of daily living [2].
Regarding its aetiology, tremors are caused by the different combinations of four different mechanisms: (1) mechanically induced oscillations, (2) oscillations due to reflexes, (3) oscillations due to central neuronal circuits, and (4) oscillations because of disturbed feedback or feedforward loops [1]. However, understanding of the origins of tremors is far from complete.
Pathological tremors are typically classified by position/motor behavior, which reflects under which circumstances tremor appears. According to this criterium, tremor falls into three categories: rest, postural and kinetic tremor [3].
Current strategies on the treatment of tremors are based on drugs, surgery (thalatomy), or deep brain stimulation. The last two options are typically employed in patients refractory to drugs [4]. However, (1) tremor is not managed satisfactorily in 25 % of patients, (2) drugs used often induce side effects, and (3) neurosurgery is associated with hemorrhages and psychiatric manifestations, such as an increased suicidal tendency [5]. These reasons make research on new therapeutic options to manage tremor mandatory.
In this context, functional compensation of pathological tremors via biomechanical loading has appeared as a promising alternative. It is based on the fact that most types of tremors change their characteristics (amplitude and frequency) when the apparent limb impedance is modified, for example, applying a force or adding a mass [6–8]. In particular, it has been clinically demonstrated that increase of damping and/or inertia in the upper limb leads to an effective tremor reduction [2,8]. In [9], the authors have validated, both functionally and clinically, the concept of tremor suppression by means of a wearable robot that applies biomechanical loads in the upper limb. To achieve satisfactory tremor suppression, the wearable robot must leave concomitant voluntary movement unmodified, compensating for tremor. In this regard, real-time estimation of instantaneous tremor parameters becomes fundamental to develop robust orthotic or neuroprosthetic solutions for tremor suppression. The present work is carried out in the framework of EU project TREMOR (ICT–2007–224051), which aims at developing a soft wearable robot for tremor suppression based on a textile substrate. Tremor suppression will be achieved through the application of selective biomechanical loads by means of Functional Electrical Stimulation (FES). FES constitutes a means of activating motoneurons or reflex pathways by stimulating sensory nerve fibers [10]; it therefore allows for employing human muscles as actuators for a wearable robot [11]. The algorithm presented here will be employed to derive tremor characteristics, in order to generate adequate stimulation patterns that counteract tremor, leaving concomitant voluntary movement unaffected.
Inertial sensors technologies constitute a breakthrough and optimal approach to worn sensors in motion analysis [12], and wearable robotics [13]. Advances in microelectromechanical systems (MEMS) permitted to develop miniaturized low cost sensors that measure changes in velocity, position and accelration [13]. Low size and weight allow for wearability, overcoming the limitation of traditional motion capture systems, based on optic sensors and markers, to work in reduced areas. The most spread types of MEMS sensors are solid state accelerometers, gyroscopes, and magnetometers. MEMS accelerometers, and most recently gyroscopes, have been employed to analyze tremorous movements.
Other solutions for kinematic recording of tremors found in the literature are instrumented, ad-hoc devices, such as the instrumented glove [14], or digitizing tablets [15]. Works that study tremor by generating it with an actuated mechanical setup, employ specific sensors technologies such as Hall effect transducers [16], or piezoelectric accelerometers [17], to measure it.
Regarding tremor monitoring with MEMS inertial sensors, accelerometers constitute the most spread alternative [18,19], although it is not the most adequate, [20]. In fact, accelerometers measure limb orientation with respect to gravity, but their measurement is corrupted by voluntary movements, decreasing accuracy dramatically. Moreover, accelerometers measure linear acceleration, whereas articular motions are rotational about joints. Accelerometer data is typically considered to be compound of three factors: linear acceleration, gravity, and white additive noise [21]. No analytic model to distinguish between accelerometer data due to acceleration and gravity is available, although the most common approach is to model acceleration changes as a low pass filter [21,22], or to separate both components by means of a FIR low pass filter [23]. On the contrary, solid state gyroscopes provide a direct measurement of a rotational movement, uninfluenced by gravity [24], but affected by a characteristic low frequency bias. This bias is traditionally thought of being caused by the effects of temperature and mechanical wear [21], although our experiments demonstrate that it is only correlated with temperature, as in next Section.
Most of currently existing tremor estimation algorithms have been developed for cancelling physiological tremor in human-machine interfaces. Physiological tremor has another aetiology than pathological tremors, and possesses also different characteristics: it is barely visible to the unaided eye, and has frequency between 8 and 12 Hz [25]. Physiological tremor is only symptomatic during high precision tasks, thus it is typically employed during hand held surgery. According to this, successful algorithms for cancelling physiological tremors such as the classical Weighted frequency Fourier Linear Combiner (WFLC) [16], Bandlimited Multiple Fourier Linear Combiner (BMFLC) [17], or Double adaptive BM-FLC [26], may not constitute the optimal solution for estimation of pathological tremor parameters. In fact, in [9], Rocon and colleagues employ a preliminary filtering stage that eliminated volitional motion from the input signal before feeding it into a WFLC, which was employed to track pathological tremor. A similar approach has been recently described in [27].
In this paper, we present a two stage algorithm that estimates instantaneous tremor parameters from wearable gyroscope data. As above mentioned, information about current tremor amplitude and frequency will be employed to drive a neuroprosthesis for tremor suppression based on application of selective biomechanical loads. We employ MEMS gyroscopes to record joint kinematics. Next, tremorous patterns are extracted from the recorded motion, based on the frequency distribution of voluntary and tremorous components of movement. The second stage of the algorithm estimates tremor amplitude and frequency from the tremorous component of joint motion. Robust, precise and low delay estimation of tremor parameters is achieved: average amplitude estimation error is 0.001 ± 0.002 rad/s, and frequency estimation agrees with spectrograms.
This paper is organized as follows. First, Section 2 presents selection of sensors, patients, and clinical and functional tests to be recorded. Next, in Section 3, we introduce the architecture of our two stage algorithm, and a series of estimators that will be evaluated for voluntary movement estimation and tremor modelling (each of the stages). The performance of these algorithms when tracking tremor parameters in real data is compared in Section 4; which serves to define an optimal architecture for the algorithm. Finally, we end the paper with a discussion on the results, and some conclusions summarizing major achievements.
2. Methods
In order to assess time varying tremor parameters, we record hand motion by measuring wrist flexion-extension. We decide to measure wrist tremor because: (1) tremors are more explicit at distal joints [1], (2) wrist tremor has the largest impact on disability [28], and (3) it constitutes, together with finger tremor, the most studied tremor in clinical literature.
Wrist rotation is obtained with two solid state gyroscopes, placed on the distal part of the forearm, and on the hand, Figure 1. Fixation on soft tissues is avoided in order to eliminate the undesired oscillations they create, and their intrinsic low pass filtering behavior [29]. Sensors are fastened with adhesive tape.
Proper alignment between gyroscope axes and wrist joint is ensured before recording. Wrist flexion-extension is simply calculated subtracting the rotation measured with the hand gyroscope from the forearm rotation. Gyroscope bias is compensated online, based on its correlation with temperature, which is measured by the sensor itself. Correlation between gyroscope bias and temperature in three axes of one of the inertial measurement units (IMUs) we employ is shown in Figure 2. Regression coefficients for the three gyroscopes in one of the chipsets are given in Equations 1 to 3, where baxis represents the bias for each axis, and T temperature in °C.
(1) |
(2) |
(3) |
Sensors selected are off the shelf inertial measurement units (IMU) provided by Technaid S.L. They are compound of triaxial accelerometers, gyroscopes, and magnetometers. The low weight of these IMUs, around 40 g, makes them an optimal solution for our application, as tremor would change its characteristics if a larger mass were attached to the limbs [7]. Moreover, their small size (27 mm) does not interfere with user’s movements. As above mentioned, only gyroscope recordings is considered. IMU sensors communicate with a hub trough Controller Area Network (CAN) bus. The host PC receives data from the hub through a USB interface at a sampling frequency of 1 kHz.
2.1. Selection of Patients
A group of patients affected by the most common pathologies that cause tremor was recruited for this study. The patients group was compound of four men and one woman, ages ranging from 48 to 74 years old (average 63 years old). All of them agreed to participate in the experiments, and gave their written informed consent. Patients had been previously diagnosed by the neurological personnel of the Hôpital Erasme at Brussels; their clinical features are depicted in Table 1. Patients kept their regular medications, to avoid tremor fluctuations related to changes in therapies. Tremor severity was assessed according to Faher scale [30]. The Ethical Committee of Hôptial Erasme gave ethical approval for this study.
Table 1.
Patient number | Medical History | Tremor | Body segments affected | Frequency | Grade1 |
---|---|---|---|---|---|
01 | Essential Tremor | Postural | Right upper limb | 7 Hz | 2 |
Kinetic | Right upper limb | 4 Hz | 2 | ||
02 | Paraneoplastic Syndrome | Kinetic | Upper/lower limbs | 5–6 Hz | 1,2 |
Postural | Right/left inch | 2–3 Hz | 1 | ||
03 | Idiophatic Parkinson | Rest | Upper limbs | 3–4 Hz | 1,3 |
Postural | Left hand | 6 Hz | 1 | ||
04 | Extrapyramidal Syndrome | Rest | Upper limbs | 3–4 Hz | 2 |
Postural | Upper limbs | 3–4 Hz | 1 | ||
05 | Essential Tremor | Postural | Right upper limb | 7 Hz | 2 |
Kinetic | Upper limbs | 4 Hz | 2 |
If there are two figures the first one refers to the right limb and the second one to the left limb. If not, tremor severity is the same for both limbs. The grades are: 0: Absent, 1: Discrete and infrequent, not disturbing for the patient, 2: Mild, tremor amplitude is discrete but persistent, or tremor amplitude is mild but its presence is intermittent, 3: Intense, the tremor interferes in some activities, its amplitude is mild but it appears most of the time, 4: Severe, the tremor interferes in most of the chores, its amplitude is high, and it appears most of the time.
2.2. Clinical and Functional Tasks
We selected four tasks that are relevant either from the clinical or usability analysis standpoint. Three of them are employed by neurologists to activate the different types of tremor [19], whereas the fourth one serves to evaluate patients’ ability to perform their activities of daily living [31].
During the whole session, patients were sitting, with both arms comfortably resting on their lap. Selected tasks were:
Arms outstretched: The patient is asked to elevate both arms and hold them against gravity with fingers abducted, hands in supination, during 30 s. This task is typically employed to activate postural tremor.
Finger to nose: The patient is asked to alternatively touch his nose and knee with the tip of his/her finger during 30 s. The patient must keep contact with nose and knee during a few seconds. This task is typically used to activate kinetic tremor.
Rest: The patient is asked to keep both arms resting on the lap during 30 s. The elbow is flexed around 90°. This tasks is typically used to activate rest tremor.
Pouring water into a glass: The patient is asked to pour 20 cl water from a standard bottle into a regular glass. The patient could choose how to perform the task, i.e., how to hold the bottle and the glass. This task is selected for functional and usability analysis.
3. Real-Time Estimation of Instantaneous Tremor Parameters
This section presents our two stage algorithm for real-time modelling of tremor. It relies on two assumptions: (1) pathological tremors and voluntary motions have different frequency distributions, and (2) pathological tremor constitutes, from a signal processing standpoint, additive noise superimposed to volitional movement [32].
The data we collected yields that pathological tremors occur in a frequency band higher than voluntary motion, Figure 3, which is in agreement with the literature. For example, one large study carried out with young and elderly healthy people and patients suffering from tremor, demonstrates that both groups are able to perform tracking tasks with a frequency up to 2 Hz, the bandwidth decreasing with age [33]. Also in [34], the authors perform a large spectral analysis of twenty four activities of daily living, showing that most of them involve wrist notion in a frequency range around 1 Hz, being the predominant frequency components between 0.48 and 2.47 Hz.
In addition, pathological tremors are reported to occur at higher frequencies, typically in the 3–12 Hz band [1,19]. Moreover, there exists a relationship between the underlying pathology and tremor frequency. For example, Parkinsonian tremor frequency lies within 4–7 Hz, cerebellar tremors manifest between 4 and 6 Hz, and essential tremors broaden to basically the whole 3–12 Hz band [1].
According to this, it is possible to extract voluntary and/or tremorous motion from kinematic data time series based solely on their different frequency contents, for example with a forth and back recursive digital filter that removes one of them from the original signal without causing phase distortion, i.e., delay, Figure 4. Although this approach is not real-time implementable, it sets the basis for our two stage algorithm for estimation of tremor parameters described in next section.
However, at the moment of developing a real-time algorithm, we must take into account that power of tremorous component of motion is considerably smaller than that of volitional origin. This makes estimation algorithms based on gradient like approaches tend to converge towards the voluntary component, making them unsuitable for direct tremor modelling [33]. Therefore, we need to first isolate the tremorous component of motion. This constitutes the idea of our two stage algorithm: to first generate an estimation of tremorous motion (after stage 1), and next feed this signal into an adaptive algorithm that provides instantaneous tremor frequency and amplitude (stage 2), Figure 5. To generate an estimation of tremor, we employ a tracking algorithm to estimate the voluntary component of motion. Next, based on the fact that tremor alters volitional motion in an additive manner [32], we remove the estimated voluntary movement from the input signal, obtaining an estimation of tremor.
This section reviews a series of algorithms that are employed to develop the two stage algorithm. First, we present a number of techniques to track voluntary movement based on its lower frequency content. Next, we introduce two adaptive algorithms that track an input signal based on Fourier modelling and the Least Mean Square (LMS) recursion, a gradient-like approach [35], and a Kalman Filter that estimates pathological tremor amplitude.
3.1. Stage 1. Voluntary Motion Tracking
Two types of tracking algorithms for real-time estimation of voluntary movement will be evaluated. As discussed above, voluntary movements are assumed to be performed between 0 and 2 Hz. Therefore, the tracking algorithm must be designed to neglect any component of the movement over 2 Hz.
Voluntary movement is modelled as a first order process. If we consider a Taylor series that represents voluntary movement, we can neglect the second derivative ẍ if either the sampling period Ts or the acceleration itself are small, Equation 4. In our case both assumptions are satisfied: the sampling period is 1 ms, and the maximum of ẍ is 2.54 · 10−4 rad·s−3, 4 orders of magnitude smaller than average angular velocity.
(4) |
g–h Filters
g–h filters are simple recursive filters that estimate future position and velocity of a variable based on first order model of the process. Measurements are used to correct these predictions, minimizing the estimation error. Traditional applications of g–h filters are radar tracking and aeronautics [36]. The general form of a g–h filter is:
(5) |
(6) |
(7) |
(8) |
Equations 5 and 6 are designated as update, tracking, or filtering equations. They estimate the current position and velocity of the variable, xk,k, ẋk,k, based on previous predicted position and velocity, xk,k−1, ẋk,k−1, taking current measurement yk into account. Confidence on measures is weighted by gains gk and hk. Equations 7 and 8 are called prediction equations because they provide a prediction of future position and velocity, xk+1,k, ẋk+1,k, based on first order dynamic model of the variable. As g–h trackers consider a constant velocity model, predicted velocity ẋk+1,k is equal to the current one, ẋk,k.
g–h filters are affected by two error sources [36]: (1) the lag, dynamic, bias or systematic error, which is related to the constant velocity assumption, and (2) the measurement error, which is inherent to the sensor and measurement process. Typically, the smaller gk and hk are, the larger is the dynamic error and the smaller are the measurement errors [36]. Therefore, in designing a g–h tracking filter there is a degree of freedom in choice of the relative magnitude of the measurement and dynamic errors. To simplify the selection of gains, we consider two filters that are optimal in some sense. These filters are the Benedict–Bordner Filter and the Critically Dampened filter, described next.
-
Benedict–Bordner Filter: The Benedict–Bordner Filter (BBF) minimizes the total transient error, defined as the weighted sum of the total transient error and the variance of prediction error due to measurement noise errors [37]. The BBF is the constant g–h filter that satisfies:
(9) As Equation 9 relates g and h, the BBF has one degree of freedom. Because for g–h filters increasing the value of g diminishes the transient error, the larger g, the higher frequencies the BBF tracks.
-
Critically Dampened Filter: The Critically Dampened Filter (CDF) minimizes the least squares fitting line of previous measurements [36], giving old data lesser significance when forming the total error sum. This is achieved with weight factor θ. Parameters in the g–h filter are related by:
(10) Selection of filter gain for the CDF is analogous to that for the BBF.
Kalman Filter
The Kalman filter (KF) is the most widespread estimation algorithm, and is employed in a large number of applications. We implement a KF that tracks voluntary movement modelled as a first order process, Equation 4. Therefore, state vector x(t) is composed by the variable to be estimated, and its derivative. The problem is formulated as:
(11) |
(12) |
Covariance matrices are defined taking into account the following considerations:
Measurement noise covariance R(k): as voluntary motion is the variable we are tracking, tremor is assumed to be sensor noise. The value of the measurement noise covariance is considered to be the average covariance of isolated tremor data; therefore .
-
Process noise covariance Q(k): we hypothesize that process noise is related to voluntary motion changes due to tremor. A piecewise constant acceleration model is considered, [38]. This model assumes that voluntary movement undergoes constant and uncorrelated acceleration changes between samples in the form of:
(13) To select the variance of the random velocity component, , we follow the recommendation in [38]: 0.5 · maxẍ ≤ |σν| ≤ maxẍ. The second derivative of the raw recorded motion yields that maxẍ = 0.1042 rad·s−3.
3.2. Stage 2. Tremor Modelling
State of the art tremor modelling algorithms rely on a time-varying Fourier series, which parameters are estimated recursively. Adaptation to the input signal is based on the LMS algorithm developed by Widrow [35]. As the LMS technique is a descend method that relies on a special estimate of the gradient [35], high energy voluntary motion must be removed first, to ensure proper tremor tracking. The first part of the two stage algorithm accomplishes this task, Figure 5.
We evaluate the performance of two algorithms originally developed to track physiological tremor, and of a Kalman Filter we have developed to estimate tremor amplitude, the parameter that is more prone to change during the execution of a task, while tremor frequency keeps within a ±1.5 Hz interval around tremor frequency [39].
Weighted Frequency Fourier Linear Combiner
The Weighted Frequency Fourier Linear Combiner (WFLC) is the most widespread algorithm for tremor modelling. It consists in an extension of the classical noise canceller presented in [35], the Fourier Linear Combiner [40], which also tracks frequency of the input signal based on a LMS recursion. Therefore, the WFLC adapts in real-time its amplitude, frequency and phase [16]:
(14) |
(15) |
(16) |
(17) |
Equation 14 represents the time varying sinusoidal terms of the Fourier Series. Equation 15 defines the error to be minimized by the LMS recursion. Equations 16 and 17 represent frequency and amplitude adaptation. The WFLC has four parameters: the number of harmonics of the model, M, the amplitude and frequency adaptation gains, μ0, and μ1, and a bias weight μb that is included to compensate for low frequency errors [16,41]. The number of harmonics is typically fixed to 1, the other parameters are selected based on experimental data.
Bandlimited Multiple Fourier Linear Combiner
The Bandlimited Multiple Fourier Linear Combiner (BMFLC) is a more recent algorithm derived from the FLC. It emerged to compensate for the limitations of the WFLC to track physiological tremor when two constituent frequencies [25] are clearly evident, or when frequency variations occur abruptly [17]. The BMFLC consists in a bank of FLCs that track the input signal based on multiple frequency components. Therefore, each FLC adapts its amplitude to the input signal, although its frequency remains constant.
The performance of the BMFLC relies on the multiple fixed frequencies it can track. An interval is thus defined with the lower and upper frequency of the FLCs bank, ω0, and ωf. The number of FLCs in between is defined by parameter G. The BMFLC is formulated as follows [17]:
(18) |
(19) |
(20) |
Equation 18 represents the sinusoidal terms of the Fourier Series. Equation 19 defines the error to be minimized by the LMS recursion. Equation 20 represents amplitude adaptation. The BMFLC has six parameters: the number of harmonics of each FLC model, M, amplitude adaptation gain, μ, the lower and upper frequency of the FLC bank, ω0, and ωf, and the number of filters in between, G. A bias weight μb is also included to compensate for low frequency errors [16].
Although the BMFLC is not conceived as a frequency tracking algorithm, we developed an equation to estimate the current frequency of the input signal, Equation 21. Frequency estimation is obtained by weighting the contribution of each FLC to amplitude adaptation. For a first order Fourier series, it is expressed as:
(21) |
Kalman Filter
The WFLC and BMFLC algorithms provide adaptation to the input signal based on special estimates of the gradient. On the contrary, Kalman Filter (KF) constitutes the optimal solution for estimation problems, in the sense it minimizes the covariance of a posteriori estimation error. Therefore the performance of WFLC and BMFLC, overall in terms of amplitude estimation, as it is the parameter that varies the most, can be enhanced using an adequate KF. In a similar manner to WFLC, we define our KF as:
(22) |
(23) |
where A and B represent the amplitude of the sinusoidal terms of a first order Fourier series, and ω0 the current tremor frequency. As tremor frequency suffers slow changes, and varies in a ±1.5 Hz interval around a characteristic frequency that depends on the patient, [39], WFLC frequency estimation is employed. Therefore we define a cascade filter that consists on a WFLC that tracks tremor frequency, and feds it into the Kalman Filter that estimates tremor amplitude.
Covariance matrices are adjusted as follows:
Measurement noise covariance , which has only slight impact on transient duration.
Process noise covariance is defined as Q(k) = diag(q1,1, q2,2, q3,3, q4,4), because state variables are considered to be mutually independent.
4. Results
This section presents evaluation of the algorithms described in previous section for both voluntary motion tracking, and estimation of tremor parameters. The idea is to find a unique filter setup that provides accurate tracking of instantaneous tremor parameters for every patient and task. To do so, first, we present the figure of merit that will be employed to tune each algorithm, and compare the performance of different candidates. Next, we summarize the results obtained with each of them.
4.1. Evaluation of Voluntary Movement Tracking Algorithms
The Kinematic Tracking Error (KTE) evaluates the smoothness, response time, and execution time of a tracking algorithm, [41]. It is expressed mathematically as:
(24) |
where φ|b*| and are the mean and variance of the absolute estimation error, b* = |yk − xk+1,k|, respectively. The former measures how fast the algorithm is capable of reacting when the velocity changes, whereas the latter quantifies the smoothness or filtering of the estimated variable [41]. Offline voluntary motion estimation obtained with a forth and back recursive filter is employed as the reference signal the estimators should track. This technique consists in filtering input data in both the forward and reverse directions; after filtering in the forward direction, the algorithm reverses the filtered sequence and runs it back through the filter, which yields precisely zero-phase distortion.
First, we present results obtained with the optimal parameter(s) for each of the voluntary movement estimation algorithms presented in Section 3.1 The condition to select the optimal parameter(s) for each algorithm is to find the tuning that minimizes the KTE between filter estimation of voluntary motion and zero phase (off-line) recursive estimation of voluntary movement. Optimal filters are:
Benedict–Bordner Filter with g = 0.018.
Critically Dampened Filter with θ = 0.990.
Kalman Filter with and .
The KTE is employed next to compare their relative performance. Table 2 summarizes KTE per kind of task and patient, for the optimal setup for the three algorithms. We observe that among the BBF, CDF, and KF, the CDF with θ = 0.990 performs the best when tracking voluntary movement, as it provides the least KTE for all tasks; thus it is the approach we select for the first stage of the algorithm.
Table 2.
Algorithm | Arms Outstretched | Finger to nose | Rest | Water into a glass |
---|---|---|---|---|
Benedict–Bordner Filter | 0.194 ± 0.058 | 0.400 ± 0.134 | 0.147 ± 0.091 | 0.291 ± 0.083 |
Critically Dampened Filter | 0.121 ± 0.053 | 0.372 ± 0.118 | 0.134 ± 0.081 | 0.264 ± 0.073 |
Kalman Filter | 0.169 ± 0.100 | 0.378 ± 0.143 | 0.174 ± 0.129 | 0.312 ± 0.124 |
Figure 6 shows an example of CDF and BBF estimation of voluntary movement from raw gyroscope recording, during an arms outstretched task performed by patient 01. We observe that BBF estimation is less smooth than that of the CDF for a similar adaptation to transitory changes.
4.2. Evaluation of Tremor Modelling Algorithms
An optimal figure of merit to evaluate tremor estimation algorithms must consider the physical nature of the estimation error; for example if it originates from phase difference between real and estimated tremor, or estimation overshoots and undershoots. Traditional use of root mean square error (RMSE) suffers from these problems: (1) because errors due to undershoots and overshoots posses large power, which make them overshadow errors from interest, and (2) because the presence of delays affects the RMSE severely, although it does not necessarily indicate poor performance [42]. In this regard, the so-called filtered mean square error with delay correction, FMSEd, takes both phenomena into account [42], as it first aligns estimated tremor with the reference signal, and afterwards computes the delay corrected estimation error. The FMSEd is defined as follows:
(25) |
where sk represents the input tremor signal to be estimated, and tk−d̂k stands for the delay compensated tremor estimation. Instantaneous delay d̂k is calculated offline by means of an adaptive algorithm that minimizes the mean square error function based on a LMS-like recursion, [43]. As mentioned before, once instantaneous delay is obtained, RMSE between delay corrected estimation of tremor and the reference signal obtained is computed, providing the FMSEd.
First we select filter parameters so that they minimize FMSEd, and afterwards we compare the performance of each filter presented in Section 3.2 Optimal filters are:
Weighted Frequency Fourier Linear Combiner with μ0 = 5 · 10−4, μ1 = 2 · 10−2, μb = 1 · 10−2, M = 1, f0 = 6 Hz.
Bandlimited Multiple Fourier Linear Combiner with μ = 4 · 10−2, μb = 0, M = 1, f0 = 3 Hz, fn = 8 Hz, G = 4.
Kalman Filter with μ0 = 5 · 10−4, μ1 = 1 · 10−2, μb = 1 · 10−2, M = 1, f0 = 6 Hz, R = 0.01, Q = (1, 1, 1, 1).
Table 3 summarizes FMSEd per task and patient for the optimal setup for the three algorithms. FMSEd is computed as the error between applying the different tremor modelling algorithms to the estimated tremor, obtained as the difference between raw gyroscope signal and CDF estimation, and the zero phase offline estimation of tremor. We observe that among the WFLC, BMFLC, and KF, the KF (with a previous WFLC stage) performs the best when estimating instantaneous tremor amplitude, as it provides the least FMSEd for all tasks, and also is capable of tracking tremor frequency in a robust fashion, as shown below. Therefore, we choose to employ a WFLC in cascade with a KF to estimate tremor parameters in real-time.
Table 3.
Algorithm | Arms Outstretched | Finger to nose | Rest | Water into a glass |
---|---|---|---|---|
Weighted Frequency FLC | 0.017 ± 0.007 | 0.052 ± 0.023 | 0.014 ± 0.006 | 0.042 ± 0.020 |
Bandlimited Multiple FLC | 0.007 ± 0.008 | 0.008 ± 0.019 | 0.005 ± 0.012 | 0.006 ± 0.013 |
Kalman Filter | 0.001 ± 0.003 | 0.000 ± 0.002 | 0.001 ± 0.001 | 0.001 ± 0.003 |
Figure 7 shows tremor amplitude and frequency estimation obtained with the WFLC alone, and together with the KF, during an arms outstretched task performed by patient 01. We observe that the WFLC is capable of adapting to tremor frequency and reacting when changes occur (bottom plot), and that KF adapts faster than WFLC when tremor amplitude varies. This happens because of the optimal nature of the KF, which makes it adjust its gain continuously, on the contrary to the WFLC that has a fixed gain to descent the gradient.
5. Discussion
Previous sections presented a two stage algorithm for real-time estimation of tremor parameters. The first stage is in charge of separating voluntary and tremorous components of movement, based on the fact that tremor alters volitional motion in an additive manner [32]. Next, we generate an estimation of tremor as the difference between raw motion and this estimated voluntary movement. The second stage estimates instantaneous tremor amplitude and frequency from isolated tremorous movement. We proposed and evaluated three algorithms for voluntary movement estimation, and three algorithms for tremor modelling.
Regarding voluntary movement estimation, we evaluated two g–h filters, the Benedict–Bordner (BBF) and Critically Dampened Filters (CDF), and a Kalman Filter (KF), for tracking volitional motion based on a figure of merit that accounts for tracking error and estimation smoothness, the Kinematic Tracking Error (KTE). This analysis yielded that g–h filters outperform the KF, because it results difficult to make it adapt quickly to changing voluntary movement patterns without tracking tremor, which translates into a larger KTE, Table 2. Comparing the performance of CDF and BBF, we observe that CDF outperforms BBF because its intrinsic oscillatory nature, that makes it resonate almost in phase with tremor. This occurs because the CDF has two equally spaced zeroes; thus it behaves as a critically dampened system [36]. This also makes the CDF react faster when changes in volitional movement appear, decreasing estimation error during transitory periods. Therefore, the CDF constitutes the optimal filter during both steady and more dynamically complex tasks, as demonstrated by the fact that it provides the least KTE during both rest and finger to nose tests, Table 2.
Algorithms for estimation of instantaneous tremor frequency and amplitude are evaluated based on the Filtered Mean Square Error with Delay correction (FMSEd). This metric presents the advantages of accounting for errors due to undershoots and overshoots, and those originated from estimation delays [42]. First, we evaluated two algorithms originally devoted to physiological tremor tracking, the Weighted Frequency Fourier Linear Combiner (WFLC), and the Bandlimited Multiple Fourier Linear Combiner (BMFLC). Physiological tremor not only has different aetiology than pathological tremors, but also manifests differently in terms of amplitude and frequency [25,26]. Although the WFLC has also been successfully employed in the context of pathological tremor estimation [9], we evaluated a novel approach based on a cascade algorithm compound by a WFLC and a Kalman Filter (KF). This algorithm raised as the best solution in the sense it minimizes FMSEd, as it puts together accurate tremor frequency estimation based on a WFLC, and an independent KF for amplitude estimation, Table 3. In fact, FMSEd is at least five time smaller than that obtained with the BMFLC, which constitutes the second best candidate. KF tremor estimation proves to be robust and precise both during steady state regime and transitory periods, while BMFLC and overall WFLC lack of that accurate adaptation during transients, mainly because of the fixed gain they employ. This is demonstrated because performance in terms of FMSEd degrades the most during finger to nose and water glass tests, Table 3.
Therefore, the optimal architecture for the two-stage algorithm is constituted by a Critically Dampened Filter that estimates voluntary movement, and a cascade algorithm compound by a Weighted Frequency Fourier Linear Combiner that estimates tremor frequency and feds it into a Kalman Filter that tracks tremor amplitude, Figure 8. This approach provides an average tremor estimation error 0.001 ± 0.002 rad/s, with robust frequency tracking if compared to spectrograms.
6. Conclusions
This paper presented a two stage algorithm for real-time estimation of instantaneous tremor parameters. At the first stage, the algorithm separates tremorous and concomitant voluntary movement based on their different distributions in the frequency domain. Next, estimated voluntary movement is removed from raw kinematic data, in order to generate an estimation of tremor. This estimation is then fed, at a second stage, into aWeighted Frequency Fourier Linear Combiner (WFLC) that tracks tremor frequency, and into a Kalman Filter that uses WFLC frequency information to estimate tremor amplitude.
The resulting algorithm provides accurate estimation of tremor amplitude, with an average FMSEd of 0.001 ± 0.002 rad/s, and robust frequency estimation when compared with spectrograms. Our two stage algorithm has been validated with patients suffering from major pathologies that cause tremor during the execution of both clinical and functional tasks. Real-time tremor parameters will be employed to drive a “soft robot” or neuroprosthesis for tremor suppression based on Functional Electrical Stimulation.
Acknowledgments
The work presented in this paper has been carried out with the financial support from the Commission of the European Union, within Framework 7, specific IST programme “Accessible and Inclusive ICT”, Target outcome 7.2 “Advanced self-adaptive ICT-enabled assistive systems based on non-invasive Brain to Computer Interaction (BCI)”, under Grant Agreement number ICT-2007-224051, “TREMOR: An ambulatory BCI-driven tremor suppression system based on functional electrical stimulation.”
References
- 1.Deuschl G., Raethjen J., Lindemann M., Krack P. The pathophysiology of tremor. Muscle Ner. 2001;24:716–735. doi: 10.1002/mus.1063. [DOI] [PubMed] [Google Scholar]
- 2.Rocon E., Belda-Lois J.M., Sanchez-Lacuesta J.M., Pons J.L. Pathological tremor management: Modelling, compensatory technology and evaluation. Technol. Disabil. 2004;16:3–18. [Google Scholar]
- 3.Deuschl G., Bain P., Brin M. Consensus statement of the movement disorder society on tremor. Ad hoc scientific committee. Mov. Disord. 1998;13:2–23. doi: 10.1002/mds.870131303. [DOI] [PubMed] [Google Scholar]
- 4.Ushe M., Mink J.W., Revilla F.J., Wernle A., Gibson P.S., McGee-Minnich L., Hong M., Rich K.M., Lyons K.E., Pahwa R., Perlmutter J.S. Effect of stimulation frequency on tremor suppression in essential tremor. Mov. Disord. 2004;19:1163–1168. doi: 10.1002/mds.20231. [DOI] [PubMed] [Google Scholar]
- 5.Burkhard P.R., Vingerhoets F.J.G., Berney A., Bogousslavsky J., Villemure J.G., Ghika J. Suicide after successful deep brain stimulation for movement disorders. Neurology. 2004;63:2170–2172. doi: 10.1212/01.wnl.0000145603.48221.b5. [DOI] [PubMed] [Google Scholar]
- 6.Stiles R.N., Randall J.E. Mechanical factors in human tremor frequency. J. Appl. Physiol. 1967;23:324–330. doi: 10.1152/jappl.1967.23.3.324. [DOI] [PubMed] [Google Scholar]
- 7.Joyce G.C., Rack P.M.H. The effects of load and force on tremor at the normal human elbow joint. J. Physiol. 1974;240:375–396. doi: 10.1113/jphysiol.1974.sp010615. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Adelstein B.D. Peripheral Mechanical Loading and the Mechanism of Abnormal Intention Tremor. Massachusetts Institute of Technology; Cambridge, MA, USA: 1981. Master’s Thesis; [Google Scholar]
- 9.Rocon E., Belda-Lois J.M., Ruiz A.F., Manto M., Moreno J.C., Pons J.L. Design and Validation of a Rehabilitation Robotic Exoskeleton for Tremor Assessment and Suppression. IEEE Trans. Neural Syst. Rehab. Eng. 2007;15:367–378. doi: 10.1109/TNSRE.2007.903917. [DOI] [PubMed] [Google Scholar]
- 10.Popovic D., Sinkjaer T. Control of Movement for the Physically Disabled. Springer; New York, NY, USA: 2000. [Google Scholar]
- 11.Popovic D., Stojanovic A., Pjanovic A., Radosavljevic S., Popovic M., Jovic S., Vulovic D. Clinical evaluation of the bionic glove. Arch. Phys. Med. Rehabil. 1999;80:299–304. doi: 10.1016/s0003-9993(99)90141-7. [DOI] [PubMed] [Google Scholar]
- 12.Mayagoitia R.E., Nene A.V., Veltink P.H. Accelerometer and rate gyroscope measurement of kinematics: an inexpensive alternative to optical motion analysis systems. J. Biomech. 2002;35:537–542. doi: 10.1016/s0021-9290(01)00231-7. [DOI] [PubMed] [Google Scholar]
- 13.Pons J.L., editor. Wearable Robots: Biomechatronic Exoskeletons. John Wiley & Sons; Hoboken, NJ, USA: 2008. [Google Scholar]
- 14.Vinjamuri R., Crammond D.J., Kondziolka D., Lee H.N., Mao Z.H. Extraction of sources of tremor in hand movements of patients with movement disorders. IEEE Trans. Inform. Tech. Biomed. 2009;13:49–56. doi: 10.1109/TITB.2008.2006403. [DOI] [PubMed] [Google Scholar]
- 15.Elble R.J., Sinha R., Higgins C. Quantification of tremor with a digitizing tablet. J. Neurosci. Meth. 1990;32:193–98. doi: 10.1016/0165-0270(90)90140-b. [DOI] [PubMed] [Google Scholar]
- 16.Riviere C.N., Rader R.S., Thakor N.V. Adaptive canceling of physiological tremor for improved precision in microsurgery. IEEE Trans. Biomed. Eng. 1998;45:839–846. doi: 10.1109/10.686791. [DOI] [PubMed] [Google Scholar]
- 17.Veluvolu K.C., Tan U.X., Latt W.T., Shee C.Y., Ang W.T. Bandlimited Multiple Fourier Linear Combiner for real-time tremor compensation. Proceedings of International Conference of the IEEE Engineering in Medicine and Biology Society; Kiel, Germany. August 27–31, 2007; [DOI] [PubMed] [Google Scholar]
- 18.Elble R.J., Koller W.C. Tremor. The John Hopkins Univesity Press; Baltimore, MD, USA: 1990. [Google Scholar]
- 19.Grimaldi G., Manto M. Tremor from Pathogenesis to Treatment. Morgan & Claypool; San Rafael, CA, USA: 2008. [Google Scholar]
- 20.Rocon E., Moreno J.C., Ruiz A.F., Brunetti F., Miranda J.A., Pons J.L. Application of inertial sensors in rehabilitation robotics. Proceedings of IEEE 10th International Conference on Rehabilitation Robotics; Noordwijk, The Netherlands. June 12–15, 2007; pp. 145–150. [Google Scholar]
- 21.Luinge H.J., Veltink P.H. Measuring orientation of human body segments using miniature gyroscopes and accelerometers. Med. Biol. Eng. Comput. 2005;43:273–282. doi: 10.1007/BF02345966. [DOI] [PubMed] [Google Scholar]
- 22.Roetenberg D., Luinge H.J., Baten C.T.M., Veltink P.H. Compensation of magnetic disturbances improves inertial and magnetic sensing of human body segment orientation. IEEE Trans. Neural Syst. Rehab. Eng. 2005;13:395–405. doi: 10.1109/TNSRE.2005.847353. [DOI] [PubMed] [Google Scholar]
- 23.Harada T., Uchino H., Mori T., Sato T. Portable orientation estimation device based on accelerometers, magnetometers and gyroscope sensors for sensor network. Proceedings of IEEE International Conference on MFI2003 Multisensor Fusion and Integration for Intelligent Systems; Tokyo, Japan. July 30–August 1, 2003; pp. 191–196. [Google Scholar]
- 24.Rocon E., Andrade A.O., Pons J.L., Kyberd P., Nasuto S.J. Empirical Mode Decomposition: a novel technique for the study of tremor time series. Med. Biol. Eng. Comput. 2006;44:569–582. doi: 10.1007/s11517-006-0065-x. [DOI] [PubMed] [Google Scholar]
- 25.Elble R. Tremor: clinical features, pathophysiology, and treatment. Neurologic. Clin. 2009;27:679–695. doi: 10.1016/j.ncl.2009.04.003. [DOI] [PubMed] [Google Scholar]
- 26.Veluvolu K.C., Latt W.T., Ang W.T. Double adaptive bandlimited multiple Fourier linear combiner for real-time estimation/filtering of physiological tremor. Biomed. Signal Process. Control. 2010;5:37–44. [Google Scholar]
- 27.Bó A.P.L., Poignet P., Geny C. Filtering voluntary motion for pathological tremor compensation. Proceedings of International Conference on Intelligent Robots and Systems; St. Louis, MO, USA. October 11–15, 2009. [Google Scholar]
- 28.Kotovsky J., Rosen M.J. A wearable tremor-suppression orthosis. J. Rehabil. Res. Dev. 1998;35:373–387. [PubMed] [Google Scholar]
- 29.Tong K., Granat M.H. A practical gait analysis system using gyroscopes. Med. Eng. Phys. 1999;21:87–94. doi: 10.1016/s1350-4533(99)00030-2. [DOI] [PubMed] [Google Scholar]
- 30.Fahn S., Tolosa E., Marin C. Parkinson’s Disease and Movement Disorders. Urban & Schwarzenberg; Wien, Austria: 1998. Clinical rating scale for tremor; pp. 225–234. [Google Scholar]
- 31.Belda-Lois J.M., Rocon E., Sánchez-Lacuesta J.J., Ruiz A.F., Pons J.L. Functional assessment of tremor in the upper limb. Proceedings of European Conference for the Advancement of Assistive Technology in Europe; Lille, France. September 6–9, 2005. [Google Scholar]
- 32.Riley P.O., Rosen M.J. Evaluating manual control devices for those with tremor disability. J. Rehabil. Rese. Dev. 1987;24:99–110. [PubMed] [Google Scholar]
- 33.Riviere C.N. Adaptive Suppression of Tremor for Improved Human Machine Control. John Hopkins University; Baltimore, MD, USA: 1981. PhD Thesis; [Google Scholar]
- 34.Mann K.A., Werner F.W., Palmer A.K. Frequency spectrum analysis of wrist motion for activities of daily living. J. Orthop. Res. 1989;7:304–306. doi: 10.1002/jor.1100070219. [DOI] [PubMed] [Google Scholar]
- 35.Widrow B., Glover J.R., McCool J.M., Kaunitz J., Williams C.S., Hearn R.H., Zeidler J.R., Dong E., Goodlin R.C. Adaptive noise canceling: Principles and applications. Proc. IEEE. 1975;63:1692–1716. [Google Scholar]
- 36.Brookner E. Tracking and Kalman Filtering Made Easy. John Wiley & Sons; Hoboken, NJ, USA: 1998. [Google Scholar]
- 37.Benedict T.R., Bordner G.W. Synthesis of an optimal track-while-scan smoothing equations. IRE Trans. Automat. Control. 1962;7:27–32. [Google Scholar]
- 38.Bar-Shalom Y., Li X.R. Estimation and Tracking: Principles, Techniques and Software. Artech House Publishers; Norwood, MA, USA: 1998. [Google Scholar]
- 39.O’Suilleabhain P.E., Matsumoto J.Y. Time-frequency analysis of tremors. Brain. 1998;121:2127–2134. doi: 10.1093/brain/121.11.2127. [DOI] [PubMed] [Google Scholar]
- 40.Vaz C., Kong X., Thakor N. An adaptive estimation of periodic signals using a Fourier linear combiner. IEEE Trans. Signal Process. 1994;42:1–10. [Google Scholar]
- 41.Rocon E. Reducción Activa de Temblor Patológico de Miembro Superior Mediante Exoesqueletos Robóticos. Universidad Politécnica de Madrid; Madrid, Spain: 2006. PhD Thesis; [Google Scholar]
- 42.Gonzalez J.G., Heredia E.A., Rahman T., Barner K.E., Arce G.R. Optimal digital filtering for tremor suppression. IEEE Trans. Biomed. Eng. 2000;47:664–673. doi: 10.1109/10.841338. [DOI] [PubMed] [Google Scholar]
- 43.Etter D., Stearns S. Adaptive estimation of time delays in sampled data systems. IEEE Trans. Acoust. Speech Signal Process. 1981;29:582–587. [Google Scholar]