Case Study: EMG Envelope Extraction and SNR Computation
•To assess muscle activity and quantify noise in an EMG signal, we
extract its envelope and compute the signal-to-noise ratio (SNR).
Steps:
•Rectify: Convert all EMG values to positive to reflect absolute muscle
activity.
•Moving RMS: Apply a moving root-mean-square window (e.g., 100 ms)
to smooth the signal and obtain the amplitude envelope.
•Log scale: Apply a logarithmic transformation to compress the range
and enhance small fluctuations.
•Compute SNR: Estimate signal power from the RMS envelope and noise
power from baseline wander (via low-pass filtering), then compute the
SNR
Higher RMS suggests stronger activation or fatigue; lower SNR indicates
more noise (e.g., from movement artifacts or poor electrode contact).