Author Topic: Near-Field Antenna for sniffing differential bus  (Read 1139 times)

0 Members and 1 Guest are viewing this topic.

Offline RerouterTopic starter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Near-Field Antenna for sniffing differential bus
« on: April 29, 2023, 12:34:59 pm »
Hello,

I'm working on a way to clip over some RS485 wires and read off a copy of whats being sent over the bus, by lying spaced wires over antennas, (Its for diagnostics)

The better performing options I've found for other applications (CANBUS), use a meander antenna, but I cant find very much information on it for this kind of application (wire sitting directly on top of the antenna) and could use some pointers on what I should focus on to optimise how much signal I can extract

The example antenna I found was for edge rates around 30-40V/us, gets fed into a differential amplifier that then gets fed to some schmidt triggers, I also expect I need to manage some kind of filtering to get a rough bandpass between 9.6KHz and under 10Mhz,

Dimensions of the existing example I can find is 0.2mm trace, 0.5mm pitch, 5mm wide, 22mm long per wire, with a 1mm exclusion of the ground plane,

Thank you for any input or suggestions,
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6203
  • Country: ro
Re: Near-Field Antenna for sniffing differential bus
« Reply #1 on: April 29, 2023, 03:52:41 pm »
Don't know about near field antennas, or which one would work best.

I would try magnetic coupling, because RS485 is a current loop.  For example, a miniature clamp-meter that encircles one wire (to make a current transformer, e.g. from coiling a few turns on a ferrite gland, the ones to reduce EMI, so that the gland encloses one wire).

I didn't try, but I guess magnetic heads (from former cassette tape recorders, or floppy disks, etc.) put in the proximity of the wire (without heaving to enclose the wire) should work, too, would make a magnetic probe to sense the current in a RS485 wire.

Non contact magnetic probes, the ones sold for oscilloscopes (easy to DIY), might work too.
« Last Edit: April 29, 2023, 03:55:54 pm by RoGeorge »
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26907
  • Country: nl
    • NCT Developments
Re: Near-Field Antenna for sniffing differential bus
« Reply #2 on: April 30, 2023, 05:39:32 pm »
No. RS485 is not current loop. That is another RS4xx electrical specification. RS485 is differential voltage signalling.
Sniffing a differential signal is likely strongly influenced by how (and if) the wires are twisted.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 
The following users thanked this post: Rerouter

Offline RerouterTopic starter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Near-Field Antenna for sniffing differential bus
« Reply #3 on: April 30, 2023, 08:44:52 pm »
Yeah, differential voltage bus, not much current,
The wires would be untwisted over a small distance and each wire laid upon an antenna
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6203
  • Country: ro
Re: Near-Field Antenna for sniffing differential bus
« Reply #4 on: April 30, 2023, 09:45:02 pm »
RS485 always needs a terminator.  Without the terminator it doesn't work reliable.  The Tx sees about 120ohms, which implies plenty of current.

The transmission line (the wires) together with the terminator makes a current loop for the Tx driver.  That is why RS485 is so immune to interference in industrial environment, over huge distance and speed (when compared with voltage transmission e.g. RS232).  Being differential helps, too (in comparison with RS232), but that helps mostly against common mode noise, not for speed.  Other examples are the LAN and SCSI interfaces, also RS485 type.

Rx sensing is made in voltage, indeed, but it can work so well in noisy environments only because there is a current loop through the Tx driver + the transmission line + the terminator.

Offline nali

  • Frequent Contributor
  • **
  • Posts: 657
  • Country: gb
Re: Near-Field Antenna for sniffing differential bus
« Reply #5 on: May 01, 2023, 07:56:07 am »
There are commercial products available that do just this for CANbus so I don't see why not for RS485.

E.g. https://www.canm8.com/cannect-contactless-reader/canm8-cannect-contactless-reader.html

 

Offline tszaboo

  • Super Contributor
  • ***
  • Posts: 7391
  • Country: nl
  • Current job: ATEX product design
Re: Near-Field Antenna for sniffing differential bus
« Reply #6 on: May 01, 2023, 08:36:30 am »
Just get a pair of sharp probes and pierce the isolation of the wire. RS485 can handle a lot of nodes, some drivers will do KMs of cable with hundreds of nodes on it. Connect the probe to a 485 to USB receiver and done. If you use sharp probes the isolation closes back and you can never tell that you were connected.
But it always comes down to the missing termination resistors, or cable not connected. If the software is written well.
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21688
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Near-Field Antenna for sniffing differential bus
« Reply #7 on: May 01, 2023, 09:04:14 am »
I mean, current depends on where you're measuring it.  And also if you need directionality, which could be helpful to measure.

In the middle of a double-terminated bus, there will be significant current flow: signal voltage over characteristic impedance.

Right up at a receiver, not much.

But at an active transmitter, that (or ~double the current, because both terminations act in parallel, if applicable).

The meander doesn't do anything for E-field sensing; just slap down some wide-enough traces be done.  More helpful will be integrating JFET followers -- minimize stray capacitance to the sensors, maximize signal gain.  Maybe combine with a diff amp to drive 50 ohm BNC for direct scope usage?

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline Wallace Gasiewicz

  • Super Contributor
  • ***
  • Posts: 1185
  • Country: us
Re: Near-Field Antenna for sniffing differential bus
« Reply #8 on: May 01, 2023, 01:21:46 pm »
If you wish to pick up the signal without cutting into the wires or connectors, perhaps this would work?


Clamp-on RF Current Meter (ifwtech.co.uk)


Use the concept of the clamp on sensor and see if you get enough signal to analyze. All you do in wrap a wire around a clamp on ferrite and use that wire as a signal source. I do not think you need the other circuitry.


Member A. Z. mentioned this in another post.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf