C11 · Lesson 17 · Grounding, ground loops and differential measurement
Where the hum comes from, and how to reject it
Connect a grounded scope to a grounded circuit across the lab and a 50 Hz hum appears on every trace. Its source isn't the circuit: the two "grounds" are at slightly different voltages, because mains currents flow in the building's wiring, and the scope's cable shield connects them, closing a ground loop. The cure is not to cut the safety ground but to measure differentially: look at the difference between two points and reject whatever voltage they share. How well an instrument does that is its common-mode rejection ratio, and it decides whether microvolt signals can be measured on a noisy bench.
- The measured trace is a 10 mV, 1 kHz signal plus whatever fraction of a 50 Hz common-mode voltage leaks through, set by the measurement's CMRR.
- A single-ended scope measurement (CMRR about 0 dB) shows the hum at full size, swamping the signal. A differential amplifier with 60 dB CMRR cuts 1 V of hum to 1 mV.
- Raise the CMRR to 100 dB and the hum vanishes. The readout gives what's left of it.
Predict
A differential amplifier with a CMRR of 60 dB measures a small signal riding on 1 V of common-mode hum. How much hum reaches the output (referred to the input)?
1 mV: 60 dB is a factor of 1000 in voltage, so 1 V of common mode looks like 1 mV of differential signal. For a 10 mV measurement that's still a 10% error; strain gauges and thermocouples need 100 dB or more.
Name it
Ground loops
When two pieces of equipment are each grounded through the mains and also joined by a cable shield, the shield and the building's ground wiring form a loop. Current from the ground potential difference, or induced by a changing magnetic field through the loop's area, flows in the shield, and its drop adds to the signal. A loop of area A in a field B oscillating at f picks up
Remedies: a single ground point, short cables, twisted pairs (small loop area), and above all differential measurement. Never remove the safety ground from an instrument to break a loop: its chassis can then rise to mains voltage.
Common-mode rejection
A voltage on both inputs at once is common mode; the difference is differential. A differential input rejects common mode by its CMRR:
Instrumentation amplifiers (C6) reach 100 to 120 dB at low frequencies, less at high.
Measuring across a floating component
To see the voltage across a component that isn't connected to ground (the high side of a motor driver, a current-sense resistor), use a differential probe, or two ordinary probes and the scope's A − B math. The second is limited by how well the two channels match: a 1% gain mismatch gives only about 40 dB of rejection.
Worked example
A thermocouple signal of 2 mV sits on 5 V of common mode from a heater supply. What CMRR keeps the error below 1 µV?
Show the solution
- Required rejection. The error must be at most V out of 5 V:
- In practice. That's beyond most amplifiers at 50 Hz, so the design also needs isolation or filtering.
Answer at least 134 dB.
Worked example
A 1 cm² loop of probe ground lead sits near a transformer with a 1 mT field at 50 Hz. How much does it pick up?
Show the solution
- Induced voltage.
- Near a transformer. Close to a power transformer the field can be ten times larger, which is why a probe's long ground lead picks up hum.
Answer about 31 µV.
Worked example
A sensor's return current of 1 A shares 10 mΩ of ground wiring with a measurement. What error does that cause single-ended, and with a differential amplifier of 80 dB CMRR?
Show the solution
- Single-ended. The drop appears directly in the reading:
- Differential. It becomes common-mode, attenuated by :
- Where to measure. Measuring between the two ends of the sensor, rather than to a distant ground, removes the shared wiring from the signal path.
Answer a 10 mV error single-ended, and 1 µV with the differential amplifier.
Check
1 V of common mode reaches an input with 40 dB of CMRR. How much error does it cause?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
Check
How much CMRR keeps 10 V of common mode to under 0.001 mV of error?
Check
A ground loop drives 100 mA through a cable shield of 0.005 Ω. How much voltage does it add to a single-ended measurement?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
Check
A loop of 100 cm² sits in a 0.1 mT field at 50 Hz. How much voltage is induced?
Write units the way you normally would: 1.5 µV, 1500 nV and 0.0015 mV are the same answer.
Check
Two scope channels' gains differ by 1%. About what CMRR does an A − B measurement achieve?
Check
A ground loop puts 50 Hz hum on a measurement. Which fix is unsafe?
Check
A differential amplifier with 60 dB CMRR sees 5 V of common mode.
(a)
What error does that add?
Write units the way you normally would: 1.5 µV, 1500 nV and 0.0015 mV are the same answer.
(b)
And with 20 dB more CMRR?
Check
A 1 cm² loop sits in a 1 mT field at 60 Hz.
(a)
What peak voltage does it pick up?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
(b)
And with the loop area cut by ten (a twisted pair)?
Explain why
Why does a differential measurement reject a ground loop's hum while a single-ended one doesn't?
The ground-loop voltage appears between the two instruments' grounds, so at the receiving end it's added equally to both the signal wire and its return: it's common mode. A single-ended input measures the signal wire against its own local ground, so the hum, being the difference between the two grounds, appears directly in the reading. A differential input measures the signal wire against the return wire from the source, and since the hum is on both, it cancels, leaving only a residue set by how perfectly matched the two inputs are, the CMRR.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.