11.5 Offsets
Offsets are undesirable DC levels appearing at the output of a circuit. If op amps were perfect, there would be no such thing as an offset. Even though part matching is very close when ICs are made, the parts will not be identical. One possible example is the fact that the transistors used for the differential amplifier stage will not have identical characteristics. Because of this, their DC bias points are slightly different. This difference, or unbalance, is amplified by the remaining stages and will eventually produce a DC voltage at the output. Because all op amps are slightly different, you never know what the exact output offset will be. For measurement applications, this offset creates uncertainty in readings. For example, if the circuit output measures 100 mV, the signal might be 99 mV with 1 mV of offset. It might also be 101 mV with -1mV offset. In other applications, offsets can harm following stages or loads. Dynamic loudspeakers and headphones are two loads that should not be fed DC signals. This will reduce their maximum volume and increase their distortion. In short, offsets are not desired. Let’s see what the causes are and how we can reduce or eliminate their effect.
Offset Sources and Compensation
For bipolar input sections the major cause of input current mismatch is the variation of beta. Base-emitter junction voltage variation is the major cause of input voltage deviation. For field effect devices, current variation is much less of a problem as the magnitude of input current is very low to begin with. Unfortunately, FETs do suffer from larger input voltage variations due to transconductance curve mismatches.
As mentioned in Chapter Two, the input current into the bases (or gates, in the case of an FET) of the first stage is called πΌπ΅ , the input bias current. In reality, this is an average of the two input currents, πΌπ΅+ and πΌπ΅β . The magnitude of their difference is called the input offset current, πΌππ (some manufacturers use the symbol πΌπΌπ ). Note that the actual direction of πΌπ΅ is normally not specified, but can usually be determined from the manufacturer’s circuit diagram. πΌπ΅ flows into the op amp if the input devices are NPN, and out of the op amp if the input devices are PNP.
(5.5.1)
The voltage difference for the input stage is referred to as the input offset voltage, πππ (some manufacturers use the symbol ππΌπ ). This is the potential required between the two inputs to null the output, that is, to re-align the output to 0 V DC. Both πΌππ and πππ are available on data sheets. The absolute magnitude of these offsets generally gets worse at temperature extremes. Table 5.5.1 shows some typical values. Note the low πΌπ΅ and πΌππ values for the FET input 411.
Device |
---|
πΌπ΅ |
πΌππ |
πππ |
5534 |
800 nA |
10 nA |
0.5 mV |
411 |
50 pA |
25 pA |
0.8 mV |
318 |
150 nA |
30 nA |
4 mV |
741 |
80 nA |
20 nA |
1 mV |
Table 11.5.1
Remember, these numbers are absolutes, so when πΌππ is specified as 10 nA, it means that the actual πΌππ can be anywhere between -10 nA and +10 nA. πΌπ΅ , πΌππ and πππ combine with other circuit elements to produce an output offset voltage. As this is a linear circuit, superposition may be used to separately calculate their effects. The model in Figure 5.5.1 will be used. π π and π π are the standard feedback components, and π πππ is called the offset compensation resistor (in some cases it may be zero). Because the input signal is grounded, this model is valid for both inverting and noninverting amplifiers.
πππ is seen as a small input voltage and is multiplied by the circuit’s noise gain in order to find its contribution to the output offset. Offsets are by nature DC, so it is important to use the DC noise gain. Consequently, any capacitors found within the feedback loop should be mathematically βopenedβ for this calculation (for example, when working with the filter circuits presented in Chapter Eleven)
(5.5.2)
where
πΌπ΅ and πΌππ pass through input and feedback resistors to produce their output contributions. First, consider the effect of πΌπ΅+ . This creates a voltage across π πππ . This voltage is then multiplied by the circuit noise gain to yield its portion of the output offset.
(5.5.3)
For πΌπ΅β , recall that the inverting input is at virtual ground. This implies that the voltage across π π must be zero, and therefore, the current through π π must be zero. Consequently, all of πΌπ΅β flows through π π . This creates a relative negative potential at the output.
(5.5.4)
So the combination of the input bias current effects is:
(5.5.5)
Expanding this produces
By noting the product-sum rule for resistor combination π π , π π , this can be further simplified to
(5.5.6)
If π πππ is set to equal π π||π π , this reduces to:
By definition,
so we finally come to
(5.5.7)
If it is possible, π πππ should be set to π π||π π . This drastically reduces the effect of the input bias current. Note that the value of π πππ includes the driving source internal resistance. If π π||π π=2πΞ© and the driving source resistance is 100 Ξ© , the required resistance value would be 1.9 k Ξ© . If setting π πππ to the optimum value is not possible, you can at least reduce the effect of πΌπ΅ by using a partial value. Also, note that it is possible to determine the polarity of the offset caused by πΌπ΅+ and πΌπ΅β (Equation 5.5.6 ) if actual currents and the type of device used in the diff amp stage are known. The circuit of Figure 5.5.1 assumes that NPN devices are being used, hence the currents are drawn as entering the op amp. PNP input devices would produce the opposite polarity. Typically, though, we don’t have precise values for πΌπ΅+ and πΌπ΅β , and thus can only compute the worst-case magnitude.
For a final result, we may combine our components:
(5.5.8)
if π πππ=π π||π π , and
(5.5.9)
if π πππβ π π||π π .
There is one special case involving the selection of Roff, and that deals with a voltage follower. Normally for a follower, π π=0Ξ© . What if the driving source resistance is perhaps 0 Ξ© ? The calculation would require an π πππ of 0 Ξ© , and thus a -50 Ξ© resistor to compensate for the source resistance. This is of course, impossible! To compensate for the 50 Ξ© source, use 50 Ξ© for π π . The circuit gain will still be unity, but πΌπ΅ will now be compensated for. This is shown in Figure 5.5.2 .
Example 5.5.1
Determine the typical output offset voltage for the circuit of Figure 5.5.3 if π πππ is 0 Ξ© . Then determine an optimum size for π πππ and calculate the new offset.
From the data sheet for the 5534, we find πππ=0.5ππ , πΌππ=10ππ΄ , and πΌπ΅=800ππ΄ . Because this is an approximation, assume πΌπ΅+=πΌπ΅β=πΌπ΅ .
Remember, this is the magnitude of the offset, it could be anywhere within Β± 13.5 mV. It might be worse if this is not a typical device. Now we find the optimum offset compensating resistor:
For this case, the offset Equation reduces to
By adding π πππ , the output offset voltage is more than halved. This may lead you to think that it is always wise to add π πππ . Such is not the case. There are two times when you may prefer to leave it out: 1) to optimize noise characteristics, as we will see shortly, and 2) when using FET input op amps. FET input devices have very small input bias and offset currents to begin with, so their effect is negligible when using typical resistor values.
Example 5.5.2
The circuit of Figure 5.5.4 is used as part of a measurement system. Assuming that the DC input signal is 3 mV, how much uncertainty is there in the output voltage typically?
The desired output from the amplifier is
The typical specs for the 411 are πππ=0.8ππ , πΌππ=25ππ΄ , πΌπ΅=50ππ΄
The output can vary by as much as Β± 4 mV. As this a DC measurement system, the results are devastating. The output can be anywhere from -12 mV – 4 mV = -16 mV, to -12 mV + 4 mV = -8 mV. That’s a 2:1 spread, and it’s caused solely by the op amp. Note that the addition of π πππ would have little effect here. Because the 411 uses a FET input, its πΌπ΅ contribution is only 1 π V.
So, then, how do you keep output offsets to a minimum? First and foremost, make sure that the op amp chosen has low πΌππ and πππ ratings. Second, use the offset compensation resistor, π πππ . Third, keep the circuit resistances as low as possible. Finally, if the output offset is still too large, it can be reduced by manually nulling the circuit.
Nulling involves summing in a small signal that is of opposite polarity to the existing offset. By doing this, the new signal will completely cancel the offset and the output will show 0 V DC. This is much easier than it sounds. Most op amps have connections for null circuits. These are specified by the manufacturer and usually consist of a single potentiometer and perhaps one or two resistors. An example nulling connection is shown in Figure 5.5.5 . Usually the potentiometer is a multi-turn trim type to allow for fine adjustment. To null the circuit, the technician monitors the output with a very sensitive DC voltmeter. The input is grounded (or perhaps tied to ground through a resistor equal to the driving source resistance if it’s large). The potentiometer is then adjusted until the meter reads zero.
The drawback to this procedure is that it requires someone (or perhaps some thing) to perform the nulling. Also, the unit will require periodic adjustment to compensate for aging and environmental effects.
Computer Simulation
As stated, it is very important to match the input resistors in order to keep offsets low. This can be seen clearly in the simulation shown in Figure 5.5.6 . A noninverting voltage amplifier is modeled here using the 741. In order to focus on the offset current effect, the contribution of πππ is kept small by keeping the voltage gain low. The simulation is run twice for DC Operating Point. In the case where the resistances are matched, the DC output voltage is less than 1 mV. For the unmatched case, π πππ is set to a fraction of an Ohm. The resulting DC output voltage is much larger at approximately 17 mV. It is worthy to note that this is approximately equal to πΌππππ times π π (80 nA times 200 k Ξ© ). This simulation also points out the poor performance caused by excessively large resistor values. If the simulation is re-run with the resistors scaled down in size, the offsets will be lessened.