DAC output help

Where we discuss new analog design ideas for Pro Audio and modern spins on vintage ones.
User avatar
JR.
Posts: 3704
Joined: Sat May 24, 2008 7:21 pm
Contact:

Re: DAC output help

Post by JR. »

juniorhifikit wrote:Let me see if I've got this right: It seems that the scale of the VCA is determined by the maximum DAC output (4.1v) times the buffer's Rfb (1K in my case) divided by the total series resistance of the CV path (aprox 10K2 in my case) which lands around 400mV for each CV port - roughly half of the single port design shown in the data sheet. So far so good.
Yes roughly speaking. For 0V DAC output (ignoring offset current), 0V current to opamps and 0V out. 4.1V DAC output, delivers a current to that opamp inverting virtual earth = 4.1V/total input string R, while there is a slight scale issue related to bias resistor to negative voltage forming a divider and stealing some current from the inverter input.
If I were to raise the series resistance between the DAC and the buffer, and consequently the buffer's Rfb (to keep my scale correct) I feared I would be driving the CV port with too high an impedance, as it wants to see less than 50 Ohms. I was kind of under the impression that this was not a negotiable item.
The Ec ports are both driven from opamp outputs so <50 ohms. The value of the inverter input and feedback resistors are kept relatively low Z to manage noise (self noise of resistors) and keep divider and offset impedances sensible, but exact values are arbitrary and can be changed as long as both are equal for EC drive symmetry.
In regards to my drawing on page 2, would I gain anything by removing C8 & R7 WRT this problem?
R7 is absolutely necessary to generate the non-inverted polarity of the control voltage.

C8 is sort of working at cross purposes. It us useful to provide a pole of filtering to reduce noise in raw CV, and slow the rate of change. It somewhat defeats my first order cancellation of the inverter stage noise that is also present at the top of R7. The relative benefit of C8 being large and exactly there depends on relative contribution of noise sources in your actual working unit. If raw CV noise dominates C8 is good, If inverting opamp noise dominates, not so good. My guess is c8 helps more than it hurts.

Note: c8 is in addition to pole already in DAC output, but you do need some filtering in the negative bias string especially if you remove c8. I would be tempted to add pole in negative bias string, and experiment on one channel to see if noise floor is better with/without c8 . You should be able to tell by comparing two similar channels noise floor at boost or unity gain.
If you're going to invest any effort into this approach a simple tracking supply can probably be made from one opamp... but this may not be necessary if we lighten up the impedances the DAC is seeing.
I thought I wanted to increase the impedance between the DAC and the rest of the world, to keep stray start-up current flowing elsewhere. Now I am confused :?
Lighten load= higher impedance.. sorry if my verbiage is imprecise.
As to a tracking supply, I assume you mean the bias supply tracking the 5v DAC supply? I just started hunting for a design...
If you can design an inverting opamp you can do this yourself. 0 to +5V input V through say a 5k input resistor for round numbers, with a 12k feedback resistor for equally round numbers will result in a 0 to -12V output tracking 0 to +5V input. If the opamp is too wimpy for the cuirrent required a pnp transistor can be added in series with the opamps output (base to OA output, collector to - unregulated, and emitter the new higher current output. Connect the 12k feedback resistor to the emitter not the opamp output (a 1k resistor from opamp output to emitter will also provide a DC path for opposite polarity drive very close to 0V if there are small DC errors. Note: there is a temptation to filter and slow this down that works against the quick tracking response. It will still be best, to impedances around the DAC higher and less harmful.

You can do this simple design yourself, and analysis of the VCA for endpoints, scale, and offset are derived using ohms law, and making assumptions, like unity gain is 0V at top of c8 so only DAC and offset resistors are involved in that calculation. I don't derive fancy complex equations to do this, I just use trial and error and ohms law to converge on good values.

JR
Cancel the "cancel culture", do not support mob hatred.
juniorhifikit
Posts: 139
Joined: Sun Oct 04, 2009 8:37 am
Location: Oakland/Paris

Re: DAC output help

Post by juniorhifikit »

mediatechnology wrote:

So what's wrong with this?

Image
Absolutely nothing! It's just that I've already built the prototype and the circuit board would have to be redone to accommodate the pin swap and added resistors. That would mean a lot of desoldering and resoldering components, or trashing the old board and buying new components for a new board (around $450). If I can make it work with the current design, I'd prefer it. But it's good to know it's there if I need it as a solution.
User avatar
mediatechnology
Posts: 5452
Joined: Sat Aug 11, 2007 2:34 pm
Location: Oak Cliff, Texas
Contact:

Re: DAC output help

Post by mediatechnology »

OK. That's the reason I thought you might give.
juniorhifikit
Posts: 139
Joined: Sun Oct 04, 2009 8:37 am
Location: Oakland/Paris

Re: DAC output help

Post by juniorhifikit »

Just a quick update - I had moved the bias point to the top of C8 and adjusted all of the necessary scale resistors; replaced the damaged DAC (possibly from previous stress); and put the unit back into service in the studio where it's being tested. I breadboarded the bias supply tracking from the +5V supply using an inverting opamp (see schematic) but did not have time to shoe-horn it into the prototype. The entire bias circuit draws 6.5mA, so I doubt I will need the PNP boost on it's output.

I will report back once I get feedback from the users.

Thanks everyone!
Image
User avatar
JR.
Posts: 3704
Joined: Sat May 24, 2008 7:21 pm
Contact:

Re: DAC output help

Post by JR. »

The 5V supply is probably not noise free, so perhaps a small cap across the 12k feedback resistor, and/or a cap to ground from the middle of r3. Especially useful if we experiment with back off c8 to see if noise cancellation there is useful.

The 5V supply will probably have HF noise so cap probably doesn't need to be large , perhaps a .1uF across the 12k.

JR
Cancel the "cancel culture", do not support mob hatred.
juniorhifikit
Posts: 139
Joined: Sun Oct 04, 2009 8:37 am
Location: Oakland/Paris

Re: DAC output help

Post by juniorhifikit »

juniorhifikit wrote:Just a quick update - I had moved the bias point to the top of C8 and adjusted all of the necessary scale resistors; replaced the damaged DAC (possibly from previous stress); and put the unit back into service in the studio where it's being tested. I breadboarded the bias supply tracking from the +5V supply using an inverting opamp (see schematic) but did not have time to shoe-horn it into the prototype. The entire bias circuit draws 6.5mA, so I doubt I will need the PNP boost on it's output.

I will report back once I get feedback from the users.
Well, I just heard back from the studio that another DAC channel went belly-up. I'll recover the prototype, install the tracking supply for the bias, and cross my fingers. More waiting... I'll report back when I have more results.
User avatar
JR.
Posts: 3704
Joined: Sat May 24, 2008 7:21 pm
Contact:

Re: DAC output help

Post by JR. »

I've lost track of what exactly your schematic looks like these days. If the the parts that failed were operated the old way for a while before the last round of improvements, they may have been damaged then and just took a while to fail.

or not...

Let us know..

JR
Cancel the "cancel culture", do not support mob hatred.
juniorhifikit
Posts: 139
Joined: Sun Oct 04, 2009 8:37 am
Location: Oakland/Paris

Re: DAC output help

Post by juniorhifikit »

Happy to report that the new bias supply, using an inverting opamp & tracking off the same regulator that feeds the DAC's (as JR suggested), seems to be working great. Not a single problem in three weeks since adding the circuit. Major thanks everyone!

p.s. the schematic is the one posted above, without the transistor boost for the bias (not needed)
User avatar
mediatechnology
Posts: 5452
Joined: Sat Aug 11, 2007 2:34 pm
Location: Oak Cliff, Texas
Contact:

Re: DAC output help

Post by mediatechnology »

Cool!
User avatar
JR.
Posts: 3704
Joined: Sat May 24, 2008 7:21 pm
Contact:

Re: DAC output help

Post by JR. »

Glad it worked out. I suspect there was still a simpler fix, but for low volume projects it's not worth losing sleep over.


What is your general sense of the approach, after getting some time on it, without magic smoke leaking out?

JR
Cancel the "cancel culture", do not support mob hatred.
Post Reply