Abstract
Intramuscular electromyography (iEMG) decomposition identifies motor neuron (MN) discharge timings from interference iEMG recordings. When performed in real-time, this extracted neural information can establish high-performance human-machine interfaces. This paper proposes a multi-channel real-time decomposition algorithm based on a Hidden Markov Model (HMM) and a Bayesian filter. By utilizing parallel computation on GPU clusters and a novel "decomposed-checked" channel strategy, the system achieves over 90% decomposition accuracy in real-time across simulated and experimental human muscle data.
Introduction: The Challenge of Real-Time iEMG Decomposition
To control advanced prosthetics or interface with computers using muscle signals, we need to know exactly when specific motor neurons fire. This process, called EMG decomposition, is notoriously difficult because iEMG recordings are "interference signals"—a messy overlap of electrical pulses from many different motor units (MUs).
While offline algorithms can untangle these signals with high precision, doing so in real-time (under 125ms delay) is a massive computational challenge. Previous real-time attempts were mostly limited to single-channel recordings. However, single-channel data often fails to distinguish between different MUs that have similar electrical signatures. Multi-channel recordings provide different "views" of the muscle, making it easier to tell MUs apart, but they exponentially increase the data processing load.
Methodology
The researchers developed a framework that treats muscle activity as a state-space problem, modeling the relationship between motor neuron discharge trains and the resulting multi-channel signals.
Core Algorithmic Components
- Hidden Markov Model (HMM): Models the "state" of the muscle, including active MUs and the time elapsed since their last discharge.
- Bayesian Filtering: A recursive filter estimates the most likely spike trains and the shapes of the motor unit action potentials (MUAPs) as the signal arrives.
- GPU Parallelization: To handle the "scenario explosion" of possible firing combinations, the algorithm runs on multiple GPU clusters.
- Decomposed-Checked Channel Strategy: This is a key innovation. Instead of processing all channels simultaneously, the algorithm divides channels into groups. "Decomposed channels" are used for primary filtering, while "checked channels" (high-amplitude channels not in the primary group) validate and integrate results across parallel tasks.
- Censored Decomposition: If the computational load becomes too high, the system automatically prioritizes high-energy MUs and treats lower-energy ones as noise to maintain real-time performance.
Experimental Validation
The algorithm was validated using both synthetic and biological data:
- Simulated Signals: Six 16-channel signals modeling 120 MUs with varying noise levels (10dB and 15dB SNR).
- Human TA Muscle: Three 32-channel experimental signals recorded from the tibialis anterior (shin muscle) during steady contractions.
- Human ADM Muscle: Two 16-channel signals recorded from the abductor digiti minimi (hand muscle) using advanced thin-film implanted electrodes.
- Ground Truth: For experimental data, results were compared against manual decomposition performed by experts using EMGLAB software.
Key Results and Insights
- High Accuracy and Yield: The algorithm achieved an average decomposition accuracy of >90%. It identified significantly more motor units (e.g., 17–23 MUs in simulated data) compared to prior real-time work (11–13 MUs).
- Real-Time Performance: All signals were decomposed in less time than the signal duration itself. For example, 20 seconds of 16-channel data was typically processed in 14–16 seconds.
- Spatial Diversity: Multi-channel processing resolves ambiguity. Two motor units might look identical on one channel but distinct on another. This spatial information significantly boosts accuracy.
- Adaptivity: The Bayesian framework includes a sliding window that allows the model to adapt to slow changes in MUAP shapes over time, common in real-world recordings due to electrode movement or muscle fatigue.
Discussion and Future Directions
While the system demonstrates high-bandwidth, low-latency performance, some limitations remain. The current implementation relies on high-end Nvidia GPUs (RTX 6000), which are not yet suitable for wearable prosthetic controllers. Future work will focus on optimizing these algorithms for embedded or mobile GPUs. Additionally, while this study focused on isometric (steady) contractions, decomposing signals during fast, dynamic movements remains a major challenge for the field.
Summary updated