Selectable Gains With Analog Switches

I intend to use a an AD1604 analog switch that has a bandwidth of 15MHz with an LTC6244 op amp that has a GBW of 50MHz for two functional blocks:

1) A transimpedance amplifier where the AD1604 would select among four feedback resistors to make the transimpedances selectable.

2) A voltage amplifier with four selectable gains.

The bandwidth of both amplifiers needs to be at least 1MHz.

For both amplifiers my concern is what a 15 MHz bandwidth analog switch in the feedback path of a 50Mhz op amp will do to the op amp's stability. Would the analog switch create a second pole in the feedback path that would reduce the phase margin and cause oscillations?

In the voltage gain stage would the 15MHz analog switch in the feedback path mean I could only have a gain of 15 to get a bandwidth of 1MHz? Or would the entire 50MHz of the op amp remain available making the maximum gain 50?

-- To reply directly remove the sj. from my email address. This is a spam jammer.

Reply to
Artist
Loading thread data ...

Sure that part number is right? Analog Devices doesn't seem to know the AD1604.

TIAs go berserk mainly in one situation: Too much capacitance from IN- to ground while there isn't enough from IN- to OUT.

1MHz ain't that much. Best to post a schematic, it all depends on your resistor values.

Again, depends on two things:

a. Your resistor values.

b. MUX capacitances, especially the ones to ground or supply (which in terms of bandwidth calculations is like ground).

--
Regards, Joerg

http://www.analogconsultants.com/

"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
Reply to
Joerg

Why not use an active resistor or a digital pot?

formatting link

With a bjt you can easily provide programmable variable gain. You can combine the ideas by using driving the bjt with a digital pot or switched array of resistors if you want a discrete version.

Reply to
bob.jones5400

It also depends on where you put the analogue switch: for example: in a simple circuit, with a series combination of feedback resistor and analogue switch, if you put the switch next to the input of the op amp, the charge injection will upset the stability of the amplifier (you are injecting charge right into the input). If you put the switch on the output side, the charge injection is injecting into a low impedance node (the output) and is buffered from the input by the feedback resistor.

Both configurations are electrically identical, but one has problems and one does not (... or has less).

--
Bill Naylor
www.electronworks.co.uk
Electronic Kits for Education and Fun
Reply to
Electronworks.co.uk

You are right, it is the wrong number. The correct number is ADG1604:

formatting link

If the only dependence is on the resistors I am switching and the capacitances of the MUX, what is the rated bandwidth of 15MHz based on?

I the highest value resistor I am switching is 8 Kohm.

--
If you desire to respond directly remove the "sj." from the domain name 
part of my email address. It is a spam jammer.
Reply to
Artist

One thing to watch out for... If changing "gain" also changes GBW you may change your phase margin and get instability.

...Jim Thompson

--
| James E.Thompson, P.E.                           |    mens     |
| Analog Innovations, Inc.                         |     et      |
| Analog/Mixed-Signal ASIC\'s and Discrete Systems  |    manus    |
| Phoenix, Arizona  85048    Skype: Contacts Only  |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |
             
 I love to cook with wine     Sometimes I even put it in the food
Reply to
Jim Thompson

I know about capacitances on virtual grounds and know how to calculate the noise and bandwidth limitations they impose. The data port of the mux has been designed to be on the op amp's output. This is well covered by Jerald G. Graeme.

For the TIA I have decided to use the ADG1404 which has a bandwidth of

55MHz. As a precaution I will also design into the board a footprint for a capacitor between the op amp's output and the virtual ground.

For the voltage gain amplifier I have decided to switch the resistors from the inverting input to ground of a noninverting amplifer instead of feedback resistors to take the analog switch out of the feedback path. This would assure stability but I am not sure what that would do to available gain bandwidth constant for calculating gain versus bandwidth.

I do not have serial buses available to control digital pots. This board must be controlled by the digital port of a National Instruments PCI-6110 card. The selectable gains of the voltage amplifier must be from 1 up to 1000 while maintaining a bandwidth of at least 1 MHz. I have decided to use two stages of an LT1806 to do this.

formatting link
The first stage will select four logarithmically distributed gains from 1 to 100. The second stage will have the same from 1 to 10.

--
If you desire to respond directly remove the "sj." from the domain name 
part of my email address. It is a spam jammer.
Reply to
Artist

Use a jfet ?

Graham

-- due to the hugely increased level of spam please make the obvious adjustment to my email address

Reply to
Eeyore

Jfets have linear resistances only at very low voltages.

--
To reply directly remove the sj. from my email address. This is a spam 
jammer.
Reply to
Artist

formatting link

That thing has HUGE capacitances. It's only good at DC or audio.

Again, depends on your values and schematic.

Just do the math, assuming a plain RC path: 8K and 100pF or more in capacitance, uhm, I don't think you'll even get to the MHz range much.

--
Regards, Joerg

http://www.analogconsultants.com/

"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
Reply to
Joerg

I assume Graham meant hard-switched JFETs.

--
Regards, Joerg

http://www.analogconsultants.com/

"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
Reply to
Joerg

Up to about 100mV pk.

V=IR. How much current were you planning to put through them ?

I know some JFETs go as low as 8 ohms typ. Not good enough ?

Graham

-- due to the hugely increased level of spam please make the obvious adjustment to my email address

Reply to
Eeyore

formatting link

With the op amp's output on the D port of the ADG1604, or even the ADG1404, the capacitance of either of these switches will not make a pole with the 8K resistor.

My concern now is that it will make a pole with the output resistance of the LTC6244 causing instability. This will make necessary a series resistor and capacitor pair across the op amp's inputs for stability. The value of these will depend on the feedback resistance so now I am looking at the possibility having to switch these as well.

The switchable gains for the TIA were a nicety and not a necessity. I am giving up on the switchable gain for the TIA.

The switchable voltage gain is a necessity. I will look at switching resistors for it using jfets.

--
To reply directly remove the sj. from my email address. This is a spam 
jammer.
Reply to
Artist

Correct ( in view of the word 'switch' ). You use as many as you need ( as bits of resolution ). Been there, done that. They can work well as linearish control devices too.

Graham

-- due to the hugely increased level of spam please make the obvious adjustment to my email address

Reply to
Eeyore

formatting link

The input-to-output capacitance will not make for much of an "off" position. Again, a switch with an Rdson of 1ohm is nice for heavy duty stuff but not at several kohm and several MHz.

Yup, you've go to calculate your phase margins. BTW, the cap then doesn't go across the inputs but from IN- to OUT, then R to load.

With a low-C mux you could do it.

Without a schematic none of us will really know what you are tring to accomplish. But have you thought about using an amp with gain control input? They cost more but with all those muxes you are putting on it might pan out price-wise.

BTW, did you bring that sinewave burst project to a success? Just curious.

--
Regards, Joerg

http://www.analogconsultants.com/

"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
Reply to
Joerg

In the young and wild days we used cheap current-steering DACs for gain control. It made some people's toe nails curl up during the design review.

--
Regards, Joerg

http://www.analogconsultants.com/

"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
Reply to
Joerg

formatting link

CD and RD at:

formatting link
is the stability network I am referring to.

The principle is the greater the feedback ratio the more stable a control system is. RD increases the ratio. CD causes that ratio to be in effect only at the needed frequencies.

--
To reply directly remove the sj. from my email address. This is a spam 
jammer.
Reply to
Artist

Ok, got your email with schematic. If you really want to use FET switches, this is what I've used in similar situations:

formatting link

Excellent performance, low capacitance, if the roughly 70ohms Rdson bother you, you can neutralize that by using one switch (on the saem chip) as a dummy in a reverse feedback path or something. Or maybe use the same chip on both 1k, on both 2k, and so on respectively if that would cancel out. The Rdson on the same chip tracks quite well.

The downside: SD5400 have become specialty parts, now only via LIS, and I've heard not such good things about actually getting parts from them. But if it's for just one or a few units it could be ok.

Bottomline the mux capacitances need to be in the low single-digit pF-range and that means highish Rdson. Only relays are better but you probably don't want those.

--
Regards, Joerg

http://www.analogconsultants.com/

"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
Reply to
Joerg

formatting link

formatting link

Ok, it sounded like you just wanted to place a capacitor across IN- and IN+. That wouldn't have worked.

I usually prefer the in-loop method but as people say, there are many roads to Rome ;-)

--
Regards, Joerg

http://www.analogconsultants.com/

"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
Reply to
Joerg

I have decided use a programmable gain amplifier instead of trying to design and build this myself. The AD8231,

formatting link
would have been perfect had there been enough bandwidth at its higher gains because of its parallel digital inputs. All other such amplifiers I can find that have sufficient bandwidth work off I2C or SPI serial buses. This presents a problem for me for which I have started a new thread.

--
To reply directly remove the sj. from my email address. This is a spam 
jammer.
Reply to
Artist

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.