ProSoundWeb Community

Please login or register.

Login with username, password and session length
Advanced search  

Pages: [1]   Go Down

Author Topic: Modeling digital crosstalk  (Read 2575 times)

Jay Barracato

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2025
  • Solomons, MD
Modeling digital crosstalk
« on: April 16, 2019, 04:56:28 PM »

So I set out to demo digital crosstalk for my DE students. Basically, I applied a signal to two different circuits with a load resistor.

I modeled the capacitance of parallel signal wires with a small capacitor.

The first photo shows the breadboard, the second is the square wave signal with the crosstalk. The third photo is the result of slowing the input down by switching to the triangular wave.

For the record, the spikes in the square waveform are large enough to cause digital errors in the data.


Sent from my Moto Z (2) using Tapatalk

Logged
Jay Barracato

Jay Barracato

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2025
  • Solomons, MD
Re: Modeling digital crosstalk
« Reply #1 on: April 16, 2019, 04:59:04 PM »

So I set out to demo digital crosstalk for my DE students. Basically, I applied a signal to two different circuits with a load resistor.

I modeled the capacitance of parallel signal wires with a small capacitor.

The first photo shows the breadboard, the second is the square wave signal with the crosstalk. The third photo is the result of slowing the input down by switching to the triangular wave.

For the record, the spikes in the square waveform are large enough to cause digital errors in the data.


Sent from my Moto Z (2) using Tapatalk
Then a replaced the capacitor with a pair of long (20ft, 6m) wires that are not connected but are just coiled together.

I suspect the next thing to try would be a twisted pair.

Sent from my Moto Z (2) using Tapatalk

Logged
Jay Barracato

John Roberts {JR}

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 17183
  • Hickory, Mississippi, USA
    • Resotune
Re: Modeling digital crosstalk
« Reply #2 on: April 16, 2019, 06:26:51 PM »

I don't want to rain on your parade but many circuit designers have been burned by those proto-boards.

If you take one apart you notice that the adjacent terminals look like capacitor plates. Maybe only a few pF but I learned that the hard way with digital prototypes where a few pF pin to pin was enough to cause issues.

Maybe there's a class lesson in dissecting your proto board.   8)

JR
Logged
Cancel the "cancel culture". Do not participate in mob hatred.

Jay Barracato

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2025
  • Solomons, MD
Re: Modeling digital crosstalk
« Reply #3 on: April 17, 2019, 06:52:47 AM »

No rain for me, that is the real life stuff I like to include.

Notice the separation between the two independent circuits. The only place close to adjacent pins are used is on the cap jumping the pin gap.

In practice, I rarely use adjacent pins except with chips, and I believe ( but don't quote me) that most of my stock is on the order of fF for capacitance between pins.

Of course, for teaching purposes, we are using TTL at 5 V which gives us a wider range of error tolerance, but I can't say I have seen any glitching on the stuff we have built in class.

Sent from my Moto Z (2) using Tapatalk

Logged
Jay Barracato

John Roberts {JR}

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 17183
  • Hickory, Mississippi, USA
    • Resotune
Re: Modeling digital crosstalk
« Reply #4 on: April 17, 2019, 09:51:01 AM »

No rain for me, that is the real life stuff I like to include.

Notice the separation between the two independent circuits. The only place close to adjacent pins are used is on the cap jumping the pin gap.

In practice, I rarely use adjacent pins except with chips, and I believe ( but don't quote me) that most of my stock is on the order of fF for capacitance between pins.

Of course, for teaching purposes, we are using TTL at 5 V which gives us a wider range of error tolerance, but I can't say I have seen any glitching on the stuff we have built in class.

Sent from my Moto Z (2) using Tapatalk
It has been decades since this happened so I don't recall the exact circuit but very likely 5V logic and subtle timing errors caused by the unexpected inter lead C messing up a memory read/write.

Plugging in DIPs makes the pin to pin C unavoidable. I'm an old analog guy, so getting all the digital timing handshakes right was always a PIA... I very much prefer the modern embedded processors where most of that is handled internally so easier for an old analog guy to deal with.   

JR

PS: I haven't seen one of those proto boards for decades, let alone used one, not worth the unexpected gotcha's.
Logged
Cancel the "cancel culture". Do not participate in mob hatred.

Jay Barracato

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2025
  • Solomons, MD
Re: Modeling digital crosstalk
« Reply #5 on: April 17, 2019, 12:15:17 PM »

It has been decades since this happened so I don't recall the exact circuit but very likely 5V logic and subtle timing errors caused by the unexpected inter lead C messing up a memory read/write.

Plugging in DIPs makes the pin to pin C unavoidable. I'm an old analog guy, so getting all the digital timing handshakes right was always a PIA... I very much prefer the modern embedded processors where most of that is handled internally so easier for an old analog guy to deal with.   

JR

PS: I haven't seen one of those proto boards for decades, let alone used one, not worth the unexpected gotcha's.
When it doubt... Measure.

This shows the capacitance between two parallel rows.

Separating by a couple of pin rows reduces the crosstalk spikes to less than 0.25V for 2.5 V amplitude signals.

Sent from my Moto Z (2) using Tapatalk
« Last Edit: April 17, 2019, 12:31:05 PM by Jay Barracato »
Logged
Jay Barracato

ProSoundWeb Community

Re: Modeling digital crosstalk
« Reply #5 on: April 17, 2019, 12:15:17 PM »


Pages: [1]   Go Up
 



Site Hosted By Ashdown Technologies, Inc.

Page created in 0.031 seconds with 24 queries.