Go Back   Home > Forums > Source & Line > Digital Source
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 3rd April 2005, 09:50 PM   #1
gmarsh is offline gmarsh  Canada
diyAudio Member
 
gmarsh's Avatar
 
Join Date: Apr 2004
Location: Halifax, NS, Canada
Default New SPDIF input circuit.

I'm designing the attached circuit into something i'm building. I don't like using 74HCU04 gates for signal recovery - in a few cases, I've had them oscillate when no input is connected.

This circuit has hysteresis which should prevent any of that from happening. At MHz frequencies, the input impedance should be 82.5 || 1820 || 1820 || 7500 = 74.887 ohms, which is easily within the impedance tolerance of the connecting cable and since i'm building the thing with 1% resistors anyway, I think i'm OK there.

I've only guessed at the 10K hysteresis resistor. Since the input is biased to ~0.65 volts and the output swings from 0V to around 2.8V, the hysteresis isn't symmetric - the 7500/1820 pair on the reference will probably change slightly to balance this out. I'm thinking +-25mV would be a good hysteresis window.

The AD8611 is probably overkill, but I can't find any other fast high speed comparators that are happy at 3.3V.

Thoughts?
Attached Images
File Type: png new_spdif.png (17.2 KB, 2277 views)
  Reply With Quote
Old 4th April 2005, 08:49 PM   #2
Banned
 
Join Date: Feb 2002
Location: As far from the NOSsers as possible
Hysteresis is a dirty word when it comes to SPDIF.

Jocko
  Reply With Quote
Old 5th April 2005, 12:05 AM   #3
gmarsh is offline gmarsh  Canada
diyAudio Member
 
gmarsh's Avatar
 
Join Date: Apr 2004
Location: Halifax, NS, Canada
Quote:
Originally posted by Jocko Homo
Hysteresis is a dirty word when it comes to SPDIF.

Jocko
And oscillation is a bad word when it comes to unconnected inputs, and hysteresis gives a good guarantee of stability.

I could drop the hysteresis and use an offset reference on the comparator - better or worse idea?
  Reply With Quote
Old 5th April 2005, 01:43 AM   #4
Banned
 
Join Date: Feb 2002
Location: As far from the NOSsers as possible
Yes, oscillation is bad, but........................

Hysteresis works by regenerative action: energy is coupled back to the input. Becomes the equivalent of an impedance glitch.

Think linear. Phred likes video op-amps. Enough hints for someone as smart as you.

Send me an e-mail when I get back to the office, about 1 week.

Jocko
  Reply With Quote
Old 5th April 2005, 03:19 AM   #5
gmarsh is offline gmarsh  Canada
diyAudio Member
 
gmarsh's Avatar
 
Join Date: Apr 2004
Location: Halifax, NS, Canada
I'm confused.

Thing is, i'm not directly applying any sort of current back to the input - i'm shifting the reference voltage to which the input is compared. The input sees the - terminal, nothing else.

Of course, having the + terminal move by 10mV or so might cause a slight preturbance on the - terminal, perhaps by slightly changing the - bias current, or due to stray capacitance between + and - terminals... I can't find any literature or anything on things like that.

hmm...

<goes hunting for video amps>
  Reply With Quote
Old 5th April 2005, 02:13 PM   #6
diyAudio Member
 
Join Date: Dec 2001
Location: Eindhoven
Quote:
Originally posted by gmarsh
I'm confused.

Thing is, i'm not directly applying any sort of current back to the input - i'm shifting the reference voltage to which the input is compared. The input sees the - terminal, nothing else.

Of course, having the + terminal move by 10mV or so might cause a slight preturbance on the - terminal, perhaps by slightly changing the - bias current, or due to stray capacitance between + and - terminals... I can't find any literature or anything on things like that.

hmm...

<goes hunting for video amps>
doesn't matter, only the timing is affected. As long as you accept the associated jitter induced.........
__________________
Guido Tent
www.Tentlabs.com
  Reply With Quote
Old 5th April 2005, 06:48 PM   #7
Banned
 
Join Date: Dec 2001
Location: Zamboanga, City of Flowers, Mindanao
Send a message via Yahoo to Elso Kwak
Default Re: New SPDIF input circuit.

Quote:
Originally posted by gmarsh
I'm designing the attached circuit into something i'm building. I don't like using 74HCU04 gates for signal recovery - in a few cases, I've had them oscillate when no input is connected.

This circuit has hysteresis which should prevent any of that from happening. At MHz frequencies, the input impedance should be 82.5 || 1820 || 1820 || 7500 = 74.887 ohms, which is easily within the impedance tolerance of the connecting cable and since i'm building the thing with 1% resistors anyway, I think i'm OK there.

I've only guessed at the 10K hysteresis resistor. Since the input is biased to ~0.65 volts and the output swings from 0V to around 2.8V, the hysteresis isn't symmetric - the 7500/1820 pair on the reference will probably change slightly to balance this out. I'm thinking +-25mV would be a good hysteresis window.

The AD8611 is probably overkill, but I can't find any other fast high speed comparators that are happy at 3.3V.

Thoughts?
Hi,
Why 3.3V?
I am using the same 5V as the CS8412. AD8611 is a bad chip I feel. What you need is a balanced direct drive to the DIR. Ask Jocko why.
http://www.diyaudio.com/forums/showt...9208#post29208
See also further on in this thread for a improved circuit.

  Reply With Quote
Old 6th April 2005, 06:20 PM   #8
bitrate is offline bitrate  Poland
diyAudio Member
 
bitrate's Avatar
 
Join Date: Oct 2004
Hi !
I wonder about PECL comparators such how : ADCMP561 as an input receiver .At their outputs is avilable fully balanced digital signal ,and PECL logc is well known from possession of small crosstalks ,EMI disturbance ,it also has very good timing characteristics .The logic level converter from PECL to CMOS LVCMOS may be necessary .What do you think about this?
  Reply With Quote
Old 6th April 2005, 09:01 PM   #9
gmarsh is offline gmarsh  Canada
diyAudio Member
 
gmarsh's Avatar
 
Join Date: Apr 2004
Location: Halifax, NS, Canada
Default Re: Re: New SPDIF input circuit.

Quote:
Originally posted by Elso Kwak
Hi,
Why 3.3V?
I am using the same 5V as the CS8412. AD8611 is a bad chip I feel. What you need is a balanced direct drive to the DIR. Ask Jocko why.
http://www.diyaudio.com/forums/showt...9208#post29208
See also further on in this thread for a improved circuit.

Why do you feel the AD8611 is a bad chip?

I'm using 3.3V because everything digital in this project (CS8416, SRC4192, XC9572XL, ATMega8L, etc) runs off 3.3 volts. Using a 5V comparator (LT1016/TL3016/etc) would involve doing a 5V->3.3V logic conversion and adding an extra regulator and capacitance for a digital 5V rail. Adding -5V would be annoying.

The "improved circuit" still has one flaw in my mind - with the input disconnected, both + and - on the comparator are zero. IMO, the circuit should be in a known and/or fixed state with no input... either by hysteresis or by a voltage offset. I can't rely on the offset voltage of the comparator to keep things stable...

I also have a Toslink input on this project, so doing a balanced drive isn't really suitable. I suppose I could do a 2:1 MUX using CMOS and then use an XOR gate for balanced drive into the '8416...

Quote:
Originally posted by bitrate
Hi !
I wonder about PECL comparators such how : ADCMP561 as an input receiver .At their outputs is avilable fully balanced digital signal ,and PECL logc is well known from possession of small crosstalks ,EMI disturbance ,it also has very good timing characteristics .The logic level converter from PECL to CMOS LVCMOS may be necessary .What do you think about this?
The ADCMP561 seems like overkill for the application... a 1ns comparator is nice for something like a superfast logic analyzer with a several-hundred-MHz bandwidth, rather than a SPDIF decoder.

And yes, you would need a PECL->TTL converter like a MC100ELT21 - which also happens to work well on its own as a comparator, with a limited voltage input range.
  Reply With Quote
Old 7th April 2005, 05:36 AM   #10
Banned
 
Join Date: Dec 2001
Location: Zamboanga, City of Flowers, Mindanao
Send a message via Yahoo to Elso Kwak
Cool Re: Re: Re: New SPDIF input circuit.

Quote:
Originally posted by gmarsh

Why do you feel the AD8611 is a bad chip?

I'm using 3.3V because everything digital in this project (CS8416, SRC4192, XC9572XL, ATMega8L, etc) runs off 3.3 volts. Using a 5V comparator (LT1016/TL3016/etc) would involve doing a 5V->3.3V logic conversion and adding an extra regulator and capacitance for a digital 5V rail. Adding -5V would be annoying.

The "improved circuit" still has one flaw in my mind - with the input disconnected, both + and - on the comparator are zero. IMO, the circuit should be in a known and/or fixed state with no input... either by hysteresis or by a voltage offset. I can't rely on the offset voltage of the comparator to keep things stable...

I also have a Toslink input on this project, so doing a balanced drive isn't really suitable. I suppose I could do a 2:1 MUX using CMOS and then use an XOR gate for balanced drive into the '8416...


The ADCMP561 seems like overkill for the application... a 1ns comparator is nice for something like a superfast logic analyzer with a several-hundred-MHz bandwidth, rather than a SPDIF decoder.

And yes, you would need a PECL->TTL converter like a MC100ELT21 - which also happens to work well on its own as a comparator, with a limited voltage input range.

Hi, The AD8611 does not sound good in my clock, jitter?
The AD8561 can operate on a 3.3V single supply. The 5V->3.3V logic conversion is hardly necessary as the AD8561 outputs typically 3.5V as a logic high and most 3.3V logic is 5V tolerant on the inputs.
I never had a stability problem with the comparator at the input. I am sure Maxim has some nice comparator capable of operating on 3.3V.
The balanced drive was just a hint.....
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
spdif input circuit help burbeck Digital Source 31 15th September 2005 03:28 PM
Issue with SPDIF Input Circuit by Elso and Jocko 300_baud Digital Source 18 8th April 2005 06:56 AM
Dual opto/spdif input circuit ( for DIR170x ) 246tNt Digital Source 0 19th April 2004 10:18 PM
I2S to SPDIF Circuit help longaniza Digital Source 6 15th April 2003 06:16 AM


New To Site? Need Help?

All times are GMT. The time now is 12:54 AM.

Page generated in 0.12878 seconds (84.30% PHP - 15.70% MySQL) with 11 queries

Copyright ©1999-2012 diyAudio