Re: Voltage Gain Switch (Design Help)




Phil Hobbs ha escrito:

leo2100@xxxxxxxxx wrote:
Phil Hobbs ha escrito:
(snip)

I might use a voltage divider something like this:

0-----RRRRRRR------*--------*-------*-------0
| | |
30k R R R
R R R
7k50 R 3.33k R 610 R
R R R
R R R
| | |
0 0 0

2N7002 2N7002 2N7002

gnd gnd gnd

You could probably get away with some DMOS peripheral driver chip for
all 3 switches, because none of them will ever get further than 0.2V
from ground in normal operation, so none of the protection diodes will
turn on. The 2N7002 gets down to 2 or 3 ohms on resistance, with some
very small nonlinearity at the current levels we're talking about.
Their capacitances are in the 100-pF range at low voltage, giving a 3 dB
frequency of something like 18 kHz for three of them.

I`m going to answer the designs one by one.

About this one, I understood the general idea, which I believe is to
switch gains through the MOSFETs. But, I have no idea about the second
stage, the attenuator. First the signal gets amplified then attenuated,
the overall gain of the two stages being at least 2. Then it goes to
the third stage which has a fixed gain of 50 ? Which of the stages has
the selectable gain (voltage divider)? You probably should mention a
standard DMOS driver because I have never used one before.

It`s unlikely that I will use this design, but I am interested in how
it works, seems rather unconventional :)


Well, unconventional in the sense of being a minor variant of the one
used in every oscilloscope in the universe, at least until recently....

You're right about the nonlinearity and on-resistance problems with
switches--which is a a strong reason to keep the amplifier gains fixed,
and do the gain switching at low-to-moderate signal levels. There are
also pickup and noise peaking problems with hanging all sorts of
gingerbread on summing junctions. Your predecessor used relays to
switch fixed-gain amplifiers in and out, which isn't a bad design for a
one-off.

What's so hard to understand about the design I posted? You need a gain
of 100, 500, 1000, or 5000. Taking out a common factor of 100 for the
first stage gain means that the amplifier noise, offset, and drift
behaviour will basically depend only on the first stage. This is an
important point in instrument design.

A passive attenuator using big honking MOSFETs (2 or 3 ohms ON
resistance) gets rid of the switch nonlinearity completely. The ones I
show cost 20 cents each, and are available everywhere including
Antarctica. Putting the switched attenuator between the two amps means
that it can run at the same narrow range of signals at all times, which
makes doubly sure that the MOSFETs are not going to cause a linearity
problem. That's actually one of the nicer features of this circuit.
Choosing a second-stage gain of 50 means a gain of 1.00 for the
attenuator's highest gain setting, which is easy to do accurately.

The output amp, with a gain of 50, gets you back up from +-200 mV to +-
10V. You don't need switches with a huge voltage range, and the
attendant resistance nonlinearity and temperature drift. *Note that you
can't tune out the nonlinearity and drift with a pot.*

Once again, this design doesn't cause excess noise, offset, or drift,
because the overall gain up to the attenuator output is always at least
2. This is simple to prove--about 3 lines of algebra. It's simple,
cheap, made from jellybean parts, and will work very well. Other than
that, it stinks.

Cheers,

Phil Hobbs

Well, I understand now, and I must say I really like the idea. It`s
kind of unconventional in the sense that you are the only one among the
one's who replied that proposed this idea instead of the analog switch
or relays ;)

The only problem is that the control signal comes in binary (from a
PIC), so I will have to use a decoder to drive the MOSFETs accordingly.
That adds another IC to the circuit, yet another thing that can go
wrong (but very unlikely). The decoder pops a question: what VGS
voltage shoul I use ?. From what I gather, more VGS voltage better
linearity and for a wider range of VDS. I was thinking about VGS=10V,
but I will need to raise up the voltage coming from the PIC with a BJT,
so I think VGS=5V is fine, the VDS voltage is already low enough so it
doesn`t matter.

.



Relevant Pages

  • Re: Wins ESR meter design
    ... is the way I was thinking of the design. ... By grabbing the voltage starting some time after the ESL stuff has ... maybe 50R, with controlled rise and fall times during the "0" gain portions, ... driving and demodulating signals. ...
    (sci.electronics.design)
  • Re: Voltage Gain Switch (Design Help)
    ... the overall gain of the two stages being at least 2. ... Your predecessor used relays to switch fixed-gain amplifiers in and out, which isn't a bad design for a one-off. ... A passive attenuator using big honking MOSFETs gets rid of the switch nonlinearity completely. ...
    (sci.electronics.design)
  • boost regulator with LDO mode when Vin > Vout ?
    ... I am trying to design a power supply for a 5V/50mA circuit, ... switch, or from another switch-mode power supply giving ... sometimes lower than the input voltage. ... What other chips should I look at? ...
    (sci.electronics.design)
  • Re: So, whos the king of finding data sheets ... ?
    ... Having this would save on the cost of the rear panel voltage selection switch, having to fit that switch, the wire that connects out to it, the plug and socket on the board that connects to it, two whatever-they-are 'diodes' and one high voltage smoothing cap. ... It's a fairly sophisticated design, apart from the stupidity of not being universal on its input voltage. ... These devices *look* like diodes, and the symbol on the board is for a diode, and they're called D34 and D35, but I can't recall having seen diodes in this position before. ...
    (sci.electronics.repair)
  • Re: Smps loop compensation question...
    ... I need some advice regarding closing the feedback loop of a halfbridge ... of voltage mode control and you might be able to hack some of the models. ... You will need to know what that ESR is and design to take its ... in for gain variations in your opto-coupler. ...
    (sci.electronics.design)