Mola Mola DAC and other stuff (DAC techno-discussion)

Discussion in 'Digital: DACs, USB converters, decrapifiers' started by Madaboutaudio, Oct 18, 2015.

  1. Madaboutaudio

    Madaboutaudio Friend

    Pyrate
    Joined:
    Sep 28, 2015
    Likes Received:
    545
    Trophy Points:
    93
    Location:
    Singapore
  2. Madaboutaudio

    Madaboutaudio Friend

    Pyrate
    Joined:
    Sep 28, 2015
    Likes Received:
    545
    Trophy Points:
    93
    Location:
    Singapore
    On aliasing:

    [​IMG]
    This additional aliasing noise occurs because the amplitude of the LSB components increase as frequency decreases. To minimize this, high order antialiasing filters are required to filter the baseband signal before sampling.


    [​IMG]
    There are two different methods to integrate analog functions such as filtering. One very powerful technique is to employ DSP where the input signal is converted to the digital domain and the function implemented in either digital hardware or software. A second method uses switched capacitor technology. This is a sort of analog-digital hybrid technique.

    One of the main applications for switched capacitor filters is in antialiasing filters. A DSP implementation would use over-sampling and decimation.


    source:
    http://jugandi.com/ebooks/Digital/03 A&D Conversions.htm
     
  3. Madaboutaudio

    Madaboutaudio Friend

    Pyrate
    Joined:
    Sep 28, 2015
    Likes Received:
    545
    Trophy Points:
    93
    Location:
    Singapore
    here's the video interview of the mola mola dac designer:
     
  4. ultrabike

    ultrabike Measurbator - Admin

    Staff Member Pyrate MZR
    Joined:
    Sep 25, 2015
    Likes Received:
    8,960
    Trophy Points:
    113
    Location:
    Irvine CA
    Interesting stuff from the jugandi link. Some comments:
    1. Aliasing happens because of sampling.
    2. In DACs, sinc envelope happens because of the S/H (sample and hold) operation in the analog side of things.
    3. Most of the switched-capacitor filters I've read about are low order. And I think are typically used for high speed, instead of audio.
    4. I'm not sure if you can get 64-bit or 32-bit equivalent operations (SNR) with switched capacitor technology.
    5. As far a digital filtering vs analog filtering. It is difficult to do some stuff in analog than is relatively straight forward in digital. One use both however. Good DACs need a good analog front end.
    6. Delta modulator is not Delta-Sigma modulation.
    Not a fan of Bruno Putzey.
    1. 32-bit is not "stupendous". It's what the processor provides.
    2. Pushing a 1-bit D-S to 100 MHz is Ok. But it's still 1-bit, with it's 1-bit issues and have no idea what this "ripple compensation" means.
    3. There is this average (filtering) board that I can't get my mind around. How is this better than a straight up FIR implemented in a high speed processor?
    Madabaoutaudio, really, this guy seems to like to Obi-Wan folks. Not saying his product is crap. But listening to this guy does not sell me his product.
     
    Last edited: Oct 18, 2015
  5. thune

    thune Friend

    Pyrate
    Joined:
    Sep 26, 2015
    Likes Received:
    50
    Trophy Points:
    18
    Regarding #3 (average filtering), I believe the individual current output segments of the dac-output are arranged as a shift register, or fifo. So the 32 current-output segments are active at the same time, each with 1 different sequential bit of the 100Mhz data. Then every tick of 100Mhz all the bits are shifted to the next current output segment, with one new bit in and one out the end. All these current outputs sum, so the effect is to do a moving average filter with a length of the fifo. Also every bit passes through every segment, so its total weight will be constant regardless of the precision trim of the individual current output segments. Anyway, comparing this approach to modulating all the segments together at 100Mhz: the results are essentially equivalent, but there is less high frequency noise (analog) that needs filtering out.
     
    Last edited: Oct 18, 2015
  6. Andre Y

    Andre Y Friend

    Pyrate
    Joined:
    Oct 4, 2015
    Likes Received:
    220
    Trophy Points:
    43
    Location:
    Southern California
    I think aliasing isn't as important on the playback side, compared to the capture side, assuming that it's the final output and not an intermediate DSP stage, and your analog output stages should be pretty immune to high-frequency signals on their inputs if you're going to let aliases through. Certainly, the upsampler needs to suppress aliases, and quantization error can also cause aliasing with the sharp edges caused by quantization introducing high frequency content.

    Bruno was one of the people who worked on DSD at Philips when it was first being done. He did not then and probably does not now have a very high opinion about it, but he knows his stuff. It could be that his communication style or English is giving you the wrong impression of him.
     
  7. Luckbad

    Luckbad Traded in a unicorn for a Corolla

    Pyrate
    Joined:
    Sep 27, 2015
    Likes Received:
    3,408
    Trophy Points:
    113
    Location:
    Holly Springs, NC
    I'll try to carve out some time at lunch or something to listen to your samples and give thoughts. What songs are you using? It might be worthwhile to grab something we can all use as a reference track.

    I'd also love to dip my toe into this a little more technically.

    Where'd you find out how to do all this? Do you have a step by step guide somewhere?

    I've never used Matlab, but I used to be relatively fluent in quite a few languages (C/C++ being the most complex of them) and use Lua almost daily at work, so I assume I'll be able to pick it up.

    I also bought JRiver while it was $10 off. Still kinda prefer foobar2000. Shrug.
     
  8. ultrabike

    ultrabike Measurbator - Admin

    Staff Member Pyrate MZR
    Joined:
    Sep 25, 2015
    Likes Received:
    8,960
    Trophy Points:
    113
    Location:
    Irvine CA
    From the clip, and form what you are saying, he is using effectively a 32-tap 1-bit average filter running at 100 MHz. This is a sinc low-pass filter with a first null at 50MHz/16 = 3.125 MHz and relatively flat in the 20 kHz passband. It would be able to suppress about 30 dB from 20MHz and up (20*log10(32)). I don't know how he is handling quantization, but this does not seem like a lot of suppression.

    averager2.png

    The problem perhaps is that some analog stages may not be that immune to high-frequency signals. I dunno how some of my el-cheapo stuff was put together, but it is possible to create a file with only ultrasonics, and some amps will make funny noises when feed that crap.

    As far as quantization error, I'll assume you mean the delta sigma modulated quantization noise (or equivalent). That's a different type of ultrasonics not really related to aliasing in my mind. But yes, I believe those need to be suppressed as well.

    It could be the language barrier. But bare in mind that English is not my first language either (that would be Spanish). We just have to make due mang.

    The samples I provided are just filter coefficients. Haven't actually tried them, but would love to hear your thoughts. The number of taps is kind of high and not sure if JRiver will support such large filters. If not, I can shoot for something smaller. Let me know.

    As far as finding out about this stuff... Well, I like DSP. :)

    Matlab is a fairly powerful tool, used in many fields. C/C++ is used more for bit-exact models I think.

    (Discussion with Luckbad refers to the following thread: http://www.superbestaudiofriends.or...ost-dac-digital-filter-techno-discussion.193/)
     
    Last edited: Oct 18, 2015
  9. thune

    thune Friend

    Pyrate
    Joined:
    Sep 26, 2015
    Likes Received:
    50
    Trophy Points:
    18
    The quote from the video is: "A lot of the filtering is actually done for free in this manner."
    As far as I can tell he's only claiming it's a bonus feature of the arrangement. I think it fair to claim that reducing noise ~10-30x is "a lot". But certainly more filtering is done later.
     
  10. ultrabike

    ultrabike Measurbator - Admin

    Staff Member Pyrate MZR
    Joined:
    Sep 25, 2015
    Likes Received:
    8,960
    Trophy Points:
    113
    Location:
    Irvine CA
    LOL! yes, I agree.

    Still, what would be the purpose of that board other than possibly reducing modulated quantization noise? That board does not seem all that free.
     
    Last edited: Oct 18, 2015
  11. thune

    thune Friend

    Pyrate
    Joined:
    Sep 26, 2015
    Likes Received:
    50
    Trophy Points:
    18
    I'm guessing the main purpose of the multiple output segments has to do with keeping the circuit noise (noise floor) low, while using components that operate comfortably with switching at 100MHz.
     
    Last edited: Oct 18, 2015
  12. ultrabike

    ultrabike Measurbator - Admin

    Staff Member Pyrate MZR
    Joined:
    Sep 25, 2015
    Likes Received:
    8,960
    Trophy Points:
    113
    Location:
    Irvine CA
    Could be. You could probably do some of this stuff inside the SHARC. Perhaps not at 100 MHz, but still. Maybe it has more to do with some analog components used in the conversion. There are many details on the implementation that I obviously don't know.

    BTW, moved this into it's own thread because we are now dealing with the Mola Mola DAC more specifically.
     
  13. Madaboutaudio

    Madaboutaudio Friend

    Pyrate
    Joined:
    Sep 28, 2015
    Likes Received:
    545
    Trophy Points:
    93
    Location:
    Singapore
    here's a internal pic of the prototype mola mola dac. It looks quite complex from a number of chips standpoint.
    [​IMG]
    source:
    http://puremusicgroup.com/cart/index.php?_a=viewProd&productId=545&review=write


    It's (claimed) SNR is 140db which is even higher than Yggdrasil's(conservative 120db+/-) or ES9018S(Stereo mode 135db @ interface output).
     
    Last edited: Oct 19, 2015
  14. Madaboutaudio

    Madaboutaudio Friend

    Pyrate
    Joined:
    Sep 28, 2015
    Likes Received:
    545
    Trophy Points:
    93
    Location:
    Singapore
    over at his blog:
    http://www.mola-mola.nl/index.php/blog

    He mentions that the Audio Precision's ADC is insufficient to design high end dacs.

     
  15. ultrabike

    ultrabike Measurbator - Admin

    Staff Member Pyrate MZR
    Joined:
    Sep 25, 2015
    Likes Received:
    8,960
    Trophy Points:
    113
    Location:
    Irvine CA
    "A quick look at current and historic trends of high-end IC’s indicates that for the foreseeable future this kind of performance will remain unavailable to manufacturers forced to rely on the same “chip du jour” that also powers their competitors’ products" - Bruno Putzey

    Translation: My stuff kicks anyones stuff ass, and I'm better than AD, TI, Cirrus and so forth, all put together. Smiles at himself. Mind you, my stuff kind-off doesn't fit in a 28SSOP and consumes a little more than maybe a watt. Not to mention the 32 tap averager filter is kind of strange (even Atkinson's said so >here< if you don't want to take my word for it).

    I dunno man. Hopefully we will get characterization of this product from other than Bruno himself.

    (BTW, It seems Bruno is using polynomial interpolation for the PWM stuff, and my undestanding is that this is not necesarily optimum.)
     
    Last edited: Oct 19, 2015
  16. Andre Y

    Andre Y Friend

    Pyrate
    Joined:
    Oct 4, 2015
    Likes Received:
    220
    Trophy Points:
    43
    Location:
    Southern California
    I was thinking of truncation without dithering, which would introduce an out-of-band signal that would alias.
     
  17. ultrabike

    ultrabike Measurbator - Admin

    Staff Member Pyrate MZR
    Joined:
    Sep 25, 2015
    Likes Received:
    8,960
    Trophy Points:
    113
    Location:
    Irvine CA
    That would probably also introduce in-band (non-aliasing) signal noise. But yes, that is possible.
     
    Last edited: Oct 19, 2015
  18. mtoc

    mtoc SBAF's Resident Shit-Stirrer

    Banned
    Joined:
    Oct 22, 2015
    Likes Received:
    85
    Trophy Points:
    28
    Hi ultrabike, what does tap mean here? I remember Bruno Putzeys said although ONE single-bit DAC is enough (i.e. it's done, you could hear the music) but he chose 32, each DAC will carry the whole signal. 32 whole signal(s) will smooth something...

    Is he using some secret weapons?
     
  19. Psalmanazar

    Psalmanazar Most improved member; A+

    Pyrate Slaytanic Cliff Clavin
    Joined:
    Sep 27, 2015
    Likes Received:
    5,345
    Trophy Points:
    113
    Who cares about his resolution and performance so far above ADCs and redbook? How about he builds something easy to implement that sounds relatively neutral and with a filter doesn't discard (or is at least able to accurately reconstruct) all the phase? Not that modern, sterile "studio sound" crap has any phase left in it after being mixed to a surgical ward. Sabre can mass produce shit that measures great but still sounds like a Sabre even with ridiculously overbuilt and filtered power supplies. Other brands of DACs like Wolfson, AKM, or TI do not have any measurable high frequency roll-off; Sabre just sounds like a saber.
     
    Last edited: Jan 31, 2016
  20. firev1

    firev1 Friend

    Pyrate
    Joined:
    Sep 27, 2015
    Likes Received:
    44
    Trophy Points:
    18
    Location:
    Singapore
    Its basically the same kind of claims(possible mind you) that Chord makes. Making your own custom modulators to achieve better performance than the off the shelf stuff. Still wanna try his stuff. Also really like the stuff he did with Hypex n-core.

    Its also true that for most dac design work, current ADCs simply don't provide the resolution needed without a Twin-T notch filter for some really fine measurement work. Then again it depends on what you goal actually is. For very low THD(if that is the designer's goal), Twin T and distortion magnifiers are required.
     

Share This Page