# Choosing resistor values for non-inverting amplifier and why?

The gain here is A = -Rf/Rin. However, lets say I want a gain of 10 V/V. Which resistor value would you choose and why?

I know that you could have infinite number of combinations for these resistors but why would some one use specific value. i.e Rf = 100Mohm, Rin = 10Mohm gives a gain of 10V/V but also Rf = 10 ohm and Rin = 1 ohm gives the gain of 10V/V. What difference would it make to the design?

My thoughts say that higher value resistors are not precise so it wouldn't give you precise gain and using lower value resistors sink higher current from the source (Vin). Are there any other reasons? Also, let me know If I am right or wrong as well.

-
Yes I do understand them very well. – dr3patel Mar 11 '14 at 7:46
Sorry guys, The amplifier above is inverting amplifier. I hurried to get the image but you should get what I meant by my question. This question can apply to both inverting and non-inverting amplifier. – dr3patel Mar 11 '14 at 18:51

There are downfalls with choosing very large resistors and very small resistors. These usually deal with the non-ideal behavior of components (namely Op-Amps), or other design requirements such as power and heat.

Small resistors means that you need a much higher current to provide the appropriate voltage drops for the Op-amp to work. Most op amps are able to provide 10's of mA's (see Op-amp datasheet for exact details). Even if the op-amp can provide many amps, there will be a lot of heat generated in the resistors, which may be problematic.

On the other hand large resistors run into two problems dealing with non-ideal behavior of the Op-Amp input terminals. Namely, the assumption is made that an ideal op-amp has infinite input impedance. Physics doesn't like infinities, and in reality there is some finite current flowing into the input terminals. It could be kind of large (few micro amps), or small (few picoamps), but it's not 0. This is called the Op-amps input bias current.

The problem is compounded because there are two input terminals, and there's nothing forcing these to have exactly the same input bias current. The difference is known as input offset current, and this is typically quite small compared to the input bias current. However, it will become problematic with very large resistance in a more annoying way than input bias currents (explained below).

Here's a circuit re-drawn to include these two effects. The op-amp here is assumed to be "ideal" (there are other non-ideal behaviors I'm ignoring here), and these non-ideal behaviors have been modeled with ideal sources.

simulate this circuit – Schematic created using CircuitLab

Notice that there is an additional resistor R2. In your case, R2 is very small (approaching zero), so a small resistance times a small bias current I2 is a very small voltage across R2.

However, notice that if R1 and R3 are very large, the current flowing into the inverting input is very small, on the same order as (or worse, smaller than) I1. This will throw off the gain your circuit will provide (I'll leave the mathematical derivation as an exercise to the reader :D)

All's not lost just because there's a large bias current though! Look what happens if you make R2 equal to R1||R3 (parallel combination): if I1 and I2 are very close to each other (low input offset current), you can negate out the effect of input bias current! However, this doesn't solve the issue with input offset current, and there are even more issues with how to handle drift.

There's not really a good way to counteract input offset current. You could measure individual parts, but parts drift with time. You're probably better off using a better part to begin with, and/or smaller resistors.

In summary: pick values in the middle-ish range. What this means is somewhat vague, you'll need to actually start picking parts, looking at datasheets, and deciding what is "good enough" for you. 10's of kohms might be a good starting place, but this is by no means universal. And there probably won't be 1 ideal value to pick usually. More than likely there will be a range of values which will all provide acceptable results. Then you'll have to decide which values to use based off of other parameters (for example, if you're using another value already, that might be a good choice so you can order in bulk and make it cheaper).

-
– Nick Alexeev Mar 11 '14 at 20:35

In your specific op-amp circuit, the voltage on junction of Rf and Rin is the same as the voltage on the non-inverting input. This has to be so - it's called a virtual earth. Given that fact, this means that your signal (Vin) sees an input impedance of exactly Rin. It also means that your output (without connecting to anything else) has to drive an output load that is Rf.

These two facts usually dictate that Rf and Rin are not very small i.e. they are 50 ohms or upwards.

The op-amp has other things about it that means you need to avoid the high end resistor values. These are: -

• Parasitic capacitance from output to inverting input (in effect in parallel with Rf). If Rf is too big the frequency response of the circuit is limited at the high end of the spectrum.
• Input capacitance can cause some instabilities if Rin is too large
• Resistor noise with temperature - this is a well-known phenomena and means, for low noise circuit requirements, Rf and Rin should not be too large.
• Leakage currents in and out of the inputs cause DC errors if the resistors are too big.

I think that's enough for now!

-
When you mean the "circuit is limited at the high end of the spectrum", is it same as saying that your bandwidth is dropped! because with bigger Rf your 1/Rf*Cpara has shifted to left! correct me if I misunderstood your answer. – dr3patel Mar 11 '14 at 21:52
That's about correct. – Andy aka Mar 11 '14 at 22:23
• One of the important differences it the input impedance that V(IN) sees, which equals R(IN).
• Another important difference is that with high impedance resistors, you easier pick up noise and the OPAMP's input bias current will have a larger effect on output voltage offset.
• Also remember that the output must be able to drive the R(F) resistor.
-

First, your diagram is an inverting amplifier, not a non-inverting as in the heading for your question.

There are some common resistors that make good ratios for gain and better yet, common precision resistors with low temperature coefficient and nice resistance ratios. I like to use the precision parts if at all possible. (Same is true for caps in op-amps like for integrators - polystyrene precision and temperature stable). Like 10K/1K or 33K/3.3K. Beyond 100K/10K the Resistance gets high enough that the small capacitance in the circuit starts to turn your circuit into an integrator or differentiator (or low pass filter).

Very low Rin values load the input and high Rf values increase output impedance. These problems are easily overcome. Most op-amp packages have more than one OA. Use one as a voltage follower and as the input to your OA that has gain. Your total circuit presents a very high input impedance and your OA with gain sees a very low impedance on its input and you can use low values or Rin. You can also use an OA follower on the output to have high drive current and low impedance output. You can even easily configure the output to match impedance of the next circuit or a coaxial cable, etc. I like to use high precision low tempco resistors or low tempco pots (or digital pots) for Rf and trim for gain.

I have used 1M/1K for a gain of 1000 (2 in a row gives 1 million) with low-pass for seismology, but this is a few Hz bandwidth and works even with the lowly uA741. LM308 requires much less trim. Good modern OA's are great by comparison. If you get into the 10M to 100M area for Rf, your bandwidth will drop off and noise will go up.

-