Electromyography (EMG) is widely used in human–machine interfaces (HMIs) to measure muscle contraction by computing the EMG envelope. However, EMG is largely affected by powerline interference and ...