|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Digital Line Level DACs, Digital Crossovers, Equalizers, 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 |
|
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
Join Date: Apr 2008
Location: United States
|
ok, after weeks of reading through the forums here and weeks of hacking through spice, schematic capture and breadboards, i think i've come up with a pretty good start towards a complete solution DAC. i've attached the schematic.
details: input: the input section of the DAC uses a PLL-mode DIR9001 with the garden variety TORX147 TOSLINK receiver. i went with TOSLINK because my PC has no coaxial output. the DIR outputs 24-bit data, and all digital elements in the chain following the DIR use the same resolution. asrc: the asrc is a SRC4193 (SPI-controlled) that is clocked by a (relatively) low-jitter XO at 24.576MHz. from the front panel, resampling may be set to three modes: OFF (bypass), 48kHz (CLKI/512), and 96kHz (CLKI/256). the ASRC automatically mutes the audio stream when it exists in the non-ready state. digital interpolation filter: more boilerplate, really. the DF1704 is used to split the stereo data into left- and right-channel data streams for the downstream DACs, using a slow-rolloff filter. digital-to-analog converters: and more boilerplate, at least as far as the schematic goes. two PCM1704U-Ks operating in 24-bit, non-inverting mode => single-ended outputs. iv converters: the i/v converters are discrete mosfet converters, essentially modified NP D1 stages. spice shows 0.0055% THD at 1.5mApp@1kHz input, 4Vpp output. the frequency response of the circuit is close to 2Hz-50kHz, -0.1dB. loading the output transistor with a constant-current sink helps both THD and frequency response. motherboard: two momentary pushbutton switches, one for power and one for resampling mode selection. one power led, one led to indicate if resampling is enabled, two leds to indicate resample rate (if enabled), and one led to indicate PLL lock/unlock. (the DIR sends its ERROR signal to the micro for this purpose.) the micro also controls relays which switch the power to the digital electronics. during the "off" state, the i/v converters are still powered to keep them warm and stable. power supplies: the raw power supplies are essentially garden variety, with the addition of mains filters and common-mode chokes to limit HF noise. amveco dual toroids are used throughout. rectifier diodes are bypassed. the +/-5Vdc and +3.3Vdc supplies are switched by omron G2RL power relays. i/v converter regulator: this is a dual-rail salas v1 shunt regulator, where the JFET has been changed to a current-regulating diode (4.7mA). under load, the positive rail sources a constant current of 175mA with 50mA into the shunt. the negative rail sources a constant current of 85mA with 55mA into the shunt. low(er)-voltage regulators: the logic voltage regulators are salas shunts just like the i/v converter regulator, but they all output 12V. they're followed immediately by TL431 shunt regulators, which regulate that voltage down to the proper value, which will be adjustable by trimpots. all mosfet shunts are sinking at least 20mA under load. (as per simulations) i realize 16 pages is alot to swallow, but given the fact that i've been buried in the work for weeks, i'm sure i've made mistakes or passed up better options... this is my first attempt at a dac circuit, so i'd really like to know what you think, so, questions, comments, sniiiide remarks? ![]() thanks! ~ brad. |
|
|
|
#2 |
|
diyAudio Member
Join Date: Apr 2008
Location: United States
|
well, i do have one specific question, so far: given the fact that the filter and DACs are at 8X oversampling is there a cutoff high-frequency i need to fix into the I/V converters, or is there no significant HF noise when oversampling?
thanks, ~ brad. |
|
|
|
#3 |
|
diyAudio Member
Join Date: Oct 2004
|
If you wish to bypass the sample rate convert, the input sample frequency must match the output. This means you need two clocks: one for the 44.1 family and one for the 48K family. With the clock you specified, you will not be able to bypass the asrc for 44.1K material.
__________________
www.hifiduino.wordpress.com |
|
|
|
#4 |
|
diyAudio Member
Join Date: Sep 2007
Location: Hangzhou - Marco Polo's 'most beautiful city'. 700yrs is a long time though...
Blog Entries: 46
|
What input sample rates are you proposing to accept? The 1704 will go up to only 96k with the DF1704.
Why select the slow roll off in the DF1704? Its performance looks 2-3bits poorer in stop band rejection than the normal setting. Oh, and while I'm asking questions... given that you're concerned about RF ingression from the mains, why toroidals? Last edited by abraxalito; 24th February 2010 at 08:12 AM. Reason: added a further question |
|
|
|
#5 | ||||
|
diyAudio Member
Join Date: Apr 2008
Location: United States
|
Quote:
Quote:
Quote:
Quote:
thanks for the feedback! ![]() ~ brad. |
||||
|
|
|
#6 | |||
|
diyAudio Member
Join Date: Sep 2007
Location: Hangzhou - Marco Polo's 'most beautiful city'. 700yrs is a long time though...
Blog Entries: 46
|
Quote:
Quote:
![]() Quote:
|
|||
|
|
|
#7 | |||
|
diyAudio Member
Join Date: Apr 2008
Location: United States
|
Quote:
![]() Quote:
![]() Quote:
~ brad. |
|||
|
|
|
#8 | |
|
diyAudio Member
Join Date: Apr 2008
Location: United States
|
Quote:
hence my stupid comment about reading the AD1896 datasheet, which i did, only to (a) gain a better understanding of ASRC operation and (b) realize the chip in question was the DF. ![]() ok, yeah, i can see that the fast rolloff of the DF would be better in terms of stopband rejection... ~ brad. |
|
|
|
|
#9 | |
|
diyAudio Member
Join Date: Sep 2007
Location: Hangzhou - Marco Polo's 'most beautiful city'. 700yrs is a long time though...
Blog Entries: 46
|
Quote:
Yeah, the DF is doing the splitting of the multiplexed audio bus into separate L/R channels, something I'd missed on the first pass. But also it upsamples by a factor of 8. Its this second aspect I was thinking you may well be better off without. Running with an input frequency of 96kHz, your DACs will be blazing away at 768kHz which is definitely going to degrade things.But of course if we threw out the DF, we'd need to find another way to get the data in the right format to feed to the PCM1704s, so I guess I'd have to think about how to do that the best way... Hmmm. The 200kHz figure I introduced is the max output frequency of the SRC (actually 212kHz), which means for 96kHz you'd only be getting an oversampling factor of 2.2. However oversampling was introduced as a means to simplify the output filter - the audio bandwidth remains the same, so in my view, if 4X oversampling was good enough for 44k1, then 2X is good enough for 96kHz. Have a look at Dan Lavry's website if you'd like to find out more. |
|
|
|
|
#10 | |
|
diyAudio Moderator
Join Date: May 2008
Location: Toronto
|
Quote:
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FS: AYA DAC Rev 2.0b TDA1541A Non-Oversampling DAC kit or complete | krishu | Swap Meet | 0 | 17th December 2009 09:33 AM |
| RFC: fully floating buffer with OV protection and gain control | xiphmont | Solid State | 11 | 29th March 2008 05:14 PM |
| PC DAC solution | merlinx76 | Digital Source | 0 | 12th February 2008 12:11 AM |
| PCM2704 DAC Complete | ble0t | Digital Source | 0 | 9th February 2006 12:02 AM |
| Complete CS4328 DAC | peranders | Swap Meet | 0 | 18th October 2002 06:21 PM |
| New To Site? | Need Help? |
| Page generated in 0.15731 seconds (83.68% PHP - 16.32% MySQL) with 11 queries |