DIYHiFi.org

For the sake of audio
It is currently Sat May 25, 2013 9:56 am

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 85 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: SPDIF Cable Length
PostPosted: Wed Nov 18, 2009 2:55 am 
Offline

Joined: Thu Apr 06, 2006 9:21 am
Posts: 254
Location: Ireland
I have seen here that longer SPDIF cable length (2 meters or longer) is recommended (on properly terminated 75ohm cable) in order to minimise signal reflection problems. I believe the reason was along the lines of avoiding reflected signal showing up during the logic transistion of the SPDIF waveform.
I have also seen this statement
Quote:
When you have reflections, the signal is moving up and down all the time, not by a constant amount. The reflections DO IMPACT THE SIGNAL LEVEL DURING THE TRANSITION DETECTION AND AT ALL OTHER TIMES. The statement that the reflection HAPPENS LATER, after the transition, is WRONG! When you send a signal down a cable, and there are reflections, you do not end up with a 2 level signal, you end up with a signal that is the sum of the original 2 level with the reflections ADDED to it.


Can all you RF engineers let me know how reflections actually operate on a SPDIF cable which has an impedance mismatch at the receiving end? Does the signal get through to the comparator & is interpreted as either 0 or 1 and a reflection of fraction of the signal begins it's journey back down the cable towards the transmitter? Does this get then get partially reflected back from the transmitter end towards the receiving end? In real world cables, how many round trips before this reflection dies to insignificance & why aren't these interpreted by the receiver as valid signals?

If this reflection is bouncing back & forth can it not interfere with the timing of subsequent transition detection causing jitter? If, on the other hand it makes enough round trips that it dies out before the next signal is transmitted - it cannot cause jitter? This would seem to favour shorter cables as more trips happen faster.

Which of the two positions above is correct depends on the details of how transmitter, receiver & reflected signals behave in digital cables & I don't know squat about it - can anybody enlighten me?

_________________
There is a crack in everything, that's how the light gets in!


Top
 Profile  
 
 Post subject: Re: SPDIF Cable Length
PostPosted: Wed Nov 18, 2009 11:43 am 
Offline

Joined: Wed Jun 29, 2005 6:34 pm
Posts: 969
Location: East Coast USA
There's the long answer, which you probably don't want, and there's the shorter more practical answer.

Here's a link to the latter that I can post:

http://www.analogresearch-technology.net/ubyte.html


Top
 Profile  
 
 Post subject: Re: SPDIF Cable Length
PostPosted: Wed Nov 18, 2009 12:23 pm 
Offline

Joined: Thu Apr 06, 2006 9:21 am
Posts: 254
Location: Ireland
No, it is the long answer that I'm after :)

I read that link before & just when it got interesting here's what it said
Quote:
The cable is around 16' long, and is only available with BNC connectors.

Why so long, you ask.

Well, let us say that a detailed explanation would give too much help to the competition. There is a reason, and that reason is to minimise the effects that reflections.


So it is the detailed explanation that I would love if you have the time! Or if you have a link, I would be delighted but I've searched & can't find one that details this!

_________________
There is a crack in everything, that's how the light gets in!


Top
 Profile  
 
 Post subject: Re: SPDIF Cable Length
PostPosted: Wed Nov 18, 2009 3:57 pm 
Offline

Joined: Sat Mar 04, 2006 5:26 pm
Posts: 513
Location: Nova Scotia
There's two reasons you'll want to lengthen a cable... (1) cable attenuation and (2) time delay.

Reason #1 makes sense at first; the main signal gets attenuated by the cable reflection, the 1st reflection gets attenuated 3x the cable reflection, the 2nd reflection by 5x, etc...

But run the numbers and it's pretty much pointless. RG59 is 0.5dB/100ft at SPDIF frequencies, so a 20 foot SPDIF cable only gives you 0.1dB of attenuation with each pass. And lets say for this example that you've got "reasonable" source and end impedances with a 25dB return loss on each end:

- At first pass through your cable, and neglecting reflection loss, your end receives your source power minus -0.1dB.
- The first reflection bounces off your end (-25dB), passes through your cable (-0.1dB), bounces off the source (-25dB) and passes through the cable again (-0.1dB). Your first reflection is -50.2dB relative to end power.
- Second reflection is -100.4dB relative to end power by the same method.

You'll see quickly that the magnitude of the reflections is dominated by return loss, not by cable attenuation. So if you borrow a piece of test equipment (TDR, RF impedance analyzer, whatever) and tweak up your source and end impedance so that your return loss is -30dB on each end, you've just made a 10dB improvement on your first reflection - equivalent to 1000 feet of cable! So, there isn't much point really.

...

On to reason #2, delaying reflections. This is actually common stuff on high speed serdes designs (PCIe, SATA, etc) where frequencies are high and parasitics keep you from making really good impedance matches, so you deal with the reflections by delaying them.

Think about the SPDIF eye pattern going into your receiver. During the transition phase, you don't want anything to interfere with the SPDIF signal since added crap here will introduce jitter. But between transitions, added garbage isn't a problem as long as the magnitude isn't high enough to trip the comparator.

With a short cable, reflections will happen almost instantly and will affect the transition window. But lengthen the cable and you'll introducing extra delay on the reflections, and they'll hit the receiver after the transition. The longer the cable, the more you'll delay the reflection - Just don't make it too long, or your reflection will hit the next transition period.


Top
 Profile  
 
 Post subject: Re: SPDIF Cable Length
PostPosted: Wed Nov 18, 2009 4:25 pm 
Offline
User avatar

Joined: Mon Dec 13, 2004 3:29 pm
Posts: 3917
Location: The Labour Exchange....be seeing you!
To start with, unless you know the reflection coefficient of each end, you won't know how much energy is reflected. So, let's assume in a crappy set-up (and most are), that you will have between 10-20% of the energy reflected. So, you do the math: how many round trips will a reflection need to make until it is insignificant?

If you build something that has a reflection coefficient of -40 dB, only 1% is reflected. After 1 round trip, it is down to 0.01%.

If you can't make stuff with a decent reflection coefficient, you make a delay line that keeps them from arriving at the decision point.

Jocko

_________________
"Because, I hate you guys. I hate you guys so very, very much.

Yours,
General Cartman Lee"


Top
 Profile  
 
 Post subject: Re: SPDIF Cable Length
PostPosted: Wed Nov 18, 2009 4:48 pm 
Offline

Joined: Wed Jun 29, 2005 6:34 pm
Posts: 969
Location: East Coast USA
This is hardly a textbook explanation - you'd need to already have the math and the E/M fields course work - but it's pretty good.

http://ece.wpi.edu/analog/resources/tra ... online.pdf

The important thing really is what is described on that linked page that describes the UByte cable. You could spend time doing a detailed analysis of exactly what the forward and reflected waveforms are like, but you'd need to know the scattering parameters of the cable and terminations as well as the characteristics of the launched waveform. Then it just tells you how bad your results are. Better to solve the problem, I'd think.


Top
 Profile  
 
 Post subject: Re: SPDIF Cable Length
PostPosted: Wed Nov 18, 2009 5:01 pm 
Offline
Moderator
User avatar

Joined: Mon Dec 13, 2004 3:08 pm
Posts: 1945
CG wrote:
There's the long answer, which you probably don't want, and there's the shorter more practical answer.

Here's a link to the latter that I can post:

http://www.analogresearch-technology.net/ubyte.html

200$ such a deal? Whoaaaaaaaaaaaah
:yahoo:


Top
 Profile  
 
 Post subject: Re: SPDIF Cable Length
PostPosted: Wed Nov 18, 2009 5:13 pm 
Offline
User avatar

Joined: Mon Dec 13, 2004 3:29 pm
Posts: 3917
Location: The Labour Exchange....be seeing you!
"I can get if for you wholesale. For you, I will do you this..................."

Mantra of the people that CG works with!

Feh.

Jocko

_________________
"Because, I hate you guys. I hate you guys so very, very much.

Yours,
General Cartman Lee"


Top
 Profile  
 
 Post subject: Re: SPDIF Cable Length
PostPosted: Wed Nov 18, 2009 7:01 pm 
Offline

Joined: Thu Apr 06, 2006 9:21 am
Posts: 254
Location: Ireland
Thanks guys, some good info. The quote in my first post comes from Dan Lavry whom I thought had some experience? :). He started into this when I posted this:
Quote:
It is reported by Radio frequency Engineers that SPDIF cables needs to be 2 meters or longer on a properly terminated 75 ohm line, shorter than this leads to all sorts of cable reflection problems.
And he laid into this with:
Quote:
That is not so, and no self respecting radio frequency engineer or any other electrical engineer will come up with such false claim. In fact, the shorter the cable, the better you are. I am not suggesting to use 3 inches cables, but a 3 foot is better then 10 foot, and at over 30 feet you are certainly asking for trouble.


He seemed so bullish that I had to get to the bottom of this. I find what he says confusing (as I'm on unsure ground) & contradictory
Quote:
When there are reflections, the change in voltage happens when the current waves arrives at the end and the beginning of the line. There is no "good time" to look at the signal before the reflections alter the signal. The alteration happens instantly when the signal hits the cable ends.
So according to this the cable length is immaterial as the original signal is instantly overlaid by any reflection? But he is stating that short cables are the ones that show the least reflections :scratch: ??? He also claims that the signal can bounce back & forth:
Quote:
At 2 meters cable (9nsec), and you have around 20 back and forth reflections between transitions, for 44.1KHz SPDIF. That is not bad, but with 1 foot (1.5nsec cable) you have 118 back and forth reflections, so the decay before the next transition is MUCH BETTER then that of the 2 meter.
Pure bunkum, by the sound of it - how can he be so off base?

_________________
There is a crack in everything, that's how the light gets in!


Top
 Profile  
 
 Post subject: Re: SPDIF Cable Length
PostPosted: Wed Nov 18, 2009 7:57 pm 
Offline
User avatar

Joined: Mon Dec 13, 2004 3:29 pm
Posts: 3917
Location: The Labour Exchange....be seeing you!
Because he is an idiot. And wrong.

I have run 100', with no problems. I have also done pulse dispersion measurements at that length.

I guess that I am some kind of self-deluding douche bag, as opposed to "serious" EE. RF or otherwise.

Yes, if the length is just the right length where the reflection then falls at the point that you are trying to make sure that it doesn't hit, yeah, then you are stupid.

You notice that he says nothing about reflection coefficient. I assume that he has no knowledge of that concept. Without that, he is deluding himself.

Jocko

_________________
"Because, I hate you guys. I hate you guys so very, very much.

Yours,
General Cartman Lee"


Top
 Profile  
 
 Post subject: Re: SPDIF Cable Length
PostPosted: Wed Nov 18, 2009 9:14 pm 
Offline
User avatar

Joined: Mon Dec 13, 2004 3:29 pm
Posts: 3917
Location: The Labour Exchange....be seeing you!
I guess that I should have pointed out that I don't have a cable under 30' at my house. Three systems, in 3 different rooms, cables back and forth between them.

But according to some guy that I don't know, it can't work.

Jocko

_________________
"Because, I hate you guys. I hate you guys so very, very much.

Yours,
General Cartman Lee"


Top
 Profile  
 
 Post subject: Re: SPDIF Cable Length
PostPosted: Wed Nov 18, 2009 11:01 pm 
Offline

Joined: Wed Jun 29, 2005 6:34 pm
Posts: 969
Location: East Coast USA
"I guess that I am some kind of self-deluding douche bag, as opposed to 'serious' EE. RF or otherwise."

We've heard that about you. People talk...


Top
 Profile  
 
 Post subject: Re: SPDIF Cable Length
PostPosted: Thu Nov 19, 2009 8:54 am 
Offline

Joined: Sat Mar 22, 2008 3:30 pm
Posts: 1
very interesting :shock: , find out why the length of digital cable, be "better"
I have found this article:
http://www.positive-feedback.com/Issue14/spdif.htm


Top
 Profile  
 
 Post subject: Re: SPDIF Cable Length
PostPosted: Thu Nov 19, 2009 3:46 pm 
Offline
User avatar

Joined: Mon Dec 13, 2004 3:29 pm
Posts: 3917
Location: The Labour Exchange....be seeing you!
I believe that we already had that discussion with him.

Jocko

_________________
"Because, I hate you guys. I hate you guys so very, very much.

Yours,
General Cartman Lee"


Top
 Profile  
 
 Post subject: Re: SPDIF Cable Length
PostPosted: Fri Nov 20, 2009 3:52 pm 
Offline

Joined: Thu Apr 06, 2006 9:21 am
Posts: 254
Location: Ireland
gmarsh wrote:
There's two reasons you'll want to lengthen a cable... (1) cable attenuation and (2) time delay.

On to reason #2, delaying reflections. .................
With a short cable, reflections will happen almost instantly and will affect the transition window. But lengthen the cable and you'll introducing extra delay on the reflections, and they'll hit the receiver after the transition. The longer the cable, the more you'll delay the reflection - Just don't make it too long, or your reflection will hit the next transition period.


Are we saying the cable length has to be calculated based on the rise time of the signal so as to fall in the gap between signals? Hmmmm.... bit of a problem, methinks! So the recommendation for long cables is misleading & should be qualified by the above. Jocko, how are you using all sorts of different length cables - recclocking, maybe?

BTW, here's a short answer from Eric Bogatin, that contradicts the longer cable idea & suggests :
Quote:
When the time delay is 20% of the rise time, the reflections are almost imperceptible. As the length of the line, or its time delay, increases, the reflections begin to appear.

http://www.thefreelibrary.com/Riddle+me ... 0123202835
Hmmm.........

_________________
There is a crack in everything, that's how the light gets in!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 85 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next

All times are UTC


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group