Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki 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
Thread Tools Search this Thread
Old 15th December 2014, 05:24 PM   #1
miniengineer is offline miniengineer  Netherlands
diyAudio Member
Join Date: Dec 2014
Default PCM5102 Mini USB DAC Ė Schematic and layout critique

I'm a third year electrical engineering student and audio enthusiast who just stared designing electronics. This project is an opportunity for me to learn DAC design, sourcing components and manufacturing a PCB. My goal is to build a cheap mini USB DAC that is an improvement on an integrated PC sound card. The biggest inspirations for this project were the Stoner UD100 sound card and 00940ís project on this forum.

My design constraints were the following:
- The PCB must slide into a 40x25x25mm metal case.
- Parts must be available for consumers in the Netherlands, preferably at TME.
- All parts need to be in the smallest package available without compromising on quality, preferably 0603.
- The design must incorporate the best possible ESD/EMI protection that fits the board.
- Device must be connected via 3.5mm jack and micro USB sockets.
- The PCB will be 2 layer at OSH Park.

When designing a minimalistic DAC itís hard not to use the TI PCM5102A. Not only had this DAC great sound quality specification for the price but it also has built in charge pumps which give 2V RMS at the output. This allows for an output stage without op amps or many passives. It also has a soft mute input reduce popping sounds when power is disconnected.

For USB to I2S Iíve decided to use the TI PCM2707. This is one of the only USB input receivers that is available in small quantities. Itís limited at 16Bit/48kHz but well documented and very simple to use.

The PCM2707 is set up in bus powered mode and the PCM5102 has its own TI TPS73033 LDO for 3.3V. Both ICís power lines pass through ferrite beads for noise suppression.

For USB data line termination and ESD/EMI protection Iíve looked at multiple setups. The best option would be resistors, TVS diodes and a common mode choke. This method would take up way too much space on the board. The usable alternative would be a ST USBUF02W6 USB termination IC. This 6 pin SOT323 package contains all needed resistors, TVS diodes and capacitors for USB data lines and uses very little PCB space.

The PCB should slide in this 40x25x25mm metal case. Not only is this case very cheap but it also looks nice. Because the case is made out of metal some ESD precautions should be taken. In this design Iíve put bare metal slots at the sides of the PCB connected to case ground.

To dissipate ESD strikes the case ground should be connected to system ground through a filter. It seems that every manufacturer has a different approach to this issue. Iíve used the most common approach of a 1M resistor and a 4.7nF cap connected between grounds.

At the moment I still have a few hesitations:
- The PCB slot in the case is 23.3mm wide with a tolerance of 0.15mm. The PCB manufacturer also has a tolerance for the board cutout. The gap between the PCB and case should be as small as possible without getting stuck. How wide should the PCB be?
- The USB input has a ferrite bead at the power line and case ground connections mentioned above. Since there are many options per manufacturer I would like to know if my solution is the right one.
- For the power supply Iíve used tantalums for polarized caps. Should I use low ESR versions on the board or regular ones?
- Because of the small size of the PCB (40mmx23mm) It wasnít possible to use separate analog and digital ground planes. In this design the top and bottom planes are connected by many vias to ensure the best return paths. Are there improvements to this approach?

Iíve included the schematics, PCB layout and 3D view below. Critique and suggestions are appreciated.

Last edited by miniengineer; 15th December 2014 at 06:09 PM.
  Reply With Quote
Old 15th December 2014, 06:16 PM   #2
miniengineer is offline miniengineer  Netherlands
diyAudio Member
Join Date: Dec 2014
Now with attachments.
Attached Images
File Type: png JDAC M1 SCH 1-2.png (123.5 KB, 317 views)
File Type: png JDAC M1 SCH 2-2.png (102.5 KB, 302 views)
File Type: png JDAC M1 2D.png (245.5 KB, 302 views)
File Type: png JDAC M1 3D.png (798.1 KB, 289 views)
  Reply With Quote
Old 17th February 2015, 01:04 PM   #3
szeto226 is offline szeto226  Hong Kong
diyAudio Member
Join Date: Dec 2013
Hey i am an EE student of year 3 too, and i am also going to work on a similar project as well.
For the linear regulator, I think there are some better options, like TI, TPS7A4700 and ADM7150 which has lower noise.
Is you application is driving a headphone or earphone, I m not sure if the output of pcm5102 is powerful enough.
  Reply With Quote


Hide this!Advertise here!
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PCM5102 USB DAC for sennheiser HD650 - request for design critique 00940 Digital Line Level 12 24th November 2014 04:14 PM
Muse Mini USB DAC or Converter? whaleman Digital Source 2 4th June 2011 07:45 PM
AUNE - MINI USB DAC/Headphone amp kmtang Digital Source 23 9th September 2010 06:25 PM
Wanted: USB board for Apogee mini-DAC Puggie Swap Meet 0 3rd April 2007 10:46 AM
Critique my USB DAC design MWP Digital Source 14 14th August 2003 07:00 PM

New To Site? Need Help?

All times are GMT. The time now is 05:50 AM.

Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio