Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2025 Oct 3.
Published in final edited form as: Int IEEE EMBS Conf Neural Eng. 2023 May 19;2023:10.1109/NER52421.2023.10123909. doi: 10.1109/NER52421.2023.10123909

Nonlinear System Identification of Tremors Dynamics: A Data-driven Approximation Using Koopman Operator Theory

Xiangming Xue 1st 1, Ashwin Iyer 2nd 2, Daniel Roque 3rd 3, Nitin Sharma 4th 4
PMCID: PMC12490656  NIHMSID: NIHMS2105579  PMID: 41048539

Abstract

People who suffer from tremors have difficulty performing activities of daily living. Efforts in developing a model of a limb with tremors can pave the way for non-surgical tremor suppression techniques. However, due to the nonlinearity, developing an accurate model of tremors is challenging. This paper implements a data-driven method for approximating the Koopman operator, which is capable of presenting nonlinear dynamics in a linear framework and is promising for predicting the nonlinear system. A dynamic model of tremors is developed with ultrasound (US) image data collected from a patient with essential tremor as they grasp objects. The method is applied to predict the patient’s tremor dynamics and is compared with the nonlinear Hammerstein-Wiener system identification technique.

I. INTRODUCTION

In pathological terms, a tremor is a movement of a body part that occurs involuntarily, rhythmically, and oscillatory [1]. Various diseases, such as Parkinson’s disease (PD), essential tremor (ET), and multiple sclerosis, can cause pathological tremors [2]. Over 11 million people in the United States live with tremors caused by neurodegenerative diseases such as Parkinson’s disease and Essential tremor [3]. Individuals who suffer from tremors in their hands and arms have difficulty performing daily activities.

In tremor research, a tremor model could be used to determine the type of tremor present [4], the tremor phase and frequency [5], and the distribution of tremorogenic activity among the major superficial muscles [6]. Accurate modeling of tremor disorders also facilitates control of deep brain stimulation (DBS) [7], functional electrical stimulation (FES) of tremoring muscles [8], electrical stimulation of afferent pathways [8], and wearable tremor suppression system [9]. The majority of the techniques discussed above are based on tremor models. Therefore, the effectiveness of the controller is closely related to the accuracy of the model.

Models of tremor dynamics can be categorized into two types: physics-based models and data-driven models. Physics-based models are built based on the first principles, empirical expressions, or highly sophisticated numerical/visualization tools. In contrast, data-driven models utilize information from prior data to identify the characteristics of the system. Some related physics-based tremor models have been studied by researchers in [10]–[12]. However, the nonlinear and stochastic behavior make it difficult to construct accurate physics-based models of tremor.

Due to the wide availability of miniature or wearable sensing technology, it has been possible to generate a large amount of data during the tremoring process. As a result, data-driven modeling can be used to identify unknown dynamics associated with tremors. The model-free methods in data-driven models, such as recurrent neural network models, are capable to predict the tremor voluntary motion [13]. However, due to the fact that the models obtained from the neural networks are packaged as black boxes, which simply map inputs to outputs, these models provide little insight into the design of tremor suppression control techniques. Meanwhile, the model-based methods, are capable of identifying unknown dynamics from data and learning data-driven representations that enable the representation of nonlinear systems in a linear fashion [14]. When compared to model-free methods, model-based methods produce more physically meaningful models and do not suffer from issues associated with tuning and computation load. In recent years, data-driven methods have been applied to approximate the Koopman operator [15], including DMD [16] and EDMD [17]. With the Koopman operator, a nonlinear system can be approximated by a linear system. The advantage of the Koopman operator theory is that the Koopman representation can be solved using standard linear operator theory [18].

The main contribution of this work is to present a data-driven approach of Koopman operator in modeling real tremors with ultrasound image data of muscle fascicle velocity. A preliminary study was recently performed to show that ultrasound can be used as a novel method to characterize tremor during grasping motions [19]. US has significant advantages over accelerometry and surface electromyography (sEMG), the two most common methods of tremor suppression. As opposed to accelerometry, which only measures a limb’s oscillatory displacements, ultrasound is designed to detect the tremor activity directly within the muscle. In contrast to sEMG, which measures only the superficial muscles’ tremors, ultrasound is not affected by artifacts caused by stimulation and muscle cross-talk. Therefore, it allows direct visualization of superficial as well as deep muscles.

In this paper, we applied the data-driven approximation of the Koopman operator with EDMD described in [17] and extend the technique by involving the best-fit linear regression to avoid introducing a weight matrix that needs to be tuned. We then collected US images from a patient with tremors as the patient grasped objects. Finally, we demonstrate that the proposed approach represents the system’s dynamics more accurately than nonlinear Hammerstein-Wiener model. To the best of the author’s knowledge, ultrasound imaging data has never been used to identify a dynamic model of a tremor system.

II. Koopman operator theory and Extended Dynamic Mode Decomposition

The objective of this section is to approximate the Koopman operator with EDMD [17] and to identify the nonlinear dynamics of tremor, which will be validated on an actual tremor system.

A. The Koopman Operator Theory

Consider a discrete-time nonlinear dynamical system (M,n,F):

xn+1=Fxn. (1)

where x∈M⊆ℝN is the state, n∈ℤ is the discrete time, N is the number of states, and F is the evolution operator.

The Koopman operator K is an infinite-dimensional linear operator that operates on the all measurement functions g:M→ℝ of a system. The action of the Koopman operator is:

Kg=g∘F (2)

where ∘ denotes the composition of g with F. In a discrete-time system with a timestep Δt, Koopman operator K acts on measurement function g as follows:

KΔtgxn=gFΔtxn=gxn+1 (3)

This means that, for any measurement g and state xn, the Koopman operator defines an infinite-dimensional linear dynamical system that propagates the observation of the state gxn to the next time step gxn+1. Therefore, the state of the system xn at a given time can either be derived directly by nonlinear dynamics F or by updating all the measurement functions g through the Koopman operator K. Consider the eigenvalue problem

Kφk=λkφk (4)

where λk is kth Koopman eigenvalues associated with the kth φk are the Koopman eigenfunctions. The original nonlinear dynamical system (1) and Koopman operator dynamical system (3) are linked by full-state observable g(x)=x, which can be be represented in terms of Koopman eigenfunctions φ as

x=g(x)=∑k=1∞vkφk(x) (5)

where vk and φk are the kth Koopman mode and eigenfunction, respectively. Therefore, the representation of F(x) can be evaluated through Koopman operator as:

F(x)=(Kg)(x)=K∑k=1∞vkφk(x)=∑k=1∞λkvkφk(x) (6)

From (6), once λk,φk,vk are known, we can predict the future state. Next we will apply EDMD algorithm to approximate λk,φk,vk directly from data with a best-fit linear model.

B. Approximating the Koopman Operator with Extended Dynamic Mode Decomposition

The purpose of this section is to present EDMD [17] to approximate λk,φk,vk defined in (6). Suppose we have a dynamical system (1), a data set of snapshot pairs, xm,ymm=1M and a dictionary of observables D as

X=x1,⋯,xM,Y=y1,⋯,yM,D=ψ1,⋯,ψNK (7)

where xi∈M and yi∈M are snapshots of the system state with yi=Fxi, M is the number of snapshots and Ψ(x)=ψ1(x),ψ2(x),⋯,ψNK(x), Nk is number of the observables functions. Then define ϒ as

ϒ(x)=∑k=1NKakψk(x)=Ψ(x)a (8)

where a is the weight of elements in Ψ.

Apply Koopman operator K on (8), we have

(Kϒ)(x)=(Ψ∘F(x))a=Ψ(x)(Ka)+r1(x) (9)

where r1(x) is the residual term.

K can be obtained by minimizing r1(x) as:

K≜G†A (10)

where † denotes the pseudoinverse and

G=1M∑m=1MΨxm*Ψxm;A=1M∑m=1MΨxm*Ψym (11)

Once K is obtained by (10), the eigenfunction φ can be approximated by:

φj(x)=Ψ(x)ξj (12)

Where ξj is the jth eigenvector of K associated with the eigenvalue λj. Then define the vector-valued function Φ as

Φ(x)=φ1(x),φ2(x),⋯,φNK(x)=Ψ(x)Ξ (13)

where Ξ=ξ1,ξ2,⋯,ξNK. From the full state observable (5), the entire vector-valued observable can be expressed as:

g(x)T=xT=∑k=1Nkφk(x)vkT=Φ(x)VT+r2(x) (14)

where V=v1,v2,⋯,vNK and r2(x) is the residual term. Similar to (10), to determine v is also a least-squares problem. By minimizing r2(x), v is obtained as:

VT≜P†D (15)

where † denotes the pseudoinverse and

P=1M∑m=1MΨxmΞ*ΨxmΞ;D=1M∑m=1MΨxmΞ*xmT (16)

As opposed to the technique presented in [17], which requires tuning weight matrix B, we extend the method by involving the best-fit linear regression to approximate Koopman modes v with (16).

III. Data-driven modeling of tremors

This study was approved by the Institutional Review Board (IRB) at the North Carolina State University (IRB approval number: 19247). One participant (62 year old, male) with essential tremor consented to participate. The inclusion criteria of the study is that participants exhibiting tremors who fall within the age range of 18 to 90 years old. Subjects will fall under the tremor subject category if they exhibit tremor with re-emergent properties during the grasping motion and exhibit no other health conditions other than the essential tremor that impact tremor severity and inhibits motion to ensure that clear ultrasound images are collected.

A. Experimental Procedure

This study aimed at collecting US imaging data as a patient with tremors grasps objects. To perform the experiments, the participants were asked to grasp and hold a mug placed in a vertical upright position right in front of them. A linear ultrasound transducer (L7.5SC Prodigy Probe, S-Sharp, Taiwan, size: 2 cm × 2 cm × 10 cm) with center frequency 7.5 MHz connected to a US imaging system (Prodigy Probe, S-Sharp, Taiwan) was used to collect the B-mode US signals and an IMU sensor (Yost Labs Inc., USA, size: 2 cm × 2.5 cm × 5 cm) were attached to their forearm. The US system detected the flexor carpi radialis (FCR) and the IMU captured the wrist motion during the whole grasping motion. The fascicle velocity information was processed offline using the speckle tracking algorithm described in our previous work [19]. A MATLAB detrend and integral function [20] was used to remove drift from the collected IMU signals and obtain wrist motion information in degrees.

The participant performed three grasping motion trials. During each trial, the participant was instructed to grasp and hold the object for 5 seconds for four times during which US images and IMU motions were captured. A sketch of the experimental protocol, one collected B-mode US image, and one of the experiment results are shown in Fig. 1.

Fig. 1.

Fig. 1.

(a) Experimental setup for experiments, a participant with tremor holding a mug cup while the US transducer and IMU are strapped to the forearm to capture images of the FCR and motion of the wrist. (b) B-mode image with location of FCR marked. (c) Tremor behavior happened after about 5 secs, fascicle velocity (shown in blue) and joint angle from IMU (shown in red) are correlated.

B. Model Comparison and results

The tremor state is defined as x=x1,x2T, where x1 is the wrist joint angle (deg) and x2 is the FCR fascicle velocity from ultrasound (mm/sec). We evaluated the proposed Koopman-based EDMD in predicting x by the root mean square error (RMSE) and the normalized root mean square error (NRMSE). The performance of the proposed method was compared to nonlinear Hammerstein-Wiener models generated from MATLAB System Identification Toolbox [20]. Table. I presents the RMSE and NRMSE for each method averaged over 20 randomly sampled initial conditions with 500 samples for each trial. Fig. 2 reports the average NRMSE for all trials. The result for modeling the tremor (10 seconds duration) is shown in Fig. 3.

TABLE I.

Comparison of the averaged RMSE and NRMSE(%)

Model States
RMSE NRMSE
x1 x2 x1 x2
Koopman-EDMD 0.0037 0.3172 3.4619 0.8867
Nonlinear-Wiener 0.0254 7.2214 23.2653 19.7089

Fig. 2.

Fig. 2.

Average NRMSE for 20 random initial conditions, with the standard deviation indicated by the black bars.

Fig. 3.

Fig. 3.

Prediction of tremor with Koopman operator from one of the experiment results.

From Table I and Fig. 2, we observe, compared to nonlinear Hammerstein-Wiener models, the proposed models achieved minimal averaged RMSE, NRMSE, and standard deviation. As a consequence, the Koopman model more accurately reflects the real behavior of tremor dynamics state.

IV. CONCLUSIONS AND FUTURE WORKS

This paper addresses a data-driven Koopman operator theory based EDMD approach in the modeling of tremors in people who have Essential Tremor or Parkinson’s disease. With US image data collected from a patient with tremors, we demonstrated the feasibility of constructing a dynamic model of tremors based on Koopman operator theory. We validated its performance by comparing it with the Hammerstein-Wiener nonlinear model.

According to the current study, some limitations of using US for tremor modeling include the fact that US probes are rigid and may not conform to a limb. Therefore, they are not suitable for continuous monitoring of muscle activity in patients with tremor. In order to address this issue, our group has conducted several preliminary studies on the development of wearable US transducers for monitoring muscle activity. [21], [22]. Based on the proposed data-driven model, another line of future research may involve the development of a real-time FES closed-loop control that can be applied to individual-specific stimulation for the inhibition of wrist tremor activity.

Acknowledgments

This work was supported by NIH Grant Number R21EB032059

Contributor Information

Xiangming Xue, 1st, Joint Department of Biomedical Engineering North Carolina State University Raleigh, NC, USA.

Ashwin Iyer, 2nd, Joint Department of Biomedical Engineering North Carolina State University Raleigh, NC, USA.

Daniel Roque, 3rd, Division of Movement Disorders Department of Neurology University of North Carolina at Chapel Hill Chapel Hill, NC, USA.

Nitin Sharma, 4th, Joint Department of Biomedical Engineering North Carolina State University Raleigh, NC, USA.

References

  • [1].Bhatia KP, Bain P, Bajaj N, Elble RJ, Hallett M, Louis ED, Raethjen J, Stamelou M, Testa CM, Deuschl G et al. , “Consensus statement on the classification of tremors. from the task force on tremor of the international parkinson and movement disorder society,” Movement Disorders, vol. 33, no. 1, pp. 75–87, 2018. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [2].Riviere CN and Thakor NV, “Modeling and canceling tremor in human-machine interfaces,” IEEE engineering in medicine and biology magazine, vol. 15, no. 3, pp. 29–36, 1996. [Google Scholar]
  • [3].LeMoyne R, Mastroianni T, Whiting D, and Tomycz N, “Movement disorders: Parkinson’s disease and essential tremor—a general perspective,” in Wearable and Wireless Systems for Healthcare II. Springer, 2019, pp. 17–24. [Google Scholar]
  • [4].Jakubowski J, Kwiatos K, Chwaleba A, and Osowski S, “Higher order statistics and neural network for tremor recognition,” IEEE Transactions on Biomedical Engineering, vol. 49, no. 2, pp. 152–159, 2002. [DOI] [PubMed] [Google Scholar]
  • [5].Puttaraksa G, Muceli S, Barsakcioglu DY, Holobar A, Clarke AK, Charles SK, Pons JL, and Farina D, “Online tracking of the phase difference between neural drives to antagonist muscle pairs in essential tremor patients,” IEEE Transactions on Neural Systems and Rehabilitation Engineering, vol. 30, pp. 709–718, 2022. [DOI] [PubMed] [Google Scholar]
  • [6].Standring DJ, Pigg AC, Thompson-Westra J, Mente K, Maurer CW, Haubenberger D, Hallett M, and Charles SK, “Distribution of tremorogenic activity among the major superficial muscles of the upper limb in persons with essential tremor,” Clinical Neurophysiology, vol. 142, pp. 20–32, 2022. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [7].Flora ED, Perera CL, Cameron AL, and Maddern GJ, “Deep brain stimulation for essential tremor: a systematic review,” Movement disorders, vol. 25, no. 11, pp. 1550–1559, 2010. [DOI] [PubMed] [Google Scholar]
  • [8].Dosen S, Muceli S, Dideriksen JL, Romero JP, Rocon E, Pons J, and Farina D, “Online tremor suppression using electromyography and low-level electrical stimulation,” IEEE Transactions on Neural Systems and Rehabilitation Engineering, vol. 23, no. 3, pp. 385–395, 2014. [DOI] [PubMed] [Google Scholar]
  • [9].Kim J, Wichmann T, Inan OT, and Deweerth SP, “A wearable system for attenuating essential tremor based on peripheral nerve stimulation,” IEEE Journal of Translational Engineering in Health and Medicine, vol. 8, pp. 1–11, 2020. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [10].Zhang J and Chu F, “Real-time modeling and prediction of physiological hand tremor,” in Proceedings.(ICASSP’05). IEEE International Conference on Acoustics, Speech, and Signal Processing, 2005., vol. 5. IEEE, 2005, pp. v–645. [Google Scholar]
  • [11].Bó APL, Poignet P, and Geny C, “Pathological tremor and voluntary motion modeling and online estimation for active compensation,” IEEE Transactions on Neural Systems and Rehabilitation Engineering, vol. 19, no. 2, pp. 177–185, 2010. [DOI] [PubMed] [Google Scholar]
  • [12].Shahtalebi S, Atashzar SF, Patel RV, and Mohammadi A, “Wake: Wavelet decomposition coupled with adaptive kalman filtering for pathological tremor extraction,” Biomedical Signal Processing and Control, vol. 48, pp. 179–188, 2019. [Google Scholar]
  • [13].Shahtalebi S, Atashzar SF, Samotus O, Patel RV, Jog MS, and Mohammadi A, “Phtnet: Characterization and deep mining of involuntary pathological hand tremor using recurrent neural network models,” Scientific reports, vol. 10, no. 1, pp. 1–19, 2020. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [14].Brunton SL and Kutz JN, Data-driven science and engineering: Machine learning, dynamical systems, and control. Cambridge University Press, 2022. [Google Scholar]
  • [15].Koopman BO, “Hamiltonian systems and transformation in hilbert space,” Proceedings of the national academy of sciences of the united states of america, vol. 17, no. 5, p. 315, 1931. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [16].Klus S, Koltai P, and Schütte C, “On the numerical approximation of the perron-frobenius and koopman operator,” Journal of Computational Dynamics, vol. 3, no. 1, pp. 51–79, 2016. [Google Scholar]
  • [17].Williams MO, Kevrekidis IG, and Rowley CW, “A data–driven approximation of the koopman operator: Extending dynamic mode decomposition,” Journal of Nonlinear Science, vol. 25, no. 6, pp. 1307–1346, 2015. [Google Scholar]
  • [18].Nathan Kutz J, Proctor JL, and Brunton SL, “Applied koopman theory for partial differential equations and data-driven modeling of spatio-temporal systems,” Complexity, vol. 2018, 2018. [Google Scholar]
  • [19].Iyer A, Sheng Z, Zhang Q, Kim K, and Sharma N, “Analysis of tremor during grasp using ultrasound imaging: Preliminary study,” in 2020 8th IEEE RAS/EMBS International Conference for Biomedical Robotics and Biomechatronics (BioRob). IEEE, 2020, pp. 533–538. [Google Scholar]
  • [20].MATLAB Version: 9.11.0.1769968 (R2021b), The Mathworks, Inc., Natick, Massachusetts, 2021. [Google Scholar]
  • [21].Xue X, Zhang B, Moon S, Xu G-X, Huang C-C, Sharma N, and Jiang X, “Development of a wearable ultrasound transducer for sensing muscle activities in assistive robotics applications: In vivo study,” in 2022 IEEE International Ultrasonics Symposium (IUS). IEEE, 2022, pp. 1–4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [22].Xue X, Zhang B, Moon S, Xu G-X, Huang C-C, Sharma N, and Jiang X, “Development of a wearable ultrasound transducer for sensing muscle activities in assistive robotics applications,” Biosensors, vol. 13, no. 1, p. 134, 2023. [DOI] [PMC free article] [PubMed] [Google Scholar]

RESOURCES