Every time a muscle contracts, it gives off a faint electrical signal, and EMG processing is the set of steps that turns that crackle into a reading you can use. The work is mostly cleaning and condensing: keeping the muscle’s own signal, removing everything else, and reducing thousands of data points to a simple measure of effort or fatigue. The choices made along the way, from where the sensors sit to how the signal is filtered, shape the final numbers, so two recordings of the same muscle only compare fairly when they were processed the same way.
Where the Muscle Signal Comes From
Muscles are controlled in units. One nerve cell and all the muscle fibres it fires make up a motor unit. When a motor unit fires, the tiny electrical pulses of all its fibres add up to one combined pulse.1PubMed Central. Techniques of EMG signal analysis: detection, processing, classification and applications What an EMG records is the overlapping sum of many motor units firing at their own rhythms, which is why the raw trace looks like jagged static.
On screen, raw EMG swings above and below zero many times a second. Its size grows as more motor units join in and fire faster. The voltages involved run from millionths to thousandths of a volt, far tinier than what a household battery delivers, and that is why amplification and noise removal matter so much.
The pulse can be picked up by a sticky electrode on the skin or by a fine needle placed in the muscle.1PubMed Central. Techniques of EMG signal analysis: detection, processing, classification and applications Skin electrodes are painless, so they are what hobby kits, sports science and biofeedback use, while needles are mainly used in medical testing. On its way to the skin, the signal passes through fat and other tissue, which weakens it and spreads it out.2PubMed. Compensation of the effect of sub-cutaneous tissue layers on surface EMG: a simulation study Surface readings are therefore smaller and blurrier in people with more tissue over the muscle.
Placing Electrodes to Catch One Muscle
A surface electrode can pick up signal leaking in from nearby muscles. With electrodes 40 mm apart, about half of the recorded signal can come from other muscles.3PubMed. Inter-electrode spacing of surface EMG sensors: reduction of crosstalk contamination during voluntary contractions Spacing them 10 mm apart gave the least leakage.3PubMed. Inter-electrode spacing of surface EMG sensors: reduction of crosstalk contamination during voluntary contractions3PubMed. Inter-electrode spacing of surface EMG sensors: reduction of crosstalk contamination during voluntary contractions
Most setups use two electrodes and record the difference between them. Noise that hits both equally, like distant muscles or hum, mostly cancels out. Signal from the muscle right underneath differs between the two and survives. The closer the pair, the more the reading focuses on the muscle beneath.
Large electrodes and wide spacing smooth the signal so much that results can’t be compared between setups.4PubMed Central. Electrode Size and Placement for Surface EMG Bipolar Detection from the Brachioradialis Muscle: A Scoping Review So place electrodes close together along the middle of the muscle, and keep the same spacing every session.4PubMed Central. Electrode Size and Placement for Surface EMG Bipolar Detection from the Brachioradialis Muscle: A Scoping Review
A few steps help. Clean the skin to remove oils so the electrode makes good contact. Find the muscle’s thickest part by contracting it and feeling the bulge, then line the electrodes up with the direction of the muscle fibres. Put the reference electrode over bone, away from active muscle.
Recording Fast Enough
A computer stores EMG as snapshots taken many times a second, called the sampling rate. It must be at least twice the highest frequency the filter keeps.5Journal of Electromyography and Kinesiology. Standards for Reporting EMG Data If you keep 10 to 400 Hz, you need at least 800 samples a second, and more improves accuracy.5Journal of Electromyography and Kinesiology. Standards for Reporting EMG Data Sampling too slowly creates false slow wiggles that can’t be removed later.
Many cheap hobby boards output an already smoothed signal, not raw EMG. A smoothed output can be sampled slowly, but you can’t reanalyse it for frequency. For raw EMG, aim for 1,000 or more samples per second, and write down your sampling rate and filter settings for every recording.
Filtering Out Movement and Slow Noise
A high-pass filter lets fast wiggles through and blocks slow ones. That suits the job, because cable sway and electrodes shifting on the skin produce mostly slow wobble. A cutoff of 20 Hz is the best single choice for general use, even for slower-signal muscles like the thigh and lower back.6Journal of Biomechanics. Filtering the surface EMG signal: Movement artifact and baseline noise contamination The signal below 20 Hz carries little energy and is unstable, rising and falling with motor unit firing rates, so going below 20 Hz is not recommended.6Journal of Biomechanics. Filtering the surface EMG signal: Movement artifact and baseline noise contamination
Each noise-removal method is built for a specific contaminant, and none works for all of them.7PubMed Central. Reducing Noise, Artifacts and Interference in Single-Channel EMG Signals: A Review Subtracting a heartbeat template, for example, is designed only for removing heart signals picked up near the chest.7PubMed Central. Reducing Noise, Artifacts and Interference in Single-Channel EMG Signals: A Review
You can often tell by eye. Movement artifacts show as big slow swings when the limb jerks or a cable is tugged. Heart signals appear as regular spikes about once a second on trunk muscles. Power line hum is a steady fast buzz present even when the muscle rests. Recording a few seconds at rest first reveals what noise is there.
Prevention beats filtering. Tape down cables so they don’t swing, and make sure electrodes are firmly stuck and the gel hasn’t dried. Filtering can’t recover signal buried under large artifacts.
Removing Power Line Hum
Wiring and devices nearby add a buzz at the mains frequency, 50 Hz in Europe and much of the world and 60 Hz in North America. The usual fix is a notch filter, which cuts a narrow slice around that frequency. It is hard to remove all the hum without also distorting the muscle signal, which carries energy at the same frequencies.8PubMed Central. Reducing Power Line Interference from sEMG Signals Based on Synchrosqueezed Wavelet Transform And if the hum drifts by just 0.5 Hz, a notch filter’s output can match the clean signal far less well.9PubMed. Reducing power line interference in digitised electromyogram recordings by spectrum interpolation
Spectrum interpolation instead estimates what the signal at the hum frequency would have been from its neighbours and fills that in.102001 Conference Proceedings of the 23rd Annual International Conference of the IEEE Engineering in Medicine and Biology Society. Removing power line noise from recorded EMG It performed as well as or better than a notch filter and coped better with drifting hum.9PubMed. Reducing power line interference in digitised electromyogram recordings by spectrum interpolation It struggles, though, when the hum changes over time.8PubMed Central. Reducing Power Line Interference from sEMG Signals Based on Synchrosqueezed Wavelet Transform
The best fix is less hum to begin with. Keep the setup away from chargers, lights and power strips, and run on battery power where possible. Good skin contact makes the two electrodes pick up hum equally so it cancels.
Turning the Signal Into an Activity Curve
Raw EMG averages to about zero, so it can’t directly show effort. The standard activity curve is made by flipping negative values positive and then smoothing with a low-pass filter.11PubMed Central. A smart approach to EMG envelope extraction and powerful denoising for human–machine interfaces For controlling devices, smoothing is usually set at 5 to 10 Hz.11PubMed Central. A smart approach to EMG envelope extraction and powerful denoising for human–machine interfaces A lower setting gives a smoother but slower curve, a higher one a quicker but jumpier curve.
Several amplitude measures are common. Mean absolute value is the average size of the flipped signal over a window.12PubMed Central. The classification of movement intention through machine learning models: the identification of significant time-domain EMG features RMS, short for root mean square, is the square root of the signal’s average power over a window.12PubMed Central. The classification of movement intention through machine learning models: the identification of significant time-domain EMG features Waveform length adds up the total length of the trace, capturing size, frequency and duration in one number.12PubMed Central. The classification of movement intention through machine learning models: the identification of significant time-domain EMG features Worked out over short windows, these are the usual inputs for software that recognises movements.12PubMed Central. The classification of movement intention through machine learning models: the identification of significant time-domain EMG features
Window length is a tradeoff. These measures are calculated over short chunks, often tenths of a second. Short windows react fast but are noisy; long windows are steady but lag behind the movement. Device control favours short windows, while studies of steady effort can use longer ones.
RMS and mean absolute value rise and fall together as the muscle works harder. RMS weighs big spikes more heavily, but either works if you use the same one consistently.
Spotting Muscle Fatigue in the Signal
The signal can be split into its frequencies, like separating a chord into notes. The median frequency is the point that splits the signal’s energy into a lower and an upper half, and it is commonly used to detect fatigue.13PubMed. Electromyogram median frequency, spectral compression and muscle fibre conduction velocity during sustained sub-maximal contraction of the brachioradialis muscle During sustained effort, electrical pulses travel more slowly along tiring muscle fibres, shifting the signal toward lower frequencies.13PubMed. Electromyogram median frequency, spectral compression and muscle fibre conduction velocity during sustained sub-maximal contraction of the brachioradialis muscle A falling median frequency during a held contraction signals growing fatigue.
A typical test has you hold a steady effort, like pressing against resistance, until tiring. The activity curve often rises as more motor units are recruited, while the median frequency drifts downward. With rest, the median frequency climbs back, which is how recovery can be tracked.
For movements that change over time, the frequency content is tracked in short slices with either a short-time Fourier method or a wavelet method. In hard cycling, both methods gave the same fatigue trend.14PubMed. Fourier and wavelet spectral analysis of EMG signals in maximal constant load dynamic exercise The wavelet method gave less scattered results.15Revista Andaluza de Medicina del Deporte. Spectral analysis of electromyographic signal in supramaximal effort in cycle ergometer using Fourier and Wavelet transforms: a comparative study
Movement artifacts and hum distort the frequency picture, so filter cleanly before measuring frequency. Compare a muscle against itself over time, not one person against another.
Comparing Readings Across People and Days
Raw amplitude depends on skin, fat, placement and the day, so it can’t be compared between people or sessions. Readings are usually divided by a reference contraction recorded in the same session. The most common reference is an all-out hold against something that doesn’t move, called MVIC (maximum voluntary isometric contraction).
To do one, warm up first, then push as hard as possible for a few seconds. Repeat two or three times with rest and use the highest. Keep posture and electrode placement identical to the main test, and redo it if electrodes are moved or replaced.
An all-out hold is tiring and can be risky for injured people.16Journal of Electromyography and Kinesiology. Reliability and interpretation of single leg stance and maximum voluntary isometric contraction methods of electromyography normalization Standing on one leg can serve as a reference for the buttock and inner-thigh muscles, where it was reliable and steady.16Journal of Electromyography and Kinesiology. Reliability and interpretation of single leg stance and maximum voluntary isometric contraction methods of electromyography normalization It was too variable for the front and back thigh muscles.16Journal of Electromyography and Kinesiology. Reliability and interpretation of single leg stance and maximum voluntary isometric contraction methods of electromyography normalization One-leg standing also tests many muscles at once and better resembles real weight-bearing movement.16Journal of Electromyography and Kinesiology. Reliability and interpretation of single leg stance and maximum voluntary isometric contraction methods of electromyography normalization
Why EMG Is Not a Force Meter
Many reports found force rising in step with smoothed EMG during holds, but studies disagree.17PubMed. EMG-force relationships in skeletal muscle Muscles made mostly of one fibre type tended to show a straight-line link, while mixed-fibre muscles did not.18PubMed. Linear and non-linear surface EMG/force relationships in human muscles. An anatomical/functional argument for the existence of both The link also changes over time and differs from person to person,19Biomedical Signal Processing and Control. Generalized EMG-based isometric contact force estimation using a deep learning approach so a model built for one person usually won’t fit another without recalibration.19Biomedical Signal Processing and Control. Generalized EMG-based isometric contact force estimation using a deep learning approach
EMG reliably shows when a muscle switches on and roughly how hard it’s working. Doubling the signal doesn’t mean doubling the force, and fatigue can raise the signal even as force falls. Use EMG to compare effort within one session, and a force sensor when you need actual force.
From Signals to Controlling Prosthetic Hands
Prosthetic hands read several EMG channels and use software trained to recognise patterns for each gesture. Deep-learning software classified about 50 hand movements more accurately than older pattern methods.20PubMed Central. Gesture Recognition Using Surface Electromyography and Deep Learning for Prostheses Hand: State-of-the-Art, Challenges, and Future Such software took under 2 hours to train and then classified each slice of signal in under a thousandth of a second.21PubMed Central. Deep Learning with Convolutional Neural Networks Applied to Electromyography Data: A Resource for the Classification of Movements for Prosthetic Hands
Setting this up means repeating each gesture several times while the system records, so the software learns which features go with each gesture. Shifted electrodes or sweat can reduce accuracy, so recalibration is common. Clean filtering from the earlier steps makes recognition more reliable.
How Doctors Use Needle EMG
Medical EMG uses a thin needle to record individual motor unit pulses and measure their size and duration. In people with suspected muscle disease, unusually small pulses were the best single sign, catching about 7 in 10 cases confirmed by muscle biopsy.22PubMed Central. A correlative study of Quantitative EMG and biopsy findings in 31 patients with myopathies This was especially useful in only mildly weak muscles.22PubMed Central. A correlative study of Quantitative EMG and biopsy findings in 31 patients with myopathies An abnormal result was correct over 90% of the time, while a normal result was right only about 1 in 5 times.22PubMed Central. A correlative study of Quantitative EMG and biopsy findings in 31 patients with myopathies A normal needle EMG therefore doesn’t rule out muscle disease, and doctors may still order a biopsy.
During the test, a doctor inserts a fine needle into several muscles in turn. You relax, then tense gently, while the machine shows and plays the signal. It can be briefly uncomfortable but rarely needs recovery time, and it is often paired with nerve tests using small electrical pulses.

