Digital pot and switch with a Tripath TA2020

May 06, 2006 7 Replies

Hi to all, I'm building an audio amplifier with the TA202 chip (it's simple to solder at home and sounds great) for home use. I'd like to use a digital potentiometer as volume control and a digital switch to select the inputs (4 way will be enough).



My problem is that I'm a bit inexperienced, so I don't know how to put a pot like DS1802 (audio pot from Maxim) in the circuit Tripath shows in the datasheet.



I'll try to draw the circuit here, if it's not clear this is the link:

formatting link


OUTSIDE | INSIDE | +- R2 --|OP-AMP OUT | | input --- C -- R1 -+-------|INV | | V \\______/ AC, maybe L---> high pass filter: no more DC with Dc bias



Inside the chip there is an opamp that takes INV and a constant signal as input, it's output is the OP-AMP OUT (obviously, OP-AMP OUT is only a feedback, not the only output).



OP-AMP OUT------+ |\\ | INV---| \\ | | \\ -----+---amplification



2,5V--| / |/

The TA2020 gain is: constant*R2/R1.



(I hope not to write obvious things).



The digital pot does not allow AC inputs/outputs, so I cannot put it instead of R2, since it is connected to R1 on one side and in R1 flows an AC signal.



How should I modify the circuit? I'd like not to put the digital pot simply after R1, since it would change the high-pass filter and it would attenuate the signal (less dynamic range), not set the gain.


As far as it concerns the audio input selection, I think I will read what is already available in sci.electronics.* before asking. However, I will probably have the same problem: the switch will accept DC inputs while I have AC inputs.



Thank in advance to anyone! I hope to be able to build my hi-fi soon! (I have already designed the circuit board, the gain and the switches are the only things left).



Olaf Marzocchi


Frankly the DS1802 seems a poor choice since it can't handle ac signals.

Graham

Could you suggest me another chip or keyword?

Thank you

Olaf Marzocchi

You could take a look at this for example. It'll run off +-5V so it can control ac signals without dc biasing. Choice of I2C or SPI control.

formatting link
formatting link

Graham

Thank you, I'll look for a product that supports pushbuttons.

Olaf Marzocchi

I suspect you're unlikely to find a single chip solution.

Graham

I found ICs supporting manual up/down control, it's enough... I have 13.5V and 5V on the board, both DC. With a simple resistor divider I will obtain +- 6.75V or +-2.5V.

Thanks again, nice group.

Olaf Marzocchi

Mh, well, meybe it's better to find another way, the resistor divider does not keep a constant voltage.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required