USB Audio DAC

2,245

10

11

Introduction: USB Audio DAC

  • Uses standard drivers, works with Windows, Macs and many Linux distributions, but limits the performance to 16 bit, 48 kHz
  • Balanced (pro) line level outputs in the back (XLR / 6.35 mm)
  • Single ended (pro) line level output in the front (RCA)
  • No output series capacitors
  • Capacitive SMPS
  • USB powered
  • Connector for external signal processing board (e.g. volume control)

Originally built to prevent mains humming noise (50 Hz hum) from being amplified by studio monitor type active speakers just by re-designing the power supplies. Some commercial pre-amps picked the same noise up from power adapter or USB or spdif interfaces, so I was left with no option but to build my own.

Supplies

Step 1: Schematic - Power Supplies

Capacitive SMPS are used (in stead of inductive ones) to get rid of 50 Hz noise. Additional RC filtering reduces high frequency noise. High frequency noise is not audible, but in worst cases might affect amplifier performance etc. Voltages are dropped with linear regulators before analog stages.

Step 2: Schematic - USB Interface

PCM2707 provides good plug and play -support to multiple operating systems and requires no licenses, while the features are limited. Signal is converted into I2S. Jitter optimization should start with this piece of circuit.

Step 3: Schematic - DAC

PCM1794A converts the digital signal to analog with current outputs. Out of additional features only mute is used.

Step 4: Schematic - Analog

Two LME49724 amplifiers do a differential current to voltage conversion, one per channel. Additional high frequency filtering can be added.

Step 5: Schematic - Connector

Signal is routed to a pin header, where each line can be separately processed with an external board of choise. I used it for a controllable discrete resistor attenuator board (some call it an amplifier). Also mute-signal is routed here. Muting works just fine, but no feedback is sent to the operating system.

Step 6: Schematic - Single Ended Signal

The audio signal is also converted to single ended, as some devices will not support balanced signal.

Step 7: Mechanical Design

Aluminium extrude enclosure was selected with aluminium end panels that can be milled with a CNC machine. Another option would be to use PCBs as end panels. Fusion 360 was used to build the model and PCB outline.

Step 8: PCB Layout

SMPS and digital circuits need to be isolated from the analog stages. Same applies to powering the devices and ground levels. Cables will pick up noise and the USB cable will inject a lot of noise.

Finishing touch is added with silk screen artwork :)

Step 9: PCB Assembly

Rework oven or a hot air station is needed for some of the components to solder hidden pads underneath the component. Leaving the hidden pad unsoldered affects thermal performance or might cause a bad ground connection for the chip.

Right angle connectors on board edges need to be placed carefully, especially as the board is fixed by screws from both sides and having an error more than 2 mm will result in excessive stress for the RCA connector.

Step 10: End Panels

End panels can be manufactured by CNC milling, laser cutting or designing a fitting PCB. Fusion 360 was used for tool paths.

Step 11: And There You Have It

Plug it in to a PC and it will be recognized without any installing or configurations.

Step 12: Bonus: Attenuator Board

Relays and discrete resistors were used to create a ladder with 64 logarithmic steps for volume control. A similar board will fit in for any other signal processing.

PCB Design Challenge

Participated in the
PCB Design Challenge

Be the First to Share

    Recommendations

    • For the Home Contest

      For the Home Contest
    • Make It Bridge

      Make It Bridge
    • Game Design: Student Design Challenge

      Game Design: Student Design Challenge

    11 Comments

    0
    TeemuL
    TeemuL

    Reply 2 years ago

    Thanks!

    0
    JorFru
    JorFru

    3 years ago

    Theres is an explication to XLR+TRS combo being a female output connector? it shall be a male connector.
    You will need to use a gender change adaptor in order to use the XLR outputs!

    0
    baxcor
    baxcor

    Reply 2 years ago

    I don't know if combos with male connector exist, but I look at Farnell: they only provides combos with female connectors. (I do not use Mouser or Digikey because of customs taxes in EU)

    0
    TeemuL
    TeemuL

    Reply 2 years ago

    I don't remember where I got mine. It's a good point, I didn't realize that it's usually the other way around, which was counter-intuitive for me. Is it easier to use the TRS-connector? They are also balanced.

    0
    baxcor
    baxcor

    Question 3 years ago

    Where can we get the complete schematic?
    Regards

    0
    TeemuL
    TeemuL

    Answer 3 years ago

    Hmm.. I had failed to add them to a step. I just now added them to step 11, but I can't see them at least yet. I'll wait a while and request support if they don't appear.

    0
    baxcor
    baxcor

    Reply 2 years ago

    Fine, I'll take a look. Thanks

    0
    TeemuL
    TeemuL

    Tip 3 years ago on Step 8

    Use auto-route to find which parts of the board are cramped with vias and tracks and move component clusters accordingly.

    0
    seamster
    seamster

    3 years ago

    Looks good!

    0
    TeemuL
    TeemuL

    Reply 3 years ago

    Thanks!