Close
0%
0%

Audiophile-sounding DAC for almost no money

0DAC - delivers engaging, immersive sound with a pricetag at least two orders of magnitude from commercial audiophile DACs

Similar projects worth following
Several years ago, an engineer using the handle 'NwAvGuy' put together a (partly open) DAC design for the masses. He called it 'ODAC' where 'O' meant 'objective' because it was designed according to objective criteria (the usual measurements, in particular THD+N). My design is the complement of that, designed entirely for listening enjoyment with little regard for measurements. The broader aim is to make audiophile sound quality a commodity so everyone gets to get off on the music. Wave a cheery 'goodbye' to fatiguing digital sound! The BOM cost is very low (sub $5) and the circuit board area fairly modest (~25cm^2) - to keep both down it has only I2S input. The output stage is a resistor-loaded current source with around 1VRMS swing.

The name of this design is 0DAC, pronounced 'lingDAC' (zero = ling in Mandarin).

To get a great sounding DAC its important to choose a DAC chip with lots of potential and ignore most of the datasheet specs. 'Having potential' means a simple as possible chip, without the usual bells and whistles which have been added to DAC chips in the past couple of decades. Going back to the 1990s most DAC chips were just that - DACs and had neither on-board digital nor analog filters using opamps. Both of these kinds of filters have the potential to screw up the sound so you do not want them on the chip where its impossible to bypass them.

Philips started a trend with their 'Bitstream' DACs of including on-chip filters and on-chip opamps (SAA7320). But for a while in the 80s and 90s they produced some excellent chips without all that extra fluff - for example TDA1541, TDA1543, TDA1545 and TDA1387. Burr Brown similarly had their PCM-series DACs, culminating in the PCM1704 where by most listeners' ears they'd already started to lose the plot, being seduced by numbers - PCM63 seems to be the pinnacle of their art. Analog Devices have had great designs too, the most recent being AD1865.

I've so far mentioned only audio-targeted DACs but there are others which are pure DAC chips - I've samples of an ancient one from ADI, the AD768. It's an example of a DAC targeted at the communications market, a field which in many ways holds more promise for great sounding D/A than does audio nowadays. TI/BB and Intersil also have offerings in this arena. Of the audio chips I've mentioned, all are out of current production so if you want to have a viable manufactured product you have to look beyond audio to find your chip. Schiit did exactly that in their multibit DAC designs, going to the medical/industrial segment. Metrum too started off with an industrial DAC chip from TI/BB but since have gone over to custom resistor arrays buried inside modules. Hobbyists though aren't constrained by production volumes and so have rarely had it so good with the wide choice of recycled devices on the secondary market.

I must confess I have a real soft spot for Philips (now NXP or even Nexperia) - partly because my first few CD players were Philips (they and Sony together being the innovators of the CD format) but also because their IC designs rock, and not just in DACs. Take in the realm of amps their in-car offerings (TDA8566 for example - I have a design for an amp using it here : Hi end chipamp). TDA1541 has been done to death by DIYers (Thorsten Loesch and Pedja Rogic have commercial product too) - how to choose from its many tweaks? TDA1545 has some DIY designs extant (Peufeu's 'Extremist' is here - TDA1545 DAC) - having listened to my own designs I've abandoned this chip on SQ grounds. TDA1543 has literally dozens of DIY projects and commercial boards/boxes (Lite DAC-AH is my favourite). Strangely TDA1387 has been largely ignored to date - there's a few units on Taobao : L1387 DAC but nothing in the audiophile mainstream. In regard to the tech behind the chips, the TDA1387 takes some beating as it continuously recalibrates itself on the fly so doesn't require the usual extreme resistor matching achieved in other manufacturer's offerings by laser trimming. Its also absurdly cheap as the chips are recycled from old 'Soundblaster' PC cards.

Next up - NOS is my choice here for lowest BOM cost. NOS is a TLA for 'No oversampling' and the craze of NOS began with a Japanese guy by the name of Kusunoki (go here for his web presence, I'm not thereby endorsing his technical justifications - http://www.sakurasystems.com/articles/Non-oversampling-DAC.html) who wanted to bypass the digital filter in a DAC. In the history of Philips' CD players, oversampling has always been used, initially because when CD came out they only had production ready a 14bit DAC (TDA1540) and CDs have 16bits worth on them. So oversampling (4X) was used as a way to gain a couple of bits from the DAC through averaging out 4 faster samples to create one slower one. When the TDA1541 was...

Read more »

Schematic_0DAC-dac.pdf

DAC board. Various changes to this, too many to list here.

Adobe Portable Document Format - 36.67 kB - 04/06/2018 at 12:46

Preview
Download

SEbuff.pdf

Top board of the 3 board stack, this can be configured as a line output or a headphone buffer to drive low impedance cans directly. The schematic as shown is the headphone variant, optimised for 56ohm cans (HD668B were the ones I tested with). To handle line out duty, reduce the output capacitor values (C5,C7), increase R10,R18 to 47k and reduce the bias (R8,16 change to 56ohm).

Adobe Portable Document Format - 26.21 kB - 04/06/2018 at 12:37

Preview
Download

lingDACfilter.pdf

v0.1 of the lingDAC filter schematic. Correction from v0 : values of C11,12 (now 2u2, were 1u).

Adobe Portable Document Format - 41.51 kB - 03/02/2018 at 13:02

Preview
Download

lingDAC_FR.png

Here's a measurement of the frequency response of a prototype lingDAC made by generating white noise in Audacity and recording it with a Sony PCM-M10 at 96kHz sample rate. Then examine the resulting file (30s long) in Audacity's 'Analyze - Plot Spectrum' function.

Portable Network Graphics (PNG) - 56.83 kB - 12/01/2017 at 00:55

Preview
Download

AIF1fr.jpg

LTspice frequency response plot of AIF1. The rise at the top of the audio band is to counteract the 'NOS droop'.

JPEG Image - 31.11 kB - 10/02/2017 at 07:06

Preview
Download

  • 2 × SLF7045T-470 Inductors, Chokes, Coils and Magnetics / Fixed Inductors, Chokes and Coils
  • 2 × SLF7045T-330 Inductors, Chokes, Coils and Magnetics / Fixed Inductors, Chokes and Coils
  • 14 × C3216X7R2A104K160AA Capacitors / Ceramic TDK 1206 100nF 10%
  • 2 × 220uF 16V Capacitor electrolytic
  • 4 × TDA1387T Data Converters / Digital to Analog Converters (DACs)

View all 11 components

  • DAC v2 board arrives

    Richard Dudley05/10/2018 at 06:10 1 comment

    The original 4* DAC board came with a few errors, the biggie was that I'd overlooked how noisy the TL431 is and used it as reference for a series regulator without any low-pass filtering. The result was that with the original PSU configuration there was an excess of hiss. I bodged the boards to include an additional RC stage between the TL431 and the pass transistor which made the boards usable.

    On giving more attention to the PSU I played around on the bench with a Sziklai pair of transistors rather than a single emitter follower. Turns out this combo is rather prone to oscillations (above 10MHz) but I managed to get it tame by using a bipolar/MOSFET combination. The advantage is the pair of trannies wrapped around one another gives a much lower output impedance, something very desirable in a power supply reg for audio use. The CFP/Sziklai pair has been put to good use in the new updated PSU on v2 and I was quite surprised how much of an improvement to the bass it has brought. In fact I arrogantly consider my DAC to have the best bass of any DAC I've ever heard (bear in mind I've not heard that many, but did have a listen to a few at a recent high-end show in Shanghai). The improved bass gives the subjective impression of more 'weight' or 'authority' to piano for example, but also contributes to a much more believable rendering of the recorded acoustic.

    The last change is the reduction from 4 DACs to 2, a corollary of the improvement to the PSU. Using fewer DACs means changes are needed to the filter-I/V board, but these are entirely component value changes (inductor values go up, caps go down). The 2 DACs are permanently wired in anti-phase to maintain PSU stability. The TDA1387 takes a varying current from the supply depending on its digital code, however two DACs together fed in anti-phase take an almost constant current. This is quite easily visible by looking at the modulation of the supply when playing music, via a fairly sensitive preamp as found in my millivoltmeter.

    We've adopted a 3 island ground fill, the areas are the input buffer, the DACs themselves and the PSU (which is top right). The 2 yellow and one red LED take over the function that was previously given to the second TL431.

  • PCBs for 0DAC

    Richard Dudley04/05/2018 at 03:51 9 comments

    I now have some second generation prototypes built up, using PCBs kindly laid out by my gf. In this picture, the 0DAC is built from a stack of three boards. On the bottom we have the DAC and PSU, middle tier has the filter and I/V stage and at the top there's a buffer. The buffer can be implemented to drive headphones though the power supply might need to be external then due to heating concerns.

    Here are the boards individually :

    DAC board with 4 * TDA1387 and input buffer (HC86) and a simple PSU (TL431 and pass transistor)

    Here's the part-populated filter board. The inductors go to the right, the transistors (current sources and common-base I/V) are to the left.

    This is a single-ended classA buffer. The copper areas allow the SOT23 transistors to dissipate a bit more heat than normal. While its designed to drive headphones I'm re-purposing it for 0DAC to be a line-level buffer.

  • How to give my listening impressions?

    Richard Dudley11/30/2017 at 04:14 2 comments

    I figured in order to have something to say about how this DAC sounds, I'd need a reference to compare it to. So I ordered up some DACs from Taobao which had popular DAC chips inside them and gave them a spin. I reckon the most popular entry-level DAC chips nowadays are the ES9023 and the PCM5102, so I acquired an example of each. As these DACs from Taobao aren't exactly engineered to give any kind of audiophile sound (they're cheap, under 100rmb for PCB only) I played around with the implementations, mostly with power supplies (as these make a large difference, subjectively). I wanted each chip to give of its best - my key weapons in the fight against power supply noise (both input noise and self-noise) are Nichicon HZ capacitors (for lowest ESR) and TDK 7mm inductors (highest Q for the buck).

    Upgrading the analog supplies to both ES9023 and PCM5102 makes an improvement but does not bring either of these two DACs into the same league subjectively as lingDAC. The differences are primarily noticeable in dynamics - in comparison to lingDAC both these single chip DACs add noise to the sound, the ES9023 being the worse offender of the two . Now the noise I'm hearing isn't the noise in the absence of signal, these DACs have excellent SNRs so subjectively are dead quiet with no music playing. Rather its noise modulated by the signal that I'm hearing, and this is only really noticeable in comparison with a DAC which doesn't have it. Otherwise my attention isn't drawn to it - I've listened to digitally recorded music for decades and only recently realized what I'd been missing all that time.

    When I talk of 'dynamics' I mean the audio equivalent of contrast ratio for displays - a DAC with great dynamics delivers blacker blacks and more startling 'whites'. Blacker blacks is subjectively perceived as 'interest factor' - the DAC encourages me to 'listen in' somehow, I find I'm curious about what I'm listening to even if its something familiar. Whiter whites is perceived as 'jump factor' - the ability to trigger my startle reflex. Of course these aspects depend on the recording to some degree, not all recordings are equal in perceived dynamics. Older analog recordings often do a better job with preserving the contrast ratio of the original performance. As I'm a fan of classical, Decca analog recordings are real stand-outs and in my experience hard to beat for dynamics. Their newer digital originated (DDD) stuff somehow doesn't quite measure up, 

    Here's an example of some of the best of Decca's analog - https://www.amazon.com/Romantic-Russia-Borodin-Mussorgsky-Tchaikovsky/dp/B000V9CJFE/ref=sr_1_2?ie=UTF8&qid=1512014543&sr=8-2

    You'll note more than one reviewer here remarks on the drive and energy of the later recordings (not the Tchaik) - if some of this doesn't make your spine tingle, you've not yet gotten the right DAC for the job.

    Here's another example with superb dynamics - even though compression artifacts are obvious on the 30s samples at such low bit rates this is still stirring stuff - https://www.amazon.com/Falla-Three-Cornered-Hat-Ansermet-Berganza/dp/B00004TEUY/ref=sr_1_1?s=music&ie=UTF8&qid=1512093335&sr=1-1

  • Beta prototype assembled

    Richard Dudley11/15/2017 at 05:14 0 comments

    Listening report to follow....

  • Filter I/V boards

    Richard Dudley11/06/2017 at 08:47 0 comments

    Building up the filters takes time due to the painstaking process of ensuring the reactive components (inductors and capacitors) are close enough in tolerance to get to within spitting distance of the target filter response.

    Inductors I measure to 1uH and bin them. The mode for the two values seems so far (with about 40 measured of each to date) 30uH and 43uH, slightly under 10% below the nominal values. Capacitors I trim by adding in paralleled units after measuring them. After soldering its essential to allow enough time for cooling and relaxation of thermal stresses before measuring

    - I allow 10mins minimum for this, but if I see the capacitance still decreasing I'll allow more time. What I call the 'tuning networks' (RC in parallel with inductors) are soldered under the board, using 0805 and 0603s. The main shunt capacitors are generally 1206 and visible in stacks in the above shot. Occasionally the 1206s I'll trim with an 0805 on top, aiming to get within 2% of the value on the schematic.

    At the front of the boards in the picture are the current sources used to bias the I/V transistors (not yet fitted in this pic).


  • Upgrading USB power

    Richard Dudley10/16/2017 at 14:37 0 comments

    I tried quite hard to get this DAC operating on the 'native' USB power from my PC, but it proved not possible to attenuate the low frequency noise on the supply sufficiently. So I've gone for a step up voltage converter to boost the 5V rail to nearly 10V and then regulate it down again.

    An LM2662 performs the step-up task admirably - chosen because its a switched capacitor kind of boost converter, rather than the more normal inductive boost circuit. Inductors tend to be rather leaky and I didn't want to radiate any ultrasonic magnetic field in the tight confines of this DAC's enclosure. Particularly as I have 4 inductors in the anti-imaging filter which are likely to pick up magnetic radiation to some degree.

    The other bits on the board are a TL431 (6.6V) and two NPN pass transistors to provide supplies to the DAC array and I/V.

  • Working on a DAC demonstrator

    Richard Dudley10/06/2017 at 00:58 0 comments

    Since the lingDAC has only I2S input I need a quick and dirty way to provide the rest of the infrastructure to get something to listen to. Taobao comes to the rescue as on there are a few DACs based on TDA1387 which have digital front-ends on them and enough room inside to hide a filter/IV board. Here is the cheapest one : 4 * TDA1387 USB DAC. I have bought my first two of these with cases but the seller also sells just the PCB as a kit. My gf persuaded him to solder on the CM108 as that's a little tricky to do by hand, so we have more on order at the princely sum of 44rmb for just the PCB and kit of parts.

    Firstly its necessary to make some modifications to the board to accept the lingDAC filter/IV stage. Here's a picture of the mods beginning -

    The parts just to the north of the RCA outs are passive IV/filter components which the lingDAC PCB will replace. So they must come out - here I've pulled out caps (2n2 and 220p) and the output coupling caps (CR, CL) which were electrolytics. The 1ks are the I/V resistors, we need to change those to 680ohm.

    The next set of mods are to the power supply as the stock board has inadequate filtering on the 5V USB rail.

View all 7 project logs

Enjoy this project?

Share

Discussions

alexandre zanol wrote 09/09/2017 at 10:26 point

Absolutely agree that Philips ICs rock! I have a soft spot for the TDA1543 for all the years of musical enjoyment I had with it. Now playing with the TDA1387 and I am thrilled with the potential of the chip. It is curious indeed that it didn´t find its way into CD players and stand alone dacs - I would say a marketing mistake by Philips, because the little guy is not limited (in performance) by its low power consumption.

  Are you sure? yes | no

Richard Dudley wrote 09/09/2017 at 10:29 point

I have followed a similar path to you Alex it seems, I did love the TDA1543 for quite a while with its soft, analog style of sound. But after I'd tamed the CMOS chick I couldn't go back....

  Are you sure? yes | no

alexandre zanol wrote 09/09/2017 at 11:01 point

Richard, the description is spot on. Cassette tape sound.

Onward with the '1387, I can´t wait to get more ambience, detail and some sweet highs with the analog filter :)

  Are you sure? yes | no

Steven Clark wrote 09/08/2017 at 05:50 point

I can find simple parallel resistor ladder based DACs on digikey if I look.  Do they all have op-amps, or does something else disqualify them?

  Are you sure? yes | no

Richard Dudley wrote 09/08/2017 at 06:01 point

Have a part number? I'll take a look then and let you know.
 In general ladder based DACs are too glitchy for audio, but some might be able to be made to work.

  Are you sure? yes | no

[deleted]

[this comment has been deleted]

Richard Dudley wrote 09/02/2017 at 13:46 point

Yes indeed, they can get the idea of what most systems with speakers are aiming for but mainly fail to achieve as their amps aren't transparent enough. Designing a speaker amp to deliver the goods this beast puts out is the next challenge....

  Are you sure? yes | no

john.kenny wrote 09/02/2017 at 13:50 point

Right, so it's the project that will just keep giving with further downstream elements when people are ready - excellent!

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates