Research on Movement Intention Recognition Based on CNN-LSTM
Abstract
1. Introduction
- (1)
- Task-Adaptive Parallel Dual-Stream Network Architecture
- (2)
- Efficient Spatiotemporal Feature Fusion Mechanism
- (3)
- Residual-Attention Hybrid Structure Optimized for sEMG Signals
2. Establishment of a System for sEMG Signal Acquisition and Preprocessing
2.1. sEMG Signal Acquisition
2.1.1. sEMG Signal Acquisition System
2.1.2. Determination of Muscle Group Locations for Acquisition
2.1.3. sEMG Signal Acquisition Experiment
2.2. Construction of the Pre-Treatment System
2.2.1. Filtering and Noise Reduction Processing of sEMG Signals
- (1)
- Inherent noise: This type of noise originates from the intrinsic noise generated by electronic components in the signal acquisition equipment. It can be reduced by selecting high-performance components, but it cannot be completely eliminated, making inherent noise unavoidable.
- (2)
- Power-line noise: It mainly arises from the electromagnetic radiation emitted by acquisition equipment connected to the power supply and the host computer. The fundamental frequency of the power grid in China is 50 Hz, while the effective information of sEMG is mainly distributed in 20–500 Hz, resulting in severe aliasing between the interference and the effective frequency band. Characterized by strong periodicity and stable amplitude, power-line noise can be processed using digital filtering techniques such as notch filtering.
- (3)
- Baseline drift: During sEMG acquisition, baseline drift or deviation from the zero level occurs due to two main factors: changes in internal biopotentials (e.g., those caused by heartbeat and respiration), and electrode displacement induced by muscle contraction, which alters the contact impedance between electrodes and skin. Digital filters can be employed to eliminate the DC component in the signal.
- (4)
- Crosstalk Phenomenon: It mainly originates from electrocardiogram (ECG) signals and electrical signals of adjacent muscle groups. ECG interference presents a characteristic QRS complex with a frequency band ranging from 0.5 to 100 Hz, whereas cross-muscle group interference possesses similar frequency-domain characteristics to the target signal, thus necessitating the combination of time-frequency analysis and spatial filtering techniques for signal separation.
2.2.2. Normalisation of sEMG Signals
2.2.3. Sliding Window Data Segment Partitioning
2.2.4. Visualisation of sEMG Signals
3. Construction of the CNN-LSTM Parallel Dual-Stream Spatio-Temporal Neural Network Model
3.1. Basic Structure of Neural Networks
- (1)
- Convolutional Layer
- (2)
- Pooling Layer
- (3)
- Activation Function
3.2. Building an Intent Recognition Model
- (1)
- CA Submodule
- (2)
- SA Submodule
3.3. Model Performance Evaluation Metrics
- (1)
- Accuracy
- (2)
- Precision
- (3)
- Recall
- (4)
- F1 score
4. Movement Intention Recognition Trials and Results Analysis
4.1. Motor Intent Recognition Trial
4.2. Analysis of Experimental Results
4.2.1. Motion Intention Recognition Experiments
4.2.2. Core Component Ablation Experiments
4.2.3. Comparative Experiments
5. Conclusions
- Based on the synergistic movement theory, five key muscle groups are selected to ensure the representativeness of sEMG signals. The proposed preprocessing pipeline includes Butterworth band-pass filtering, normalization, and 200 ms overlapping sliding window segmentation, which preserves the spatial-temporal details of sEMG signals. Compared with existing preprocessing methods using global normalization or fixed window size, this design can adapt to individual differences in signal amplitude and motion dynamics, laying a foundation for high-precision feature extraction.
- The residual structure adopts the sequence of BN-ReLU-convolution, and the multi-scale attention mechanism highlights the key frequency bands and muscle channels of sEMG signals. This design not only alleviates the vanishing gradient problem in deep network training but also improves the efficiency of feature extraction.
- The unique spatial-temporal feature extraction mechanism of the proposed CNN-LSTM parallel dual-stream spatio-temporal neural network breaks through the limitations of single-stream/serial architectures and achieves a breakthrough in sEMG signal feature decoding:
- (1)
- Advantages of the spatial branch: The multi-scale convolution + channel/spatial attention + residual structure is tailored for the multi-channel spatial characteristics of sEMG signals, capturing inter-channel correlations and local spatial distributions, while the attention mechanism adaptively enhances the features of critical muscle channels.
- (2)
- Advantages of the temporal branch: The LSTM + 1D convolution + residual structure can effectively model the long-term dependencies of sEMG signals and compress redundant temporal information. Different from single LSTM models, which struggle to extract local temporal features, this design balances long-term dependency capture and dynamic trend retention.
- (3)
- Advantages of the fusion mechanism: The dedicated spatial-temporal fusion module realizes weighted allocation of spatial topological information and temporal dynamic information, significantly improving the discriminative ability for similar movements. This is also the core reason why the model achieves an average recognition accuracy of 97.75%.
- In future work, the sample size will be expanded to include patients of different ages and disease severity; the feature fusion strategy will be optimized to further reduce the confusion rate of flexion and extension movements; multi-modal information fusion will be explored to improve the model’s robustness in complex rehabilitation environments.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
| sEMG | Surface Electromyography |
| CNN | Convolutional Neural Network |
| RNN | Recurrent Neural Networks |
| GNN | Graph Neural Networks |
| LSTM | Long-Short-Term-Memory |
| MLP | Multilayer Perceptron |
| RMSE | Root Mean Square Error |
| SNR | Signal-to-Noise Ratio |
| CMRR | Common-Mode Rejection Ratio |
| PGA | Programmable Gain Amplifier |
| SINAD | Signal-to-Noise and Distortion |
| ECG | Electrocardiogram |
| IIR | Infinite Impulse Response |
| VMD | Variational Modal Decomposition |
| RMS | Root- Mean Square |
| CBAM | Convolutional Block Attention Module |
| BN | Batch Normalisation |
| FC | Fully Connected Layers |
| CA | Channel Attention |
| SA | Spatial Attention |
| GAP | Global Average Pooling |
| GMP | Global Max Pooling |
| ReLU | Rectified Linear Unit |
| LOOCV | leave-one-out cross-validation |
References
- Rubin, N.; Hinson, R.; Saul, K.; Hu, X.; Huang, H. Ankle Torque Estimation with Motor Unit Discharges in Residual Muscles Following Lower-Limb Amputation. IEEE Trans. Neural Syst. Rehabil. Eng. 2023, 31, 4821–4830. [Google Scholar] [CrossRef] [PubMed]
- Su, D.; Hu, Z.; Wu, J.; Shang, P.; Luo, Z. Review of adaptive control for stroke lower limb exoskeleton rehabilitation robot based on motion intention recognition. Front. Neurorobot. 2023, 17, 1186175. [Google Scholar] [CrossRef] [PubMed]
- Zhou, J.; Sun, Y.; Song, R.; Wei, Z. Dynamic movement primitives modulation-based compliance control for a new sitting/lying lower limb rehabilitation robot. IEEE Access 2024, 12, 44125–44134. [Google Scholar] [CrossRef]
- Zhang, Y.; Zhao, W.; Wan, C.; Wu, X.; Huang, J.; Wang, X.; Huang, G.; Ding, W.; Chen, Y.; Yang, J. Exoskeleton rehabilitation robot training for balance and lower limb function in sub-acute stroke patients: A pilot, randomized controlled trial. J. Neuroeng. Rehabil. 2024, 21, 98. [Google Scholar] [CrossRef]
- Alashram, A.R. Effectiveness of combined robotics and virtual reality on lower limb functional ability in stroke survivors: A systematic review of randomized controlled trials. Neurol. Sci. 2024, 45, 4721–4739. [Google Scholar] [CrossRef]
- Chen, Z.; Guo, Q.; Yan, Y.; Shi, Y. Model identification and adaptive control of lower limb exoskeleton based on neighborhood field optimization. Mechatronics 2022, 81, 102699. [Google Scholar] [CrossRef]
- Desplenter, T.; Zhou, Y.; Edmonds, B.P.; Lidka, M.; Goldman, A.; Trejos, A.L. Rehabilitative and assistive wearable mechatronic upper-limb devices: A review. J. Rehabil. Assist. Technol. Eng. 2020, 7, 2055668320917870. [Google Scholar] [CrossRef]
- Dupont, P.E.; Nelson, B.J.; Goldfarb, M.; Hannaford, B.; Menciassi, A.; O’mAlley, M.K.; Simaan, N.; Valdastri, P.; Yang, G.-Z. A decade retrospective of medical robotics research from 2010 to 2020. Sci. Robot. 2021, 6, eabi8017. [Google Scholar] [CrossRef]
- van Kammen, K.; Boonstra, A.M.; van der Woude, L.H.V.; Visscher, C.; Reinders-Messelink, H.A.; Den Otter, R. Lokomat guided gait in hemiparetic stroke patients: The effects of training parameters on muscle activity and temporal symmetry. Disabil. Rehabil. 2020, 42, 2977–2985. [Google Scholar] [CrossRef]
- Berman, J.; Hinson, R.; Lee, I.-C.; Huang, H. Harnessing machine learning and physiological knowledge for a novel EMG-based neural-machine interface. IEEE Trans. Biomed. Eng. 2022, 70, 1125–1136. [Google Scholar] [CrossRef]
- Wei, W.; Tan, F.; Zhang, H.; Mao, H.; Fu, M.; Samuel, O.W.; Li, G. Surface electromyogram, kinematic, and kinetic dataset of lower limb walking for movement intent recognition. Sci. Data 2023, 10, 358. [Google Scholar] [CrossRef] [PubMed]
- Ait Yous, M.; Agounad, S.; Elbaz, S. Detection, identification and removing of artifacts from semg signals: Current studies and future challenges. Comput. Biol. Med. 2025, 186, 109651. [Google Scholar] [CrossRef] [PubMed]
- Xiao, F.; Mu, J.; He, L.; Wang, Y. How to use one surface electromyography sensor to recognize six hand movements for a mechanical hand in real time: A method based on Morse code. Med. Biol. Eng. Comput. 2024, 62, 2825–2838. [Google Scholar] [CrossRef] [PubMed]
- Wang, X.; Zhang, C.; Yu, Z.; Deng, C. Decoding of lower limb continuous movement intention from multi-channels EMGand design of adaptive exoskeleton controller. Biomed. Signal Process. Control 2024, 94, 106245. [Google Scholar] [CrossRef]
- Zheng, C.; Li, W.; Shi, Y.; Wei, S.; Liu, K.; Cheng, J.; Ji, L.; Lu, Y. Stretchable self-adhesive and self-powered smart bandage for motion perception and motion intention recognition. Nano Energy 2023, 109, 108245. [Google Scholar] [CrossRef]
- Xu, M.; Chen, X.; Ruan, Y.; Zhang, X. Cross-user electromyography pattern recognition based on a novel spatial-temporal graph convolutional network. IEEE Trans. Neural Syst. Rehabil. Eng. 2023, 32, 72–82. [Google Scholar] [CrossRef]
- Su, B.Y.; Wang, J.; Liu, S.Q.; Sheng, M.; Jiang, J.; Xiang, K. A CNN-based method for intent recognition using inertial measurement units and intelligent lower limb prosthesis. IEEE Trans. Neural Syst. Rehabil. Eng. 2019, 27, 1032–1042. [Google Scholar] [CrossRef]
- Sheng, M.; Xia, A.Q.; Wang, K.L.; Cha, H.; Wu, H.; Su, B. Movement intention recognition of intelligent lower limb prosthesis based on the fusion of geometric and physical features. Control Decis. 2022, 37, 953–961. [Google Scholar]
- Kim, H.; Lee, D.; Maldonado-Contreras, J.Y.; Zhou, S.; Herrin, K.R.; Young, A.J. Mode-unified intent estimation of a robotic prosthesis using deep-learning. IEEE Robot. Autom. Lett. 2025, 10, 3206–3213. [Google Scholar] [CrossRef]
- Tang, Y.; Chen, Y.X.; Yu, H.L.; Shi, P. Research and verification of a motion intention recognition method for lower limb prosthesis. Inform. Control 2023, 52, 598–606. [Google Scholar]
- Xie, B.; Meng, J.; Li, B.; Harland, A. Biosignal-based transferable attention Bi-ConvGRU deep network for hand-gesture recognition towards online upper-limb prosthesis control. Comput. Methods Programs Biomed. 2022, 224, 106999. [Google Scholar] [CrossRef]
- Xu, D.; Zhou, H.; Jie, T.; Zhou, Z.; Yuan, Y.; Jemni, M.; Quan, W.; Gao, Z.; Xiang, L.; Gusztav, F.; et al. Data-driven deep learning for predicting ligament fatigue failure risk mechanisms. Int. J. Mech. Sci. 2025, 301, 110519. [Google Scholar] [CrossRef]
- Anselmino, E.; Mazzoni, A.; Micera, S. EMG-based prediction of step direction for a better control of lower limb wearable devices. Comput. Methods Programs Biomed. 2024, 254, 108305. [Google Scholar] [CrossRef] [PubMed]
- Zhang, C.; Yu, Z.; Wang, X.; Chen, Z.-J.; Deng, C.; Xie, S.Q. Exploration of deep learning-driven multimodal information fusion frameworks and their application in lower limb motion recognition. Biomed. Signal Process. Control 2024, 96, 106551. [Google Scholar] [CrossRef]
- Luo, R.; Sun, S.; Zhang, X.; Tang, Z.; Wang, W. A low-cost end-to-end sEMG-based gait sub-phase recognition system. IEEE Trans. Neural Syst. Rehabil. Eng. 2019, 28, 267–276. [Google Scholar] [CrossRef] [PubMed]
- Wang, G.; Liu, Y.; Shen, Y.; Chen, Y.; Liu, K.; Sun, Z. sEMG-based multi-joints motion estimation of lower limb utilizing deep convolutional neural network. In Proceedings of the 2022 IEEE International Conference on Real-Time Computing and Robotics (RCAR), Guiyang, China, 17–22 July 2022; pp. 13–18. [Google Scholar]
- Bian, Q.; Castellani, M.; Shepherd, D.; Duan, J.; Ding, Z. Gait intention prediction using a lower-limb musculoskeletal model and long short-term memory neural networks. IEEE Trans. Neural Syst. Rehabil. Eng. 2024, 32, 822–830. [Google Scholar] [CrossRef]
- Portilla-Jiménez, M.; Hong, Y.N.G.; Kukkar, K.K.; Park, H.-S.; Li, S.; Roh, J. Generalizability of neuromuscular coordination in the human upper extremity after stroke and its implications in neurorehabilitation. J. Neuroeng. Rehabil. 2025, 22, 213. [Google Scholar] [CrossRef]
- Wang, Z.; Yao, J.; Xu, M.; Jiang, M.; Su, J. Transformer-based network with temporal depthwise convolutions for sEMG recognition. Pattern Recognit. 2024, 145, 109967. [Google Scholar] [CrossRef]
- Bao, T.; Zhao, Y.; Zaidi, S.A.R.; Xie, S.; Yang, P.; Zhang, Z. A deep Kalman filter network for hand kinematics estimationusing sEMG. Pattern Recognit. Lett. 2021, 143, 88–94. [Google Scholar] [CrossRef]
- Kibushi, B.; Okada, J. Auditory sEMG biofeedback for reducing muscle co-contraction duringpedaling. Physiol. Rep. 2022, 10, e15288. [Google Scholar] [CrossRef]
- Nazari, F.; Mohajer, N.; Nahavandi, D.; Khosravi, A. Comparison of gait phase detection using traditional machine learning and deep learning techniques. In Proceedings of the 2022 IEEE International Conference on Systems, Man, and Cybernetics (SMC), Prague, Czech Republic, 9–12 October 2022; pp. 403–408. [Google Scholar]
- Fu, Z.; Zhang, H.; Zhao, J.; Li, N.; Zheng, F. A modified 2-D notch filter based on image segmentation for RFI mitigation in synthetic aperture radar. Remote Sens. 2023, 15, 846. [Google Scholar] [CrossRef]
- He, J.; Wang, G.; Yu, H.; Liu, J.; Peng, B. Generalized minimum error entropy Kalman filter for non-Gaussian noise. ISA Trans. 2023, 136, 663–675. [Google Scholar] [CrossRef]
- Ma, S.; Lv, B.; Lin, C.; Sheng, X.; Zhu, X. EMG signal filtering based on variational mode decomposition and sub-bandthresholding. IEEE J. Biomed. Health Inform. 2021, 25, 47–58. [Google Scholar] [CrossRef]
- Xu, L.; Shang, K.; Zhang, X.; Zheng, C.; Pan, L. Multi-Scale Feature Fusion-Based Real-Time Anomaly Detection in Industrial Control Systems. Electronics 2025, 14, 1645. [Google Scholar] [CrossRef]
- ISO/TS 15066:2016; Robots and Robotic Devices—Collaborative Robots. International Organization for Standardization: Geneva, Switzerland, 2016.
- Ting, E.L.W.; Chai, A.; Chin, L.P. A review on EMG signal classification and applications. Int. J. Signal Process. Syst. 2022, 10, 1–6. [Google Scholar] [CrossRef]
- Jiang, W.; Yin, Z. Human activity recognition using wearable sensors by deep convolutional neural networks. In Proceedings of the 23rd ACM International Conference on Multimedia, Brisbane, Australia, 26–30 October 2015; pp. 1307–1310. [Google Scholar]
- Mestre, J.I.; Barrachina, S.; Quezada, D.; Dolz, M.F. Deep learning inference optimisation for IoT: Conv2D-ReLU-BN layer fusion and quantisation. J. Supercomput. 2025, 81, 621. [Google Scholar] [CrossRef]
- Srivastava, N.; Hinton, G.; Krizhevsky, A.; Sutskever, I.; Salakhutdinov, R. Dropout: A simple way to prevent neural networks from overfitting. J. Mach. Learn. Res. 2014, 15, 1929–1958. [Google Scholar]
- Tsinganos, P.; Cornelis, J.; Cornelis, B.; Jansen, B.; Skodras, A. Transfer learning in semg-based gesture recognition. In Proceedings of the 2021 12th International Conference on Information, Intelligence, Systems & Applications (IISA), Chania Crete, Greece, 12–14 July 2021; pp. 1–7. [Google Scholar]






















| Electrode Placement | Matters Needing Attention | |
|---|---|---|
| Before placement | Skin preprocessing | Remove the hair, wipe the sweat and oil from the skin with alcohol, and wait for the alcohol to evaporate. |
| Being placed | Position of dual working electrodes | In the middle of the muscle belly and consistent with the direction of the muscle fibers |
| Distance between two working electrodes | Multiples of 10 mm, usually 20 mm is taken. | |
| Position for attaching the reference electrode | Joints with low muscle activity | |
| Filtering Method | Parameter Configuration | Average SNR (dB) | Classification Accuracy (%) |
|---|---|---|---|
| Butterworth Bandpass | 4th order, 20–500 Hz | 58.7 ± 1.2 | 97.75 ± 0.52 |
| VMD | Penalty factor, α = 2000, preset modal number K = 4 | 56.3 ± 1.5 | 96.12 ± 0.68 |
| Gaussian Filtering | Window size = 15, σ = 2.5 | 57.2 ± 1.4 | 96.75 ± 0.59 |
| Parameter Name | Parameter Settings |
|---|---|
| Training batch size | 64 |
| Number of Iterations | 32 |
| Initial learning rate | 0.001 |
| Dropout | 50% |
| Loss function | Cross-Entropy Loss Function |
| Optimizer | Adam |
| Lstm hidden layer dimensions | 64 |
| Number | Gender | Age | Weight (kg) | Whether One Is Ill |
|---|---|---|---|---|
| 1 | Male | 25 | 72 | |
| 2 | Male | 23 | 78 | Y |
| 3 | Male | 28 | 56 | |
| 4 | Female | 24 | 49 | |
| 5 | Female | 24 | 53 | |
| 6 | Male | 43 | 68 | |
| 7 | Male | 32 | 84 | |
| 8 | Female | 49 | 54 | |
| 9 | Male | 34 | 76 | |
| 10 | Male | 29 | 67 |
| Accuracy | Recall Rate | F1 Score | |
|---|---|---|---|
| Rest (Max value) | 98.76% | 99.29% | 98.96% |
| Extension (Min value) | 97.13% | 97.02% | 97.16% |
| Mean | 97.75% | 97.79% | 97.79% |
| Model Variants | Changed Content | Accuracy |
|---|---|---|
| M0 | A complete CNN-LSTM parallel dual-stream model incorporating channel shuffling, CBAM attention mechanism, and a dedicated spatio-temporal fusion module. | 97.75 ± 0.52 |
| M1 | Remove the channel rearrangement step and retain the original channel order. | 96.23 ± 0.65 |
| M2 | Remove the CBAM in the spatial branch. | 95.18 ± 0.78 |
| M3 | Close the time branch and only use the multi-scale spatial branch to complete the classification task. | 89.30 ± 1.24 |
| M4 | Close the spatial branch and only use the LSTM-based temporal branch to complete the classification task. | 90.70 ± 1.05 |
| M5 | The dedicated weighted fusion module is replaced with direct feature concatenation, and 1 × 1 convolution is not used for weight adjustment. | 94.62 ± 0.83 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Shi, X.; Hou, J.; Wang, J.; Lu, H.; Li, S.; Meng, X.; Li, K. Research on Movement Intention Recognition Based on CNN-LSTM. Electronics 2026, 15, 797. https://doi.org/10.3390/electronics15040797
Shi X, Hou J, Wang J, Lu H, Li S, Meng X, Li K. Research on Movement Intention Recognition Based on CNN-LSTM. Electronics. 2026; 15(4):797. https://doi.org/10.3390/electronics15040797
Chicago/Turabian StyleShi, Xiaohua, Jiawei Hou, Jiyang Wang, Hao Lu, Sixiu Li, Xiangwei Meng, and Kaiyuan Li. 2026. "Research on Movement Intention Recognition Based on CNN-LSTM" Electronics 15, no. 4: 797. https://doi.org/10.3390/electronics15040797
APA StyleShi, X., Hou, J., Wang, J., Lu, H., Li, S., Meng, X., & Li, K. (2026). Research on Movement Intention Recognition Based on CNN-LSTM. Electronics, 15(4), 797. https://doi.org/10.3390/electronics15040797
