A 24 V Signal on a Scope: The Ringing That Is Not Noise

A 24 V Signal on a Scope: The Ringing That Is Not Noise

Put a 10× probe on a 24 V input terminal with the 150 mm ground clip that came in the box, catch the rising edge, and the screen shows tens of volts of overshoot ringing at around 115 MHz. Swap the clip for the spring tip that grounds 10 mm from the probe point and the same edge rings at 447 MHz with a fraction of the amplitude.

The signal did not change. The measurement did, and that is the first thing to establish on any 24 V edge that looks violent, because the loop formed by a probe’s ground lead and its own tip capacitance resonates in exactly the band where this kind of ringing appears. A real ring on a real 24 V field cable lives two hundred times lower in frequency, around a megahertz, and the gap between those two numbers is wide enough that you can identify what you are looking at from the timebase setting alone.

The probe rings, and you can predict at what frequency

One equation settles this and it takes thirty seconds.

A ground lead is an inductor, and for ordinary round wire above a return path the working figure is about one nanohenry per millimetre — a rule of thumb rather than a specification, and one worth respecting to within a factor of two rather than to three digits. The standard 150 mm clip lead is therefore around 150 nH. The probe tip is a capacitor: a TPP0250 or TPP1000 is specified at less than 4 pF, while a 2× probe like the TPP0502 is 12.7 pF, and a cheap unbranded 10× probe is usually somewhere between 10 and 15 pF. Those two form a series resonant circuit driven by the edge you are trying to look at, and its frequency is one over two pi root LC. Put 150 nH with 12.7 pF into that and you get 115 MHz. Put 150 nH with 4 pF in and you get 205 MHz. Shorten the lead to 10 mm and the 12.7 pF probe goes to 447 MHz. Notice which way round the sensitivity runs: the capacitance is set by which probe you picked up and you are unlikely to change it mid-measurement, while the inductance is set by how you grounded it and is entirely under your control. That is why every probe kit ships with a spring tip nobody uses, and why the short bare wire wrapped around the probe barrel that experienced people improvise does the same job for nothing.

Change the ground lead. If the frequency moves, the ringing was never in the wire.

The probe ground loop as a series LC, with the resonant frequency computed for three combinations: a 150 mm clip with 12.7 pF, a 150 mm clip with 4 pF, and a 10 mm spring tip with 12.7 pF

The only thing that differs between the three columns is the probe and how it is grounded. The signal at the terminal is identical in all of them.

That test is worth more than it sounds, because it is a positive identification rather than a guess. A resonance in the circuit under test does not care what you ground the probe with. A resonance in the probe’s own loop moves with the square root of the inductance you gave it, and halving the lead length moves the frequency up by about forty per cent. Do it twice and plot the two numbers if you want to be certain.

Advertisement

What a real 24 V cable does

A field cable has its own resonance and it is nowhere near the probe’s.

Take ordinary unshielded two-core control cable, for which about 0.7 µH per metre and 50 pF per metre are reasonable working figures — again, measure the reel you actually have rather than trusting mine. Those two give a characteristic impedance of the square root of L over C, which is 118 Ω, and a propagation velocity of one over root LC, which is 1.69 × 10⁸ m/s, or 56 % of the speed of light. On a 50 m run the one-way delay is 296 ns and the round trip is 592 ns. If the cable rings as an open-ended quarter-wave stub, it does so at velocity over four times length, which is 845 kHz. Under a megahertz, on a run most people would call long.

Eight hundred and forty-five kilohertz against one hundred and fifteen megahertz. There is no confusing the two.

Characteristic impedance, propagation velocity, one-way delay and quarter-wave ringing frequency computed for 10 m, 50 m and 200 m of two-core control cable, with the frequencies compared against the probe artefact band

The right-hand column is the frequency a genuine cable resonance appears at. Nothing in it comes within two decades of the probe’s own loop.

Whether the cable rings at all depends on the edge that drives it. A transmission line only behaves like one when the source’s rise time is comparable to the round-trip delay; when the edge is much slower, the whole cable charges as a lumped capacitor and there is nothing to reflect. That threshold on a 50 m run is about 592 ns, and it sorts the sources neatly. A 1756-OB16E turns on with a delay of 70 µs nominally, and even its underlying switching edge is far slower than half a microsecond, so a transistor output into a long cable generally does not ring — it produces a smooth exponential that people sometimes mistake for a slow sensor. A mechanical contact is the opposite case, because metal touching metal produces an edge measured in nanoseconds, and that is genuinely fast enough to excite the line.

Transistor outputs do not ring. Contacts do, and a contact bounces as well.

The ring the contact makes, and the one it makes 1.2 ms later

Lump the same 50 m of cable rather than treating it as a line and the arithmetic still lands in the same place.

Fifty metres at 0.7 µH/m is 35 µH, and at 50 pF/m it is 2.5 nF. As a parallel LC that resonates at 538 kHz, which is the same order as the quarter-wave figure and is the ring you will actually see on a contact closure into a long run: a damped burst a few microseconds long, repeating every time the contacts touch. And they touch more than once. A 1756-OW16I specifies a mean bounce time of 1.2 ms, so a single commanded closure produces a series of these bursts spread over a millisecond or so, which on a slow timebase looks like a fuzzy, indecisive edge and on a fast one resolves into separate clean events.

That millisecond is the one that costs you counts, not the microseconds inside it.

What the input card can actually see

Here is where most of the worry turns out to be unnecessary.

Advertisement

A 538 kHz ring has a period of 1.9 µs. The 1756-IB16 has a hardware delay of 290 µs nominal and 1 ms maximum going on, and 700 µs nominal and 2 ms maximum going off, before you add any of the user-selectable filter, which offers 0, 1 or 2 ms on the rising edge and 0, 1, 2, 9 or 18 ms on the falling one. With the filter set to zero the hardware alone integrates over about 156 cycles of that ring. The card cannot see it, and no amount of it will produce a false transition. What the card can see is the contact bounce, because 1.2 ms is the same order as the filter times themselves — which is exactly why those filter options exist and why 9 ms and 18 ms are on the list.

A hundred and fifty-six cycles of ring inside one hardware delay. Nothing gets through.

The thresholds tell the same story from the other direction. Off-state is bounded at 5 V and on-state needs 2 mA at 10 V, so the only ringing that can change a bit is ringing that crosses one of those lines and stays across it for longer than the filter. Overshoot on a rising edge cannot do that, because the input is on its way to being on regardless. Undershoot on a falling edge that holds the terminal above 10 V for more than a millisecond can, and that is a description of contact bounce rather than of a megahertz ring.

Filter for the bounce, and ignore the megahertz entirely.

The three candidate frequencies on one logarithmic axis - probe loop resonance, cable ring, contact bounce - against the input card's hardware delay, its filter settings and the 20 MHz bandwidth limit on the scope

Everything to the right of the card’s filter band is invisible to the controller. The probe artefact is four decades outside anything the input can respond to.

Six minutes at the bench

Change one thing at a time and each change proves something.

Turn the 20 MHz bandwidth limit on first, because it is one button and it settles the biggest question immediately: a 115 MHz probe artefact vanishes entirely while an 845 kHz cable ring passes through untouched. If the display goes clean, stop looking for noise. Then move the ground from the enclosure to the card’s own 0 V terminal, because the potential difference between those two is precisely the common-mode voltage you did not intend to measure and it can be volts on a panel with a drive in it. Compensate the probe against the scope’s own square-wave output before believing any flat top, since an uncompensated 10× probe rolls or peaks the top of a millisecond-scale edge in a way that reads as supply sag. Use DC coupling throughout — AC coupling on a 24 V signal removes the only reference you have. And take one trace with the field cable disconnected at the card, so you know what the card’s own input looks like with nothing attached to it.

Six changes, six predictions. Any one of them failing tells you more than the trace did.

One more thing shows up on that last trace and is not a fault: the 1756-IB16 specifies an inrush of 250 mA peak decaying to below 37 % in 22 ms. That is the channel’s own filter capacitance charging, it is an exponential rather than a ring, and on a supply with a marginal branch it will pull the 24 V rail down visibly for the first few milliseconds after a contact closes.

A bench procedure table: the change to make, what it should do to the display, and what the result proves about where the ringing came from

Each row is a single change with a predicted outcome. If the outcome does not match the prediction, the row above it was wrong rather than the signal being mysterious.

The dead end

A ferrite clipped on the cable, and a capacitor across the input terminals.

Both get fitted to fix a ringing that was in the probe, and both appear to work, because adding capacitance across the input damps the probe’s loop as effectively as it damps anything else. So the trace goes clean, the ferrite gets written into the drawing as a permanent fix, and the original fault — which was usually a count being lost to contact bounce at 1.2 ms — is still there next week. The capacitor is worse than useless on a 24 V input: it adds to the inrush the field contact has to make, and on a card already specified at 250 mA peak it can push a low-current safety output or a reed contact past what it is rated to switch. If a ring genuinely needs damping, the place for it is a series resistor at the source end matching the cable’s 118 Ω, not a capacitor at the load end.

Nothing that is invisible to the input card needs a component fitted to it.

Advertisement

What to do next

Write down the frequency before you write down a conclusion.

Before you conclude anything from a 24 V trace, work out the frequency of what you are looking at. One hundred megahertz and up is the probe, without exception, and the ground-lead test confirms it in ten seconds. Around a megahertz is the cable and it is real, but check it against the card’s filter times before treating it as a fault. Milliseconds is contact bounce or supply sag, and that is the region where the controller actually lives.

Where the trace is being used to chase something that only happens occasionally, catching a PLC intermittent fault with a trend in the controller is usually a better instrument than a scope, because it is already connected. The bounce that this article ends on is the subject of counting cartons at the end of the line from the logic side, and wiring an encoder to a high speed counter input is the one case where the filter is too fast to save you. The input thresholds and filter times used above are set out in opto-isolation on a PLC input card, and the rail sag that shows up on the same trace is what derating at 50 °C costs you seen from the oscilloscope.