Spiking neural network architecture for multichannel EMG command recognition with a memory-requirement assessment for small-FPGA implementation

M.E. Mitsuk, F.U. Nghikofa

Abstract


The paper addresses command recognition from multichannel surface electromyography (EMG) in an embedded controller based on a small FPGA. The proposed architecture combines delta-event encoding, time-domain features, a compact network of adaptive leaky integrate-and-fire (ALIF) neurons, integer inference (8-bit weights, 16-bit states) and decision post-processing. The target Gowin GW2AR-18 device has 46 BSRAM blocks with 847,872 bits in total. Synthesis was not performed: memory and operation counts were obtained analytically and in software simulation. On NinaPro DB5 (13 classes, 10 subjects, one model per subject) the network reaches 83.8 ± 4.2% accuracy and 81.0 ± 5.5% macro-F1. A support vector machine (SVM) on the same 144 time-domain features reaches 83.0 ± 4.4% (not significant), but requires about 2.1 Mbit versus 391 Kbit for the ALIF network and does not fit the on-chip memory. For 53 classes a single 422 Kbit network reaches 80.0% versus 80.9% for SVM, which occupies about 15.8 Mbit. On DB3 (amputees, 50 classes) the ALIF network trails SVM (37.0% versus 42.3%). Weights can be quantized to 6 bits without loss, states need 16 bits; spike sparsity reduces synaptic operations per window 4.7 times relative to the dense count of the same network (a conventional MLP, by contrast, is more compact and performs 26 times fewer operations, but is less accurate). The total latency is at least 600 ms and is set by the window length and post-processing. The results show that the proposed computational path remains stable after fixed-point conversion and can serve as a basis for further optimization for a small FPGA.

Full Text:

PDF (Russian)

References


E. Scheme and K. Englehart, “Electromyogram pattern recognition for control of powered upper-limb prostheses: state of the art and challenges for clinical use,” J. Rehabil. Res. Dev., vol. 48, no. 6, pp. 643–659, 2011, doi: 10.1682/JRRD.2010.09.0177.

B. Hudgins, P. Parker, and R. N. Scott, “A new strategy for multifunction myoelectric control,” IEEE Trans. Biomed. Eng., vol. 40, no. 1, pp. 82–94, 1993, doi: 10.1109/10.204774.

K. Englehart and B. Hudgins, “A robust, real-time control scheme for multifunction myoelectric control,” IEEE Trans. Biomed. Eng., vol. 50, no. 7, pp. 848–854, 2003, doi: 10.1109/TBME.2003.813539.

M. Atzori et al., “Electromyography data for non-invasive naturally-controlled robotic hand prostheses,” Sci. Data, vol. 1, Art. no. 140053, 2014, doi: 10.1038/sdata.2014.53.

N. Parajuli et al., “Real-time EMG based pattern recognition control for hand prostheses: a review,” Sensors, vol. 19, no. 20, Art. no. 4596, 2019, doi: 10.3390/s19204596.

I. Kyranou, S. Vijayakumar, and M. S. Erden, “Causes of performance degradation in non-invasive electromyographic pattern recognition in upper limb prostheses,” Front. Neurorobot., vol. 12, Art. no. 58, 2018, doi: 10.3389/fnbot.2018.00058.

D. Tkach, H. Huang, and T. A. Kuiken, “Study of stability of time-domain features for electromyographic pattern recognition,” J. NeuroEng. Rehabil., vol. 7, Art. no. 21, 2010, doi: 10.1186/1743-0003-7-21.

A. J. Young, L. J. Hargrove, and T. A. Kuiken, “Improving myoelectric pattern recognition robustness to electrode shift by changing interelectrode distance and electrode configuration,” IEEE Trans. Biomed. Eng., vol. 59, no. 3, pp. 645–652, 2012, doi:

1109/TBME.2011.2177662.

M. Atzori, M. Cognolato, and H. Müller, “Deep learning with convolutional neural networks applied to electromyography data: a resource for the classification of movements for prosthetic hands,” Front. Neurorobot., vol. 10, Art. no. 9, 2016, doi: 10.3389/fnbot.2016.00009.

A. A. Adewuyi, L. J. Hargrove, and T. A. Kuiken, “Evaluating EMG feature and classifier selection for application to partial-hand prosthesis control,” Front. Neurorobot., vol. 10, Art. no. 15, 2016, doi: 10.3389/fnbot.2016.00015.

W. Geng, Y. Du, W. Jin, W. Wei, Y. Hu, and J. Li, “Gesture recognition by instantaneous surface EMG images,” Sci. Rep., vol. 6, Art. no. 36571, 2016, doi: 10.1038/srep36571.

U. Côté-Allard et al., “Deep learning for electromyographic hand gesture signal classification using transfer learning,” IEEE Trans. Neural Syst. Rehabil. Eng., vol. 27, no. 4, pp. 760–771, 2019, doi: 10.1109/TNSRE.2019.2896269.

M. A. Scrugli, G. Leone, P. Busia, L. Raffo, and P. Meloni, “Real-time sEMG processing with spiking neural networks on a low-power 5K-LUT FPGA,” IEEE Trans. Biomed. Circuits Syst., vol. 19, no. 1, pp. 68–81, 2025, doi: 10.1109/TBCAS.2024.3456552.

E. Donati, M. Payvand, N. Risi, R. Krause, and G. Indiveri, “Discrimination of EMG signals using a neuromorphic implementation of a spiking neural network,” IEEE Trans. Biomed. Circuits Syst., vol. 13, no. 5, pp. 795–803, 2019, doi: 10.1109/TBCAS.2019.2925454.

Y. Ma, B. Chen, P. Ren, N. Zheng, G. Indiveri, and E. Donati, “EMG-based gestures classification using a mixed-signal neuromorphic processing system,” IEEE J. Emerg. Sel. Topics Circuits Syst., vol. 10, no. 4, 2020, doi: 10.1109/JETCAS.2020.3037951.

E. Ceolini, C. Frenkel, S. B. Shrestha, G. Taverni, L. Khacef, M. Payvand, and E. Donati, “Hand-gesture recognition based on EMG and event-based camera sensor fusion: a benchmark in neuromorphic computing,” Front. Neurosci., vol. 14, Art. no. 637, 2020, doi: 10.3389/fnins.2020.00637.

M. Zanghieri, S. Benatti, A. Burrello, V. Kartsch, F. Conti, and L. Benini, “Robust real-time embedded EMG recognition framework using temporal convolutional networks on a multicore IoT processor,” IEEE Trans. Biomed. Circuits Syst., vol. 14, no. 2, pp. 244–256, 2020, doi: 10.1109/TBCAS.2019.2959160.

W. Maass, “Networks of spiking neurons: the third generation of neural network models,” Neural Netw., vol. 10, no. 9, pp. 1659–1671, 1997, doi: 10.1016/S0893-6080(97)00011-7.

E. O. Neftci, H. Mostafa, and F. Zenke, “Surrogate gradient learning in spiking neural networks: bringing the power of gradient-based optimization to spiking neural networks,” IEEE Signal Process. Mag., vol. 36, no. 6, pp. 51–63, 2019, doi: 10.1109/MSP.2019.2931595.

K. Roy, A. Jaiswal, and P. Panda, “Towards spike-based machine intelligence with neuromorphic computing,” Nature, vol. 575, pp. 607–617, 2019, doi: 10.1038/s41586-019-1677-2.

M. Davies et al., “Loihi: a neuromorphic manycore processor with on-chip learning,” IEEE Micro, vol. 38, no. 1, pp. 82–99, 2018, doi: 10.1109/MM.2018.112130359.

G. Bellec, D. Salaj, A. Subramoney, R. Legenstein, and W. Maass, “Long short-term memory and learning-to-learn in networks of spiking neurons,” in Proc. Adv. Neural Inf. Process. Syst. (NeurIPS), vol. 31, 2018, pp. 787–797, arXiv:1803.09574.

S. Pizzolato, L. Tagliapietra, M. Cognolato, M. Reggiani, H. Müller, and M. Atzori, “Comparison of six electromyography acquisition setups on hand movement classification tasks,” PLoS ONE, vol. 12, no. 10, Art. no. e0186132, 2017, doi: 10.1371/journal.pone.0186132.

D. Farrell and R. F. Weir, “The optimal controller delay for myoelectric prostheses,” IEEE Trans. Neural Syst. Rehabil. Eng., vol. 15, no. 1, pp. 111–118, 2007, doi: 10.1109/TNSRE.2007.891391.

L. H. Smith, L. J. Hargrove, B. A. Lock, and T. A. Kuiken, “Determining the optimal window length for pattern recognition-based myoelectric control: balancing the competing effects of classification error and controller delay,” IEEE Trans. Neural Syst. Rehabil. Eng., vol. 19, no. 2, pp. 186–192, 2011, doi: 10.1109/TNSRE.2010.2100828


Refbacks

  • There are currently no refbacks.


Abava  Кибербезопасность ИТ-КОНГРЕСС ВМК МГУ 2026 СНЭ

ISSN: 2307-8162