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

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
Reply
 
Thread Tools
Old 14th September 2009, 10:12 PM   #1
njepitt is offline njepitt  
diyAudio Member
 
Join Date: Aug 2008
Location: Brasilia
Default A few questions on a PCM1793-based USB DAC

Hi there,

I recently bought some chips with the plan of building two or three DACs that I could tweak to my heart's content, hoping to build something (or things) that sound good, and learn something along the way if possible. I've now got this project underway, with a TDA1543 DAC which isn't working properly yet, and a PCM1793-based one, which is singing to me as I write this. This thread is about the second one.

I have cobbled this together from the circuit for the Opus USB module from Twisted Pear Audio, which feeds the DAC part of the circuit for the MiniPCM1793 DAC from HIFIDIY.net. I also used other circuits from this site for ideas on regulation and so forth. (Many thanks to those who made these circuits available).

The basic setup at present is this: A PCM2707 bus-powered USB receiver is configured to give a I2S feed to the PCM1793. This is itself powered from the USB bus, through a TLV1117-33regulator for the 3.3V (digital) part, and directly for the 5V (analogue) part. I've added three ferrite thingies that I salvaged from an old VHS player to help (I hope) with noise. I am just using the R+ and L+ outputs (and GRND) through two polyester caps to remove the DC offset (something a little over a volt). I've attached a photo below.

I have several questions (some of them basic indeed), and a request for suggestions.

1. At present I have pulled the RST pin on the DAC up. (For no better reason than the DAC made no noise when I didn't...) What is this pin actually for? Should I have this wired to some kind of push switch? And if so, why?

2. I imagine I can get improved performance by using an external power supply and regulating it carefully to give a smoother 5V for the analogue part.
If I am going to go that far, I should probably use it for the 3.3V as well,
but I am less convinced about using it to self-power the PCM2707. Any opinions on how much difference these three options are likely to make? And what order of priority they should have?

3. Obviously there is a physical advantage to powering everything from the USB bus. If I stick with this idea, does anyone have suggestions on how to regulate this better?

4. I also need to decide on an output stage. Right now things already sound pretty good, and would surely sound better using the other outputs too. I am in the process of building a Pumpkin balanced preamp, which presumably can take the balanced output directly from a pair of XLRs without any other circuit. Can I tie the L- and R- outputs to ground as you (apparently) can with the Pumpkin outputs? If yes, then I will probably box it up with a couple of XLR sockets and call it a day. If no, what suggestions? (I should add, I brought the chips back from a trip abroad - getting fancy transformers or Burr-Brown opamps is difficult and pricy here in Brazil, so not all suggestions are equally practical...)

5. Is the DC offset a result of using only one half of the balanced output? Or is there something wrong I should be tracking down?

Well, thanks in advance for any help.

Cheers

Nigel

P.S. If ZenMod reads this, I haven't given up on the Pumpkin, really I haven't, it's just got a bit delayed....
Attached Images
File Type: jpg IMG_4281.vsmall.JPG (95.3 KB, 241 views)
  Reply With Quote
Old 15th September 2009, 11:07 PM   #2
njepitt is offline njepitt  
diyAudio Member
 
Join Date: Aug 2008
Location: Brasilia
Well, at least a partial answer... I put in a 78L05 regulator fed by a wall-wart to provide cleaner voltage for the PCM1793. The analogue part is fed directly from this, the digital part from this via the TLV1117-33. So the USB is only powering the PCM2707 at the moment. This is a big improvement. I may try putting in another TLV1117-33 to self-power the PCM2707 too instead of bus-powering, although I am less convinced of the importanceof this.

Still like answers to any of the other queries above - in particular what's the "reset" pin for? I'd still like to hear suggestions for output stage too, if anyone has them.

Cheers

Nigel
  Reply With Quote
Old 16th September 2009, 07:08 AM   #3
jkeny is offline jkeny  
diyAudio Member
 
Join Date: Feb 2007
Location: Dublin
Hi Nigel,

Well done on your implementation!

I just so happen to be playing around with a USB based PCM1793 DAc also and I have also implemented a PCM2707 in the past. First off my DAC is a Musiland DAC which has a Cypress EZUSB-FX2 chip doing the USB duties, an Xilinx FPGA doing the I2S, clock & other duties & feeding I2S to the PCM1793.

1. RST seem to be just that - a way to reset the DAC

2. External supply greatly improves the PCM1793 DAC - probably mostly because of the analog part is being supplied with cleaner PS? But I wouldn't discount the cleaner digital supply as being helpful also. My experience with the PCM2707 suggests it too will improve with an external PS

3. See 2 above

4. You are currently running just one half of the differential Vouts through a capacitor (to remove DC) - I plan to experiment with this & compare it to a transformer output stage that I'm posting about here DAC ouput using Transformer

What was there before was an OP275 opamp in balanced mode, doing Low Pass filtering & introducing about 1.8 gain to bring the output to 2Vrms.

The trafo is miles better than the op-amp. I don't know how it will compare to a cap?

There is a DC bias on the differential outputs of 1.2V (I think) so nothing wrong with your implementation - that's the DAC.

I don't know the Pumpkin preamp!

I started a thread also about the capacitor to use on the Vcom pin of the PCM1793 Cap recommendation for DAC Vref, Vcom pin but got no replies - have you tried different caps here?

BTW, I see your fond of protboards, as I am, but I can't make out anything from your low res picture - do you have a better one?

Are you UK based or Brazil based?
__________________
Forget your perfect offering, There is a crack in everything, That's how the light gets in!

Last edited by jkeny; 16th September 2009 at 07:11 AM.
  Reply With Quote
Old 16th September 2009, 10:35 AM   #4
njepitt is offline njepitt  
diyAudio Member
 
Join Date: Aug 2008
Location: Brasilia
Hi jkeny,

Thanks for the reply. It seems your DAC is a good deal more sophisticated than my attempt; these are (more or less) my first DAC (and SMD) attempts, so my idea was to try things out in a simple way first, and then have a go at things like SRC4192 reclocking and so forth later, possibly with a PCM1794 I have put aside. Things like FPGA chips are beyond me for the present.

A few follow-ups.

1. So do you have RST pulled high also? Is it worth putting a little pushbutton switch on it?

2. I think I'll have a go at self-powering the PCM2707 tonight. Now I have external power on the boards it's only another regulator, after all. The datasheet should tell me all I need to know about this, I guess.

3. Putting external power on the PCM1793 made such a difference I'm dropping the idea of fully usb-powered box for the time being.

4. I have been reading your thread about transformer coupling, and find it fascinating and would love to try it, but as far as I can find out this option is far too expensive for me to follow up here. (Heavy import taxes.) I am not satisfied with using only one half of the output - using both should give some noise-cancelling, I understand, and the capacitors I am using are cheapos (Expensive capacitors are out because of - you guessed it - heavy import taxes...). While I have nothing against opamps in principle, I am more interested in trying a discrete output stage. I found two circuits that look interesting;

http://members.quicknet.nl/ra.vdstee...tstage_en.html

and the "SACD enhancer" circuit that he links to at the bottom of the pagem which appeals to me, for some reason. Any thoughts?

Glad to hear the DC is to be expected.

If you are interested in a diy balanced preamp, there is a v. long thread describing the Pumpkin preamp (by ZenMod) on the Pass Labs forum. I've been building it, but it isn't finished yet.

I will take a look at your "capacitor on Vcom" post. I have a 1 microF polyester cap here - nothing special - and haven't experimented.
I'll try and post a larger res picture later.

I am a British expat living in Brazil - for some years now. As a whole I love life here, but sourcing parts for diy is one of the downsides...

Cheers

Nigel
  Reply With Quote
Old 17th September 2009, 12:38 AM   #5
njepitt is offline njepitt  
diyAudio Member
 
Join Date: Aug 2008
Location: Brasilia
Hi All,

So I put another TLV1117-33 onto the board and made the alterations to self-power the PCM2707, as discussed above and recommended by jkeny. Again a noticeable improvement, although perhaps not as great a leap as putting in a separate power supply for the PCM1793. I also bought the bits and pieces to try the SACD enhancer I linked to above, and found a steel box in the junk pile at the Elec.Eng. department that I can use to box it all up. (I hate paying for chassis and boxes when there are so many that end up in landfills.)

jkeny: I took a look at your capacitor thread. I am using a 1uF polyester (bog standard) for no better reason than the schematic I dug up used one. What does your Musiland use? By the way, I guess I can't post full-res photos, but I can crop to show any bits you are particularly interested in, if you like...

Cheers

Nigel

P.S. Listening to Jessye Norman I'm wondering if maybe this really *was* as big an improvement as the previous one, after all...
  Reply With Quote
Old 17th September 2009, 12:53 AM   #6
jkeny is offline jkeny  
diyAudio Member
 
Join Date: Feb 2007
Location: Dublin
Quote:
Originally Posted by njepitt View Post
Hi All,

So I put another TLV1117-33 onto the board and made the alterations to self-power the PCM2707, as discussed above and recommended by jkeny. Again a noticeable improvement, although perhaps not as great a leap as putting in a separate power supply for the PCM1793. I also bought the bits and pieces to try the SACD enhancer I linked to above, and found a steel box in the junk pile at the Elec.Eng. department that I can use to box it all up. (I hate paying for chassis and boxes when there are so many that end up in landfills.)
I agree but then why do we DIY?

Quote:
jkeny: I took a look at your capacitor thread. I am using a 1uF polyester (bog standard) for no better reason than the schematic I dug up used one. What does your Musiland use?
Musiland uses 2 uF MKT - I tried electros, film caps, electro & film cap.

Quote:
By the way, I guess I can't post full-res photos, but I can crop to show any bits you are particularly interested in, if you like...
no particular
sections - just need a higher res all round!

P.S. Listening to Jessye Norman I'm wondering if maybe this really *was* as big an improvement as the previous one, after all... [/QUOTE]
__________________
Forget your perfect offering, There is a crack in everything, That's how the light gets in!
  Reply With Quote
Old 17th September 2009, 01:09 AM   #7
njepitt is offline njepitt  
diyAudio Member
 
Join Date: Aug 2008
Location: Brasilia
Quote:
Originally Posted by jkeny View Post
I agree but then why do we DIY?
Well, it's still diy, of course, and often a lot of it... If I am going to make something for the living room (which therefore needs approval from my wife) then I try to design something nice, spend a little money and build from scratch, but if it's something experimental I'd rather spend the time on the electronics and save some cash by recycling something. And, of course, a used box still requires a good deal of work to get it looking reasonable.... a different sort of diy challenge, I guess.

I think I might try fiddling with the Vcom cap. Probably better to get the output stage done first, though. I'd still be interested to hear if you have any thoughts on that discrete output stage.

Cheers

Nigel
  Reply With Quote
Old 17th September 2009, 01:10 AM   #8
njepitt is offline njepitt  
diyAudio Member
 
Join Date: Aug 2008
Location: Brasilia
Oh, and after experimenting, did you like the 2uF MKT best?
  Reply With Quote
Old 17th September 2009, 01:15 AM   #9
njepitt is offline njepitt  
diyAudio Member
 
Join Date: Aug 2008
Location: Brasilia
jkeny: Is this resolution OK? (I tried full res and it wouldn't go...)

Cheers
Nigel
Attached Images
File Type: jpg IMG_4280.small.JPG (372.9 KB, 194 views)
  Reply With Quote
Old 17th September 2009, 11:53 AM   #10
jkeny is offline jkeny  
diyAudio Member
 
Join Date: Feb 2007
Location: Dublin
Quote:
Originally Posted by njepitt View Post
Well, it's still diy, of course, and often a lot of it... If I am going to make something for the living room (which therefore needs approval from my wife) then I try to design something nice, spend a little money and build from scratch, but if it's something experimental I'd rather spend the time on the electronics and save some cash by recycling something. And, of course, a used box still requires a good deal of work to get it looking reasonable.... a different sort of diy challenge, I guess.
I agree, this is the most difficult part for me - making it all wife friendly - consumes al lot of my time!

The jury is still out on the Vcom cap as I don't have a high capacitance film to try but as I said in the other thread it seems to behave like a signal passing cap - high capacitance needed for bass response but film cap need for crystalline highs. This is what I hear but I need confirmation from others as the effect is slight - I hope it's not more psycho then acoustics that I'm experiencing
__________________
Forget your perfect offering, There is a crack in everything, That's how the light gets in!
  Reply With Quote

Reply


Hide this!Advertise here!

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

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
PCM1793 DAC - a bargain? Tolu Digital Line Level 6 17th September 2009 07:54 PM
PCM1793 DAC chip dublin78 Digital Line Level 0 9th June 2009 08:32 AM
Need help with tubed output for PCM1793 DAC kkillebrew Tubes / Valves 16 30th January 2009 07:54 PM
LM3886 based amp- questions Atilla Chip Amps 12 6th August 2008 04:55 AM
HELP!! pll1700+dir1703+pcm1793 DAC kafka Digital Source 12 28th September 2004 09:43 AM


New To Site? Need Help?

All times are GMT. The time now is 05:45 PM.

Page generated in 0.14917898 seconds (86.45% PHP - 13.55% MySQL) with 11 queries

Copyright ©1999-2010 diyAudio