0
\$\begingroup\$

I have two AC signals in audio range \$V_1\$ and \$V_2\$, both around \$2\,\mathrm{V}\$ p.p.. I need to interpolate between the two linearly through some external control voltage \$V_c\$ (ideally also in audio range, but can be slower if it's not feasible) that varies between \$0\,\mathrm{V}-3\,\mathrm{V}\$, something like

$$V_{out}=\left(1-\frac{V_c}{3\,\mathrm{V}}\right)V_1+\frac{V_c}{3\,\mathrm{V}}V_2.$$

I, however, have no idea how to approach this. I'd bodge a solution by figuring out some sort of voltage controlled potentiometer, but I don't really know of anything of the sort either.

\$\endgroup\$
3
  • \$\begingroup\$ How quickly do you need to change the ratio between how much of V1 is in Vout and how much of V2 is in Vout. There are "digital potentiometers" that will solve your problem, but they are not instantaneous. \$\endgroup\$ Commented Feb 14, 2021 at 5:32
  • \$\begingroup\$ In music recording business this is a common task. Studio equipment based on voltage controlled amplifiers became common in 1980's . They had analog multipliers or motorized potentiometers. Detailed mixing of say 48 recorded tracks needed automated desks. Good enough gear was beyond the reach of hobbyists. Today it's all done in digital domain. Low cost recording and mixing workstation programs + PC audio interfaces have dropped the cost say 99%. In such software Vc is for ex. LR balance control envelope. Programming smoothly changing controls without "zipper noise" is far from trivial. \$\endgroup\$
    – user136077
    Commented Feb 14, 2021 at 7:32
  • \$\begingroup\$ I need to interpolate between the two linearly through some external control voltage - do you mean you want a 2 channel voltage controlled audio mixer? Single quadrant analog multiplier. Analog multiplication. \$\endgroup\$
    – Andy aka
    Commented Feb 14, 2021 at 9:39

3 Answers 3

1
\$\begingroup\$

in effect you need to multiply one signal by the control input (scaled to be a number between 0 and 1), and multiply the other input by 1- the control input, then add the two together.

There's two basic approaches, either you buy an expensive multiplier chip, or you convert the control input into a fast PWM signal and use that to drive an analogue multiplexer (like CD4053 / HEF4053) then filter out the PWM frequency.

\$\endgroup\$
1
  • 1
    \$\begingroup\$ Third alternative. digital potentiometers plus microcontroller. \$\endgroup\$ Commented Feb 14, 2021 at 5:49
1
\$\begingroup\$

Sounds like an application for analog multipliers: For example, the AD633

enter image description here

You could need two, plus a 3.0V reference voltage. If you need the exact transfer function you state, you'd also have to multiply the result by 3.33 (so an op-amp and a couple resistors).

So you'd feed Vc into X2, 3.0V into X1, 0V into Y2, V1 into Y1, 0V into Z on the first. Output from W is (3-Vc)*V1/10

Then on the second

Vc into X1, 0V into X2, 0V into Y2, V2 into Y1, W (from the first one) into Z and take the output from W.

Output from W is \$V_{W2} = (0.1)(V_CV_2 + (3-V_C)V_1)\$

Then a simple non-inverting amplifier with two resistors to bring the output up to the desired level.

The downsides are these parts are rather expensive, and they are not terribly accurate. You could consider doing it digitally, which is quite practical at audio frequencies with a 32-bit micro.

Or with a digital pot that can handle bipolar signals, connect one side to each of the inputs and feed it a digital control signal that results from converting the 0-1V input to 0..xx where xx is the maximum setting of the digital pot. Eg. AD5121

Also, for actual audio applications, OTAs such as LM13700 are used, but don't expect much in the way of DC accuracy or stability.

\$\endgroup\$
0
\$\begingroup\$

The old-style canonical way to do this was with VCA. But, with good performance, they are horribly expensive. If you need it directly controlled by an analog voltage that's IMHO the only way to do it.

Just be careful since most VCA have logarithmic scale while you said you need a linear scale (it's a crossfader). A cheap way would be to use a JFET as an attenuator; it's routinely done in audio AGCs but it's… well… difficult to control without a feedback loop. Here you can find some pointers:

https://www.sound-au.com/articles/vca-techniques.html

and this is an example design. Note that is using a longtail so you need matched transistor to make it work well:

https://kassu2000.blogspot.com/2015/10/vca.html

Another way to do that would be using analog multipliers. out=af+b(1-f). Even more horribly expensive. AFAIK only analog device still makes them.

Now. In 2021. Pick a cheap DSP of your liking (or a small FPGA) and just do it in digital domain. Audio frequencies can be even handled by dsPICs and you have no drifting/offset/distortion issue, just use some decent converter (the builtin ones are usually subpar)

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.