Skip to main content

Finding a Cable Fault with NanoVNA: Distance to Fault (TDR)

· 6 min read
UR3PKI
Software Engineer

You cannot cut a cable under the roof or in a conduit in half to see where it is damaged. But any damage reflects part of the signal, and the reflection comes back with a delay proportional to the distance. A NanoVNA can measure that delay — a fifty-dollar instrument many people already have in the shack. Below are two ways to do it, what limits range and accuracy, and how to read the picture.

The distance-to-fault calculator works out the distance from the measured numbers.

What reflects​

A 50-ohm cable terminated in 50 ohms reflects nothing: the wave travels to the end and is absorbed there. Any place where the characteristic impedance differs reflects part of the wave back:

What is in the cableImpedance thereReflection
open circuitinfinitetotal, same sign
short circuitzerototal, opposite sign
water under the jacketlower: water adds capacitanceweak and smeared along the length
crushed cablelower: conductors closer togetherweak, at one point
bad connector, adapterdifferent for a few centimetresa short blip

The distance to the reflection:

d = c · vf · t / 2

t is the delay and vf the cable's velocity factor. We divide by two because the signal covers the distance twice, there and back.

Velocity factor first​

Both methods below give a time or a frequency; the distance only comes through vf. An error in vf is the same error in the distance: vf 0.66 instead of 0.82 puts the fault a fifth closer than it really is. Tables give vf by insulation type: solid polyethylene about 0.66, foam 0.78–0.85, PTFE about 0.7. But the same type of cable from different factories can differ.

It is more reliable to measure vf on a piece of the same reel of known length. Leave the far end open, find the first frequency at which the impedance drops to a minimum (a quarter wave fits in the cable there), and work out:

vf = 4 · L · f₁ / c

For 5 m of cable with vf 0.66 the first minimum is at about 9.9 MHz. The velocity factor calculator does the same.

Method one: resonance spacing​

This works on any analyser, even without a TDR mode. Disconnect the antenna, leave the far end of the cable open and sweep S11 or impedance over a wide band. The impedance minima repeat at a constant spacing Δf, and that spacing gives the length to the point where the cable electrically ends — an open, a short or the real end:

d = c · vf / (2 · Δf)

20 m of RG-58 (vf 0.66) gives a spacing of 4.95 MHz. If the spacing came out at 9.9 MHz, the fault is 10 m away. The more minima in the band, the better: measure from the first to the tenth and divide by nine.

This method only sees the strongest reflection. Water or a bad connector halfway along adds a faint ripple on top of the main minima, but you cannot get a distance to it this way.

Method two: TDR​

The analyser measures S11 at hundreds of frequencies, and maths turns those measurements into a response in time: what would come back if a short pulse or a step were sent into the cable. That is TDR (time domain reflectometry). NanoVNA-Saver has a separate window for it, where you enter the velocity factor and get the impedance along the cable. The NanoVNA itself has a time-domain transform mode (TRANSFORM), with a velocity factor setting too.

There are two modes:

  • impulse — sharp peaks wherever something reflects; handy for finding the place;
  • step — an impedance profile along the cable; it shows what it is: an open goes up, a short down, water as a gentle dip.

Range and resolution​

Both depend on how you set up the sweep:

range d_max = c · vf / (2 · frequency step)
resolution Δd ≈ c · vf / (2 · span)

The frequency step is the span divided by the number of points minus one. For cable with vf 0.66:

SweepRangeResolution
101 points, up to 900 MHz11 m11 cm
101 points, up to 330 MHz30 m30 cm
1001 points, up to 900 MHz110 m11 cm

Range is set by the number of points, resolution by the span. So a long feedline needs a sweep with many points; NanoVNA-Saver can assemble one from several passes. The window that smooths the transform widens every peak roughly twofold, so real resolution is worse than the table.

If a fault lies beyond the range, it does not disappear: it is carried over to a wrong, shorter distance. The check is simple: reduce the frequency step, and a real peak stays put while an aliased one moves.

How to measure​

  1. Calibrate the analyser at the end of your test lead, not at the instrument socket. Otherwise the lead is added to every distance.
  2. Adapters between the lead and the feedline have length too, and a different vf. Centimetres, but noticeable on a short cable.
  3. Leave the far end open: then the end of the cable gives a strong reflection to measure from. If you terminate it in 50 Ω, the end disappears and only the faults remain.
  4. Measure a piece of known length first. If the instrument shows 10 m where there are 10, the setup is right.

What it will not show​

  • Distant faults behind a near one. The strong reflection from the first fault takes the signal, and what lies beyond is harder to see.
  • Losses. In a long cable at high frequencies the reflection from the far end comes back weak, and small faults there drown in the noise.
  • Exactly where the water is. Water spreads along the braid and gives not a point but a stretch. TDR shows where it starts; after that the cable is usually replaced.

The distance-to-fault calculator works out the distance from the resonance spacing, the delay or the phase.