Next Article in Journal
RFE-YOLO: A Study on Photovoltaic Module Fault Detection Algorithm Based on Multimodal Feature Fusion
Previous Article in Journal
Real-Time Robust 2.5D Stereo Multi-Object Tracking with Lightweight Stereo Matching Algorithm
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

FPGA-Parallelized Digital Filtering for Real-Time Linear Envelope Detection of Surface Electromyography Signal on cRIO Embedded System

1
Laboratoire d’Acoustique de l’Universite du Mans (LAUM), UMR CNRS 6613, Institut d’Acoustique-Graduate School (IA-GS), CNRS, Le Mans Universite, 72085 Le Mans, France
2
Electronic Systems Sensors and Nano-Biotechnologies, National Graduate School of Arts and Crafts (ENSAM), Mohammed V University in Rabat, Rabat 8007, Morocco
*
Author to whom correspondence should be addressed.
Sensors 2025, 25(21), 6770; https://doi.org/10.3390/s25216770
Submission received: 9 September 2025 / Revised: 22 October 2025 / Accepted: 3 November 2025 / Published: 5 November 2025
(This article belongs to the Section Electronic Sensors)

Abstract

Surface electromyography (sEMG) signal processing has been the subject of many studies for many years now. These studies had the main objective of providing pertinent information to medical experts to help them make correct interpretations and medical diagnoses. Beyond its clinical relevance, sEMG plays a critical role in human–machine interface systems by monitoring skeletal muscle activity through analysis of the signal’s amplitude envelope. Achieving accurate envelope detection, however, demands a robust and efficient signal processing pipeline. This paper presents the implementation of an optimized processing framework for the real-time linear envelope detection of sEMG signals. The proposed pipeline comprises three main stages, namely data acquisition, full-wave rectification, and low-pass filtering, where the deterministic execution time of the algorithm on the FPGA (98 ns per sample) is two orders of magnitude faster than the data acquisition sample interval (200 µs), guaranteeing real-time performance. The entire algorithm is designed for deployment on the FPGA core of a CompactRIO embedded controller, with emphasis on achieving high accuracy while minimizing hardware resource consumption. For this purpose, a parallel second-order structure of the Butterworth low-pass (LP) filter is proposed. The designed filter is tested and compared practically to the conventional method, which is the moving average (MAV) filter. The mean square error (MSE) is used as a metric for performance evaluation. From the analysis, it is observed that the proposed design LP filter shows an improved MSE and reduced hardware resources than the MAV filter. Furthermore, the comparative analysis and the results show that our proposed design LP filter is a valid and reliable method for linear envelope detection.
Keywords: electromyography; linear envelope; CompactRIO; LabVIEW; FPGA; low pass filter; moving average filter; discrete implementation structure electromyography; linear envelope; CompactRIO; LabVIEW; FPGA; low pass filter; moving average filter; discrete implementation structure

Share and Cite

MDPI and ACS Style

Achmamad, A.; Jbari, A.; Yaakoubi, N. FPGA-Parallelized Digital Filtering for Real-Time Linear Envelope Detection of Surface Electromyography Signal on cRIO Embedded System. Sensors 2025, 25, 6770. https://doi.org/10.3390/s25216770

AMA Style

Achmamad A, Jbari A, Yaakoubi N. FPGA-Parallelized Digital Filtering for Real-Time Linear Envelope Detection of Surface Electromyography Signal on cRIO Embedded System. Sensors. 2025; 25(21):6770. https://doi.org/10.3390/s25216770

Chicago/Turabian Style

Achmamad, Abdelouahad, Atman Jbari, and Nourdin Yaakoubi. 2025. "FPGA-Parallelized Digital Filtering for Real-Time Linear Envelope Detection of Surface Electromyography Signal on cRIO Embedded System" Sensors 25, no. 21: 6770. https://doi.org/10.3390/s25216770

APA Style

Achmamad, A., Jbari, A., & Yaakoubi, N. (2025). FPGA-Parallelized Digital Filtering for Real-Time Linear Envelope Detection of Surface Electromyography Signal on cRIO Embedded System. Sensors, 25(21), 6770. https://doi.org/10.3390/s25216770

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop