in the meantime there are so many people with hardware design skills here in the forum, that I would like to ask if somebody is interested in creating a successor of the AOUT module which is not based on the expensive MAX525, and which is easier and faster to build than a AOUT_LC module.
With design I mean to develop the circuit, to create the PCB layout and to write some documentation
Only requirement: the used chip(s) should be easily available.
Number of channels and gates + additional options (e.g. CV offset, etc.) to be discussed w/ the community
I´ve been searching for nice DACs in the last time. A very cool IC is the TLV5630 from Texas Instruments. It is a 12 bit, 8 output converter with internal reference (no MAX6007 anymore) and a cascadable SPI interface. Only drawback in comparison to the max525 is that it doesn´t have a gate logic output. But this could be either solved via the normal DOUT chain or a dedicated 74hc595 integrated to the AOUT board. It is available from e.g. Farnell for 15.49 Euros including VAT (1-9 pieces). If the real El Cheapos want to save even more, there are also pin- and instruction-compatible 10 bit (TLV5631) and 8-bit (TLV5632) versions available. And TI´s free sample program is is also really world class compared to Microchip/Maxim etc.
This IC is only available in SOIC form factor, but I think people building an AOUT are more ambituous than average anyway and the OPL3 board has already shown to a number of MidiBoxers that there´s nothing to be afraid of SOIC SMDs as long as you have a premade PCB. And for 8 (!) AOUT_LC DAC channels you´d need to solder hundreds of resistors, so one SOIC is definitely the better choice.
Honestly, I don´t have much experience in DAC design up to now and I don´t have any CV gear around to do real world testing. But I´m in an extensive layouting phase anyway so Thorsten, if you have a look over the data sheet to confirm that this DAC is suitable and major changes in the OpAmp part of the AOUT won´t be necessary, I could do a board. I´ve got TLV5630s lying around here and also have the opportunity to etch boards at university, so after a few questions are settled I could send you a free completed board for testing and programming
from the feature list and from the availability (it’s even available at Mouser) it looks very good!
Only disadvantage I see is the high linearity error of +/-2LSB typical and +/-6LSB max (the MAX525 has +/- 0.5 LSB), which means +/- 3 mV, but I think that this is acceptable (or do I oversee something?)
SMD is ok for such a module (total newbies should start with the R-2R latter, this gives them a training on handling the soldering iron ;-))
Only disadvantage I see is the high linearity error of +/-2LSB typical and +/-6LSB max (the MAX525 has +/- 0.5 LSB), which means +/- 3 mV, but I think that this is acceptable (or do I oversee something?)
yes, I also noticed that this afternoon, and it gave me a bit of a headache. Actually, if my calculator doesn´t lie, +/-6 LSB is around 15 mV? if full scale is 10.67 V (1V/Oct) then 2 LSB is 5.2 mV and 6 LSB would be 15.6 mV. 1 Semitone is 83.4 mV, so 2 LSB is already more than 6 cents detune and 6 LSB is inacceptable!! Still an error of 6 LSB is even better than an 8 bit DAC… I wasn´t aware that CV is so receptible to tuning errors and you can´t get a single clean interval off an 8 bit CV system.
Even though the curve in the datasheet shows “only” INL of around +2/-1 LSB I´d still say this DAC would be noticeably inferior to the max525.
But TI has some other nice DACs. Sadly there are no better 8 output DACs in usable packages, but there´s the DAC7614UB (TI/BurrBrown) with a max nonlinearity of 1 LSB. The curves in the datasheet show that it´s typically around +/- 0.25 LSB! It needs an external reference but should be quite simple otherwise. It is 12.60 Euro at farnell for SOIC. There´s also a PDIP version but the equivalent PB type would cost 25 Euros, so I´d go for SOIC anyway. It´s also available from Mouser.
There´s another 8 channel 12 Bit SPI DAC I´ve found: The Linear Technology LTC 2620. It has INL specced 0.75 typical and 4 max. It is available from RS components for around 18 Euros. Of course the INL is not as good as the DAC7614, but it´s 8 channels, has less unnecessary control pins and at least the specs are noticeably better than the TLV dac. I don´t know how probable it is that the INL goes higher than the typical value and under which circumstances this can happen? Is it just that rarely you can have bad luck and get a bad one or does the value rise e.g. with temperature or age? Another problem is the SSOP16 package (Pin spacing is 0.65 mm). I would be able to solder it but it´s even less newbie friendly than SOIC. So all in all I´m not too enthusiastic about it…
BTW, there is also a DAC7615 version that is double buffered (otherwise same specs like 7614). I don´t know if this is necessary or useful and I haven´t found it under around 20 Euros.
I spent numerous hours searching for acceptable replacement for MAX525s, although I had a bit narrower search criterias. I really couldn’t find anything even nearly matching the needs.
I guess price/performance ratio in 525 is about the right? In a way, I’m questioning, if this is really worth the effort?
For the most MAX525s are one time investment, off course an expensive one when compared to other MIDIbox related stuff. But usually then, the stuff to be controlled is expensive too?
Would the concept of using shift registers and parallel interfaced dacs make the search for a proper and cheap dacs easier?
In general I’m not sure if the price/quality ratio of the MAX525 is still justifiable today (2 years have passed after the first release), and on the other hand I see users (including me) who just only want to control some CC’s (like cutoff, resonance via MBSID or MBFM), where linearity doesn’t really matter, and R-2R latters consume too much area if you want to realize more than 2 channels w/ high resolutions.
But your point about parallel interfaced DACs should also be considered - are there better/cheaper ones available (I don’t think so, but I could be wrong).
another day of searching - Maxim doesn´t offer anything at a realistic price. Analog Devices are either expensive, too, or they come in extremely small packages.
I also searched for parallel DACs but most have only one or two channels and are more expensive than the serial versions anyway. And with shift registers, few channels per chip mean a lot of shift registers (if there are dedicated data lines for every DAC) or an awful lot of bridges on the board. I´d say with the 80x100 mm restriction it would be even hard to get 4 channels onto one board. One of the goals of a redesign should be simplicity, and that is contradicted by the shift register concept.
About the DAC7614/15: I think it has the best value/price ratio. The specs are really good. The only real disadvantage is that it has no cascading output, i.e. probably we´d have to use two outputs of a 74hc595 to control the CS and LOADDAC lines.
If using this DAC, perhaps it would be a good idea to put only 4 channels (one DAC) onto one AOUT board. This way people needing only few channels for filter control could save half the money and effort.
Thorsten, could you please comment on the DAC7614/15 and the LTC2620?
I don’t like both of them. The serial protocol of the DAC7614 (especially the LOADDAC# line) will cost too much performance when many outputs should be updated periodically (MBFM, MBSID), and the LTC2620 comes only in a Lead Package, which means, it could happen, that they won’t be available in 1-2 years anymore.
A quad-DAC on a single board would be ok. Something similar to the DAC7614 (it can optionally be supplied with +/- 5 V, this is really great!), but with serial output and w/o the need for latching the DAC address would be perfect
the LTC2620 comes only in a Lead Package, which means, it could happen, that they won’t be available in 1-2 years anymore.
why´s that? Is there something about the SSOP package that is announced to be discontinued or did you confuse “16-Lead package” with leaded? The part is available RoHS conform.
Something similar to the DAC7614 (it can optionally be supplied with +/- 5 V, this is really great!), but with serial output and w/o the need for latching the DAC address would be perfect
Hmm, I´ll continue to search, but I think I´ve seen most of the established companies parts now, and the DAC probably shouldn´t be too exotic.
Another idea: Coming back to the shift register idea - what about using a single parallel DAC in combination with 8 S&H ICs. The LF398 looks nice and is around 2 Euro. And there are parallel versions of the 7614. The 7624 is quad (but also with loaddac# line etc), but there´s the 7613 single dac. With only one dac you could probably keep the C/S, LOADDAC and R/W at a fixed state (as the 595s are latched at once anyway) and just set the s/h control alternating. Only problem is that the 7613 is also only available as SSOP package.
Sorry, maybe I misunderstood the term “Lead package” - I noticed via findchips.com, that the chip is not available in such a high quantity like the other ones, therefore it looks like it is discontinued. But I could also be wrong…
Also S&H is very bad for the performance. Especially for MBSID and MBFM, where I want to control multiple external filters without loading the CPU that much. Under these circumstances I would prefer the TLV5630 before the others, since a LSB error doesn’t matter so much here.
Really difficult decition! Can’t understand, why manufacturers don’t use such a perfect interface/protocol like the MAX525
I’ve designed a replacement for the AOUT_LC module, using two 4-channel 8-bit AD7226 DACs. They have parallel interface, so I used two shift registers (one per chip) and 2051 for addresing. It is supposed to work like this (I’ve made some minor changes to cv_aout_lc.inc):
Two shift registers are loaded
Values are latched into registers, and in the same tame, latch signal triggers interrupt on 2051
2051 latches values into DAC by setting !WR pin HIGH
2051 increments DAC address
2051 sets !WR LOW, enabling new voltage to be written in next channel
next two bytes are loaded into SR’s… and so on
But after what I’ve read in this topic, I’ve checked its accuracy, and with 8bits, ±LSB or ±2LSB is really bad for driving V/oct VCO in polysynth… :-/
Am I doomed to buy MAX525 or clone some 80’s circuits with single 14bit DAC and S/H? Or are there other ways?
Perhaps it would be worth asking Doepfer what DAC they are using in this new prototype. Not that Doepfer are likely to be using “cheap” components, but they must have checked to make sure of continued supply, and accuracy.
I2C is a relatively slow protocol, so I don´t think it would be a good idea to use I2C DACs.
Anyway, just to keep you updated: Thorsten and I had a talk about this issue in December and decision was made that I will design a new AOUT based on the TLV5630 in near future. The TLV is a reasonable compromise between cost, no of outputs and precision. It probably won´t replace the MAX525 AOUT, but is a cheap and easy to source alternative for people who want to drive e.g. a number of filters with it. The precision will at least be better than an AOUT_LC (without doing really extensive resistor matching in 12 bit mode), and you get 8 channels for only 15 Euros for the DAC.
At the moment I´m really busy with boards for another project, but I will start the design in a few weeks and keep you posted
You could replace the MAX525 with a 74HC595 and a DAC 08 (or DAC 0800, DAC 0832) total costs for this would be 3 Euro (eg. @reichelt). Accuracy would be +/-1 LSB and with a DAC 0830 LCN you can get a linearity error less then 0.1% of the fullscale which would be 10mV…
with an additional lowpass filter and a good opamp eg. OP 27 it would be a perfect replacement
This would be a nice idea for replacing the AOUT_LC. But one 595 and one DAC08(00) are still only one channel. For 8 channels it wouldn´t be cheaper than the TLV5630 and the board would get quite crowded and/or big. A lot of soldering to do, too. And +/- 2 LSB typical of a 12 Bit converter is better than +/- 1 LSB of an 8 bit converter.
your project is very interesting as cheap alternative to the AOUT (8 channels)
I’m looking forward and hope you will find the time to realize this project.
@ MyCo
You’re right. But this is nearly the same as the AOUT_LC. Exept that you change the resistor ladder with the DAC. It shurley looks better, may it’s easier to build and hopefully works more precise then the AOUT_LC version.
Did you have made such a AOUT module ? What about the driver (and schematic) ?
@all
what’s the benefit of 12 bit DAC’s for CV controlled By CC (7 Bit) ?
I think there should be a interpolation of CC data (SW) to obtain a finer stepping of CV,
or the CV will allways have only 127 steps independent if you use a 8 bit or 12 bit DAC.