TExcelTAD
Home › Electrical & Electronic Measurements › Grounding, Shielding, Ground Loops and Common-Mode Noise

Grounding, Shielding, Ground Loops and Common-Mode Noise

You connect a thermocouple amplifier's output to a data logger and a 50 Hz50\ \text{Hz} hum of several millivolts appears. Unplug the laptop charger and it shrinks; touch the cable and it grows. Nothing in the circuit diagram explains it, because the problem is in the wires the diagram leaves out: the protective-earth conductors of two instruments, the stray capacitance to mains wiring, and the magnetic field of a nearby transformer. This lesson names the coupling paths, explains ground loops and common-mode noise, and gives the cures: differential and isolated measurement, shielding, twisting and a deliberate grounding plan.

Four ways interference gets in

source instrument signal + ground logger / scope single-ended input signal conductor cable ground: R return protective earth protective earth building earth wiring I loop loop area: flux induces a voltage
Path Mechanism Grows with Cure
common impedance (ground loop) a current from elsewhere flows in a conductor that is also part of your measurement return loop current, shared resistance and inductance break the loop (one ground path, isolation), or measure differentially
capacitive (electric field) a varying voltage nearby couples through stray capacitance into a high-impedance node dV/dtdV/dt, capacitance, node impedance electrostatic shield connected to the reference, lower impedance, distance
inductive (magnetic field) a varying field through the loop area of the measurement wiring induces an emf dB/dtdB/dt, loop area twisted pairs, small loops, distance, magnetic shielding at low frequency
radiated / conducted RF radio-frequency energy picked up by cables and rectified in amplifier inputs field strength, cable length filtering at entry, shielded cable bonded at both ends, ferrites

Ground loops

Two mains-powered instruments, each with its chassis connected to protective earth, and a signal cable whose screen or ground wire joins their grounds: the protective-earth wiring and the cable ground form a loop. Magnetic fields from building wiring induce a voltage around it, and leakage currents (filters, power supplies) flow in it. Part of the loop is the measurement's own return conductor, so a voltage IloopRreturnI_\text{loop} R_\text{return} adds in series with the signal of a single-ended measurement: 100 mA100\ \text{mA} through 50 mΩ50\ \text{m}\Omega of cable screen is 5 mV5\ \text{mV}, more than a hundred times a type K thermocouple's 41 μV41\ \mu\text{V} per kelvin.

Never cure a ground loop by removing a protective earth (lifting the earth pin of an instrument or using a "cheater" adapter): the earth is what makes a fault safe. Use instead:

  • Differential inputs: measure v+−v−v_+ - v_- across the sensor, so the ground voltage appears as common mode and is rejected by the CMRR.
  • Isolation: a battery-powered or isolated-input instrument, an isolation amplifier, or a digital isolator, so there is no conductive loop at all.
  • Single-point (star) grounding of a system's signal grounds, with power returns kept separate from signal returns.

CMRR is only as good as the balance of the source and cable: an impedance imbalance ΔR\Delta R in one lead, against the common-mode impedance ZcmZ_\text{cm} of each input to ground (cable capacitance), converts common mode into a differential error of about ΔR/Zcm\Delta R/Z_\text{cm}. That often limits the effective rejection more than the amplifier does.

Worked example: hum in a data-logging setup

Given: a ground loop that puts 5.0 mV5.0\ \text{mV} of 50 Hz50\ \text{Hz} between the sensor's ground and the logger's ground; a logger with differential inputs of 80 dB80\ \text{dB} CMRR; a sensor with 10 kΩ10\ \text{k}\Omega in one lead (a protection resistor) and 1 nF1\ \text{nF} of cable capacitance per input.

Find: the hum in a single-ended and in a differential measurement, and the effective CMRR with the imbalance.

Solve:

single-ended: 5.0 mVdifferential, ideal balance: 5.0 mV×10−80/20=0.5 μVimbalance: ΔR∣Zcm∣=10 kΩ×2π×50 Hz×1 nF=3.1×10−3 ⇒ 50 dB, 16 μV\begin{aligned} \text{single-ended: } & 5.0\ \text{mV} \\ \text{differential, ideal balance: } & 5.0\ \text{mV} \times 10^{-80/20} = 0.5\ \mu\text{V} \\ \text{imbalance: } & \frac{\Delta R}{\lvert Z_\text{cm} \rvert} = 10\ \text{k}\Omega \times 2\pi \times 50\ \text{Hz} \times 1\ \text{nF} = 3.1 \times 10^{-3} \ \Rightarrow\ 50\ \text{dB}, \ 16\ \mu\text{V} \end{aligned}

Check: the imbalance turns an 80 dB80\ \text{dB} instrument into a 50 dB50\ \text{dB} system: 16 μV16\ \mu\text{V} of hum, still 300300 times better than single-ended but worse than the datasheet promises. Balance the leads (put matching resistors in both) or reduce the cable capacitance. The program adds the capacitive and magnetic coupling estimates:

python · try it yourself
import numpy as np

w = 2 * np.pi * 50.0                               # mains frequency as the interference source

# 1. Ground loop: 100 mA of 50 Hz current in a shared return of 50 mohm
V_loop = 0.100 * 0.050
print(f"ground loop: {1e3 * V_loop:.1f} mV in series with a single-ended measurement")
for cmrr_db in (60, 80, 100):
    print(f"  differential input, CMRR {cmrr_db} dB: {1e6 * V_loop / 10 ** (cmrr_db / 20):.3f} uV")

# 2. CMRR is spoiled by source-impedance imbalance: 10 kohm in one lead, 1 nF of cable capacitance per input
Zcm = 1 / (1j * w * 1e-9)                          # common-mode impedance to ground at 50 Hz (capacitive)
dR = 10e3
conv = abs(dR / (dR + Zcm))                        # fraction of V_cm converted to a differential error
print(f"10 kohm imbalance with 1 nF per input: effective CMRR {-20 * np.log10(conv):.0f} dB at 50 Hz")

# 3. Capacitive (electric-field) coupling: 230 V mains wiring, 1 pF to a 10 kohm node (calculation only)
Vn = 230 * w * 1e-12 * 10e3
print(f"capacitive pickup on a 10 kohm node: {1e3 * Vn:.2f} mV; on 1 Mohm: {1e3 * 230 * w * 1e-12 * 1e6:.0f} mV")

# 4. Magnetic coupling: 10 uT at 50 Hz through a loop of 10 cm^2 vs a twisted pair (residual 0.1 cm^2)
for area_cm2 in (10.0, 0.1):
    emf = w * 10e-6 * area_cm2 * 1e-4
    print(f"magnetic pickup, loop {area_cm2:4.1f} cm^2: {1e6 * emf:.2f} uV")
ground loop: 5.0 mV in series with a single-ended measurement
  differential input, CMRR 60 dB: 5.000 uV
  differential input, CMRR 80 dB: 0.500 uV
  differential input, CMRR 100 dB: 0.050 uV
10 kohm imbalance with 1 nF per input: effective CMRR 50 dB at 50 Hz
capacitive pickup on a 10 kohm node: 0.72 mV; on 1 Mohm: 72 mV
magnetic pickup, loop 10.0 cm^2: 3.14 uV
magnetic pickup, loop  0.1 cm^2: 0.03 uV

Simulation. Vs is the sensor (100 mV100\ \text{mV} DC, no AC part) sitting on a remote ground g2; Vgl is the ground-loop voltage between the two grounds, 5 mV5\ \text{mV} at 50 Hz50\ \text{Hz} in this AC analysis. A single-ended input reads node s against the logger's ground 0: the full 5 mV5\ \text{mV} of hum. A differential input, E1, reads s against g2 into node d: zero hum. Slide the loop voltage.

0.0000.0020.004100m1101001k10kf (Hz)|V| (V)|V(s)||V(d)|phasors at f = 50.00 Hz (magnitude @ phase)V(g2)5.00 mV @ 0.0 degV(s)5.00 mV @ 0.0 degV(d)0 V @ 0.0 degI(Vgl)5.00 nA @ 180.0 degI(Vs)5.00 nA @ 180.0 degI(Rin)5.00 nA @ 0.0 degI(E1)0 A @ 0.0 degI(Rd)0 A @ 0.0 deg

Shielding and twisting

  • Electric-field shields (braid, foil, a grounded box) intercept the displacement current that stray capacitance would inject into a node. Connect a shield to the reference of the circuit it protects, at one point, for low-frequency measurements: grounding it at both ends turns the screen into part of a ground loop. At radio frequencies, bond it all round at both ends (a 360∘360^\circ connection), because there the shield's job is to carry RF currents away from the conductor.
  • Magnetic fields at 50 Hz50\ \text{Hz} pass through copper shields almost unhindered (the skin depth of copper at 50 Hz50\ \text{Hz} is about 9 mm9\ \text{mm}). Reduce the loop area instead: twisted pairs make adjacent half-twists cancel, and routing go and return conductors together does the same. High-permeability (mu-metal) shields help at low frequency for very sensitive sensors.
  • Guarding drives a shield at the same potential as the signal conductor, so no current flows through the insulation or stray capacitance between them; it is used for picoampere measurements and high-impedance sources, and it is the idea behind the guard terminal of insulation testers (Four-Wire Resistance).

The oscilloscope is the most common ground-loop maker on the bench: its probe ground is earthed, so clipping it to a circuit that is itself earthed through another instrument closes a loop, and clipping it to a node that is not at ground potential shorts that node to earth. Use a differential probe, two channels in A − B mode for small low-frequency signals, or a battery-powered circuit (Probes).

Guided lab: make and break a ground loop

Hand calculation. A thermocouple's 40 μV/K40\ \mu\text{V/K} means 5 mV5\ \text{mV} of hum is 125 K125\ \text{K} of apparent temperature noise; 16 μV16\ \mu\text{V} is 0.4 K0.4\ \text{K}.

Simulation. The netlist lab and the program with your own cable lengths and imbalances.

What you would measure. Use a mains-powered scope or logger and a mains-powered signal generator set to 0 V0\ \text{V} output, connected by a BNC cable; also connect a second cable or wire between their chassis grounds (all equipment correctly earthed and unmodified). On the scope's most sensitive range, at 5 ms/div5\ \text{ms/div}, look at the "zero" signal: expect a few hundred microvolts to millivolts of 50 Hz50\ \text{Hz} (and harmonics), varying with the cable's routing. Move the cable to enclose a larger area near a mains cable (without touching any mains conductors): the hum changes. Then replace the generator with a 1.5 V1.5\ \text{V} cell and a divider (no earth connection): the loop disappears and the hum drops to the scope's own noise.

Hazards and safe setup. All equipment stays connected to protective earth exactly as supplied; never lift or bypass earth pins, and never open mains cords or extension leads. Signals stay at generator level.

Pitfalls

  • Lifting an instrument's earth to "fix" hum.
  • Grounding a cable screen at both ends for a microvolt-level low-frequency measurement.
  • Trusting an amplifier's CMRR when the source leads are unbalanced.
  • Running sensor cables in the same bundle as motor or mains cables.

Practice

  1. A 2 m2\ \text{m} sensor cable encloses 40 cm240\ \text{cm}^2 near a cable that creates 20 μT20\ \mu\text{T} at 50 Hz50\ \text{Hz}. Estimate the induced voltage, and the effect of twisting (residual 0.4 cm20.4\ \text{cm}^2).
  2. A differential amplifier with 90 dB90\ \text{dB} CMRR sees 2 V2\ \text{V} of common-mode 50 Hz50\ \text{Hz}. What is the error referred to the input?
Answer
  1. ωBA=314×20×10−6×40×10−4=25 μV\omega B A = 314 \times 20 \times 10^{-6} \times 40 \times 10^{-4} = 25\ \mu\text{V}; twisted, 0.25 μV0.25\ \mu\text{V}.
  2. 2 V×10−4.5=63 μV2\ \text{V} \times 10^{-4.5} = 63\ \mu\text{V}.

Test yourself

The safe way to break a ground loop between two earthed instruments is

  1. remove one instrument's earth connection
  2. use a differential or isolated measurement
  3. add a longer cable
  4. ground the shield at both ends

A copper shield is most effective against

  1. 50 Hz magnetic fields
  2. electric-field (capacitive) coupling
  3. ground loops
  4. thermal EMFs

Twisting a signal pair reduces

  1. capacitive coupling only
  2. magnetic (inductive) pickup by cancelling the loop area
  3. the cable resistance
  4. the CMRR

Unequal source resistances in the two leads of a differential measurement

  1. improve CMRR
  2. convert common-mode voltage into a differential error
  3. have no effect
  4. only matter at DC