EEVblog Electronics Community Forum

Electronics => Projects, Designs, and Technical Stuff => Topic started by: helloThere on December 04, 2024, 03:37:32 pm

Title: Digital potentiometer to set the gain of an op amp?
Post by: helloThere on December 04, 2024, 03:37:32 pm
Just curious because I'm working on a piezo driver/receiver and was thinking about for another revision having the receive operational amplifier use a digital potentiometer to have more flexible gain control depending on the piezo element. Is this done very often for gain control?
Title: Re: Digital potentiometer to set the gain of an op amp?
Post by: nfmax on December 04, 2024, 06:01:27 pm
Not quite a digital potentiometer, but I used the equivalent in, as it happens, a piezoelectric ultrasound transducer receiver:
https://www.eevblog.com/forum/projects/programmable-gain-amplifier-flat-to-10-mhz/msg5617787/#msg5617787 (https://www.eevblog.com/forum/projects/programmable-gain-amplifier-flat-to-10-mhz/msg5617787/#msg5617787)

It works well
Title: Re: Digital potentiometer to set the gain of an op amp?
Post by: mikerj on December 04, 2024, 07:08:47 pm
You can use a digipot to adjust gain, but pay close attention to their very limited bandwidth.
Title: Re: Digital potentiometer to set the gain of an op amp?
Post by: Benta on December 04, 2024, 07:23:41 pm
Not to mention taking care of DC levels. A digi pot doesn't float like a passive pot.
Title: Re: Digital potentiometer to set the gain of an op amp?
Post by: Kleinstein on December 04, 2024, 09:23:56 pm
The digital pots have a somewhat limited BW. The frequency range for ulrasound is quite large and it would only be the low end to work well with digital pots. Usually one does no need very fine adjustments and porpose build PGA type amplifiers with more corse gain steps may be the better solution.
For fine adjust some multiplying DACs are a good alternative too.

Many of the digital pots can float (no direct link to ground), but need to be used within the supply limites.
Title: Re: Digital potentiometer to set the gain of an op amp?
Post by: coppercone2 on December 05, 2024, 03:21:59 am
how about jfets
Title: Re: Digital potentiometer to set the gain of an op amp?
Post by: Terry Bites on December 05, 2024, 10:34:06 am
As Kleinstein says, the terminal capacitance of these things will severely limit the hf response.
But see this www.analog.com/en/resources/technical-articles/how-to-increase-the-bandwidth-of-digital-potentiometers-10x-to-100x.html (http://www.analog.com/en/resources/technical-articles/how-to-increase-the-bandwidth-of-digital-potentiometers-10x-to-100x.html)
This may interest you www.edn.com/dpot-pseudolog-log-lookup-table-actual-logarithmic-gain (http://www.edn.com/dpot-pseudolog-log-lookup-table-actual-logarithmic-gain)

A wideband VGA or PGA is probably the simplest solution. 10-100's Hz bandwidth.
Many of them are cheaper than an a digipot wideband amp combination! eg a MAX3523 PGA or or if you still want to use the digipot as the gain control something like a LMH6503 VGA would work well.
Also consider analog multipliers as wideband VGAs.

www.analog.com/en/parametricsearch/11327#/sort=s3,asc (http://www.analog.com/en/parametricsearch/11327#/sort=s3,asc)]https://www.analog.com/en/parametricsearch/11327#/sort=s3,asc
www.ti.com/amplifier-circuit/pga-vga/products.html (http://www.ti.com/amplifier-circuit/pga-vga/products.html)]https://www.ti.com/amplifier-circuit/pga-vga/products.html