AD768 as audio DAC

Here's some pictures of the progress I've made, I've built the logic boards, but none are 100% complete yet as I'm waiting for some parts to arrive.

The shift register boards are a bit messy, not my best work, after I did them I wished I'd laid them out differently, but that is hindsight.

I've obtained a really nice enclosure to put it all in, I'll take some pics of that after the England vs Croatia game, which is just about to start.
 

Attachments

  • DSC00482.jpg
    DSC00482.jpg
    232 KB · Views: 115
  • DSC00483.jpg
    DSC00483.jpg
    296.9 KB · Views: 108
  • DSC00484.jpg
    DSC00484.jpg
    323.9 KB · Views: 105
  • DSC00485.jpg
    DSC00485.jpg
    337.3 KB · Views: 102
Made some further progress, so now I can start to work out the rest of the device - the receiver, digital filter(s) and the analogue output stage.
 

Attachments

  • DSC00497.jpg
    DSC00497.jpg
    258.9 KB · Views: 102
  • DSC00495.jpg
    DSC00495.jpg
    402.9 KB · Views: 110
  • DSC00492.jpg
    DSC00492.jpg
    342.4 KB · Views: 92
  • DSC00491.jpg
    DSC00491.jpg
    223.8 KB · Views: 81
  • DSC00488.jpg
    DSC00488.jpg
    293.7 KB · Views: 70
Because of few proposed sch-s for thermometer encoder only one "working" :(
in sim-spice that i "tested" and will try to made some dac with that segment...
.
Some close to common-sense number of MSBs to send to Thermoter is limited to first 4 that is for 15. Advantages may be, single R value network (like fir DSD used). I think that still these Rs should be from small tolerances. But I will report and will start from worst case 1% test...
Next this midlle-complicated thermometer circuit adding some delay probably could be corrected to all other net lines?

To my understanding there are no chips around which would perform "3 to 7" or "4 to 15" thermometer encoding - am I right?? At least I couldn't find any. If that is the case, the question is WHY ON THE EARTH do they not exist? I have seen the logic on a paper, which did not look much complicated...
 
To my understanding there are no chips around which would perform "3 to 7" or "4 to 15" thermometer encoding - am I right?? At least I couldn't find any. If that is the case, the question is WHY ON THE EARTH do they not exist? I have seen the logic on a paper, which did not look much complicated...
This is simply logic digital IC that performs binarry to termomether decoding. Some DACs are already implemented circuits inside the chip.
Yes circuit does not so complicated until 4 to 15 bits but it is for say more than 4 bit... :(
Yes I didnt see any "compact" IC example of this type of circuit - so You should make it from logic gates...
 
How about making the good old voltage divider string (like a pot), giving it some stable v_ref and selecting the output with a mux? Below is one with impressive specs. No thermometer code needed and I would guess almost no current switching glitch would exist. Please note that the string could be made using quite low resistor vales so that it would look like a very low output voltage supply seen from mux - even though the mux specs indicate very low leakage.

What am I missing? Why haven't we seen such a thing so far (well, at least I haven't)

https://eu.mouser.com/datasheet/2/609/ADG726_732-1503078.pdf
 
Maybe I can layout a logic board that accept I2S?
And probably compatible with commonly-used 20Pin like Amanero and XMOS?
USB-->I2S--->Logic Converter-->Paralleled Data Bits--->DAC

I am slowly learning the terminology. Are you suggesting something like this as an example:

16 bit data --> (10 bit binary weighted) + (6 bit unary) = 10 bit + 63 bit (2^6 - 1, thermometer code) = 73 bit parallel --> DAC.

Alternatively, if 73 pins are a bit too much, how about loading 73 bit words serially into shift registers, which then put parallel out to the DAC?

I have no idea what can and cannot be done with these microprocessors like Arduino, Raspberry etc (or those you have mentioned??). Can they, for example, reverse all the bits and add 1 if MSB = 1 so we get an easy sign magnitude code? This would be one of my my dreams as well.
 
Thank you... You may be right. But I think one day I need to go through some trial to be convinced :D

As we started chatting about segmentation, let me share the following idea, which does not require the thermometer code. You might have seen it though. As you see, I am willing to try something, which is not touched upon yet. In particular, it my be possible to obtain 3-5 segments (each fully decoded) and stitched together with binary weights. I tried to explain the idea with an example in # 5.

https://www.diyaudio.com/community/...r-string-selector-switch.385507/#post-7004263
 
This is simply logic digital IC that performs binarry to termomether decoding. Some DACs are already implemented circuits inside the chip.
Yes circuit does not so complicated until 4 to 15 bits but it is for say more than 4 bit... :(
Yes I didnt see any "compact" IC example of this type of circuit - so You should make it from logic gates...

@Zoran, to come back to this thermometer code issue... Have you seen any attempt which use the so called "diode matrix" (or diode ROM)? Below is an example for n = 3 and n=4 using 120 cheap diodes does not seem too crazy. The resistors could be around 5k.


Thermometer Code Diodes.png
 
Thanks but when you build a segmented DAC, say for n=3 MSB, you will need to add 2^n - 1 = 7 unary pieces (see below for the generic idea). I did a sloppy job in explaining my idea. In my drawing I did not show 3 binary inputs. I have only shown 8 corresponding decoder outputs (on the left - just 1 out of 8 stuff) and 7 thermometer outputs (at the bottom). I have exemplified 3 codes from decoder output and 3 corresponding thermometer codes (black, red, blue). Let me add that on the LHS, binary input goes from 000 to 111, from bottom to top. So, the whole picture is equivalent to the table you kindly supplied above.


Untitled2.gif