This action might not be possible to undo. Are you sure you want to continue?
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
OPERATI ONAL AMPLI FI ERS
Operational amplifiers are among the most widely used integrated circuits for analogue electronics.
They are very popular for amplification of small signals, both AC and DC. They are also used in circuits
performing a variety of other 'operations' such as analogue addition, differentiation and integration.
Element ar y Pr oper t ies of Oper at ional Amplif ier s
They are usually purchased as an integrated circuit (IC) with eight pins, a minimum of five of these pins
being connected to the 'chip' (of silicon containing tiny interconnected transistors etc) inside. The circuit
symbol is shown opposite. Note that there are two inputs. The chip (or IC) is a differential amplifier
which has been wired internally to sense the voltage difference (V
+
 V

) between the input terminals,
amplify this by a gain, A, and present this at the output;
ie we have ) (
− +
− · V V A V
o
.
+

E (15 V)
inputs
output
V
+
A
V

V
o
+E (+15 V)
In order to perform this amplification, the IC must, of course, be connected to a DC power supply (or
battery). Normally this DC is supplied as +E and E volts as shown. Supply voltages in the range ±9 V
to ±15 V are common but lower values down to about ±3 V are possible with some sacrifice in
performance. Because the DC power supply (or battery) is absolutely essential to the operation of the
device, it is assumed to be there and is very seldom shown on circuit diagrams.
The gain of the chip, A, is usually about 2 x 10
5
(at least for DC) though variations of a factor of two or
more must be expected between individual chips of the same type number. The manufacturer's data sheet
supplies this information.
The small signal resistance between the input terminals is typically 1  2 M? , though it may be much higher
in certain devices. In most of our circuits, we will not need to allow for this input resistance; it will simply
be 'high'. However, at times we will need to know its approximate size to check what approximations will
be valid.
Note that the two input terminals are not quite identical. They differ only in terms of sign. When the '+'
input terminal (ie the voltage V
+
) is made (slightly) more positive, the output, V
o
, will become more
positive but when the '' input terminal (ie V

) is made (slightly) more positive the output voltage will
become slightly more negative, since V
o
= A(V
+
 V

). For this reason the '' input is known as the
inverting input and the '+' input as the noninverting input.
The output resistance is low, typically 100? or less, and can thus often be neglected. (Note, however,
that this low output resistance doesn't mean a typical op amp can drive large currents. Typically the
manufacturer has added extra circuitry which limits the output current to 25 mA. This is to prevent
possible destruction of the device by shorting the output. If you do not try to draw more than 25 mA from
the output this 'current limiting' circuitry has no effect.)
ELEC 353 2
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
These operational amplifier IC's are seldom used without feedback because their gains are too large and
too variable (both with temperature and from one chip to the next) to be useful in practice. With
feedback, the op. amp. chip is the basic building block of many high performance circuits.
Simple Inverting Amplifier
The circuit below, known as the simple inverting amplifier, is a very convenient, stable, and widely used
amplifier for both DC and AC signals. We will show that its voltage gain is given by
1
R
R
V
V
A
f
in
o
f
− · · to
a (usually) very good approximation. The stability and convenience come from the fact that the gain is just
the ratio of two resistors. The minus sign just means that the output is inverted with respect to the input.
Note that the feedback provided by R
f
is negative. (It goes to the '' input.)
V
o
V
in
R
1
R
f
R
i
I
1
I
f
I
i 
+
V
+
V

A
We could, of course, solve the circuit completely, using Kirchhoff's Laws and the manufacturers values of
the gain, A, and internal impedance, R
i
. (Indeed, you might like to try for yourself; it's not particularly
difficult.)
However, we will prefer to use approximations because this will be simpler, give us more insight, and allow
us to solve more readily a variety of different circuits which use the operational amplifier chip.
We will take A = 2 x 10
5
and R
i
= 1 M? since these are very typical values. We will think of R
f
= 100
k? , R
1
= 10 k? , and V
in
= 1 volt (DC or AC). (The above formula for the gain of the amplifier thus
predicts
in
1
0
V
R
R
V
f
− · = 10 volts.)
We will now prove the above formula for the gain, A
f
.
Since V
o
= A (V
+
 V

) and V
+
= 0 we have V

= V
o
/A. But A = 2 x 10
5
, so that V

will normally be
very small compared with either V
o
or V
i
. In particular, in our example, we would have V

= V
o
/A =
10/(2 x 10
5
) = 50 µV which certainly is small compared to V
in
= 1 V and V
o
= 10 V.
Thus 0 ≈
−
V .
Hence the voltage across R
f
= V

 V
o
˜ V
o
and the voltage across R
1
= V
in
 V

˜ V
in
.
Thus the current through R
f
=
f
o
f
R
V
I − ·
and the current through R
1
1
1
R
V
I
in
· · .
ELEC 353 3
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
Now I
i
, the current into the op amp chip, is very small indeed because
pA 50
MO 1
µV 50 ) (
· · ·
−
·
− + −
i i
i
R
V
R
V V
I . In comparison,
A 100
kO 100
V 10
µ ·
−
· − ·
f
o
f
R
V
I and
A 100
kO 10
V 1
1
1
µ · · ·
R
V
I
in
.
Thus, because I
i
is negligible, we have
1
I I
f
· to a very good approximation. Hence (substituting the
expressions for I
f
and I
1
from above):
1
0
R
V
R
V
in
f
· − which, when rearranged, gives
1
R
R
V
V
A
f
in
o
f
− · · for the voltage gain of the simple inverting op amp amplifier.
Two Important Principles:
The above analysis brought to light two very important principles in such circuits as the one above
with high gain op amps:
(1) 0 ≈
−
V This is often expressed by saying the '' (inverting) input terminal is a 'virtual ground'.
When V
+
? 0 this excellent approximation becomes 0 ≈ −
− +
V V
because V
+
 V

= V
o
/A and A is normally very large.
(2)
1
I I
f
≈ Essentially all the current going through R
1
(from the amplifier input) continues on through R
f
.
(Only a tiny fraction of I
1
goes into the chip itself.)
The Approximations:
Generally the approximations will be valid if, for the whole (inverting) amplifier, we have
A
R
R
f
«
1
ie the approximations, V

˜ 0, and I
f
= I
1
, will be valid provided our (inverting, feedback) amplifier is set
up to achieve a gain,
1
R
R
f
, which is much less than the gain, A, of the chip alone. (Obviously we can't
expect more gain from our feedback amplifier than from the chip alone when the gain is negative as above.)
ELEC 353 4
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
Simple NonInverting Amplifier
When a noninverting gain is required the circuit shown below can be used.
V
0
V
in
R
1 R
f
I
1

+
V
+
V

A
I
f
R
i
I
i
The first of our op amp principles above tells us that V
+
 V

˜ 0 (ie V
+
 V

is very much less than V
in
or
V
o
) so that V

= V
+
= V
in
. Our second op amp principle gives I
f
= I
1
(since the current into the chip itself
is very tiny indeed).
Hence, voltage across R
1
= V

= V
in
= I
1
R
1
and voltage across R
1
+ R
f
= V
o
= I
1
(R
1
+ R
f
).
Dividing the two equations (on the right) gives:
1 1
1
1
R
R
R
R R
V
V
A
f f
in
o
f
+ ·
+
· ·
for the voltage gain of our noninverting amplifier.
Input Resistance:
The current flowing into the noninverting amplifier, I
in
, is just the small current going into the chip itself.
This is given by
i
in f
i
o
i
in
AR
V A
AR
V
R
V V
I · ·
−
·
− +
where
1
1
R
R
V
V
A
f
in
o
f
+ · · , the voltage gain of the noninverting amplifier as above.
Hence, we have
f
i
in
in
in
A
A
R
I
V
R · · for the input resistance of our noninverting amplifier. This is normally
rather high since R
i
, the internal resistance of the chip itself, is at least 1  2 M? and usually we will have A
»A
f
.
Voltage Follower:
If we make R
f
= 0 and R
1
= 8 (by removing it) then we get the circuit below and, from above, we have
1 · ·
in
o
f
V
V
A and A R R
i in
· .
This is called a voltage follower; it has a gain of one,
very high input impedance and very low output
impedance. It is very useful as a buffer between a high
V
0
V
in

+
V
+
V

A R
i
I
in
ELEC 353 5
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
impedance source and low impedance load.
Equivalent Circuit
V
0
V
in
R
i
R
o
V
+
V

A(V
+
 V

) I
i
To find the output resistance we connect a test voltage (V
t
) to the output and short the input to earth, so
the equivalent circuit becomes:
V
t
a
R
i
R
o
V
+
V

A(V
+
 V

)
I
t
+

At the node “a” we sum over all the currents:
( )
0 ·
− −
+
−
+
− + − +
o
t
i
t
R
V V V A
R
V V
I
Now V
+
= 0 and V

= V
t
so
( )
or
1
t
i o
i o
t
V
R R
R A R
I
+ +
·
( )
i o
i o
t
t
out
R A R
R R
I
V
R
1 + +
· ·
eg for the OP177: A = 12x10
6
, R
i
= 45 MΩ, and R
o
= 60 Ω so R
out
= 0.000005 Ω · 5 µΩ
Ot her ' Oper at ions' wit h t he Op Amp
Adder:
V
o
R
R
f
I
1
I
f

+
V
+
V

V
1
V
2
V
3
I
2
I
3
R
R
The principle of negligible current into the op amp chip gives us I
f
= I
1
+ I
2
+ I
3
The virtual ground principle gives V

˜ V
+
= 0, so that the voltage across each of the three input resistors
(R) is V
1
, V
2
, and V
3
, and the voltage across the feedback resistor (R
f
) is V
o
.
ELEC 353 6
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
Hence
R
V
R
V
R
V
R
V
f
o 3 2 1
+ + · −
If R
f
= R, then
3 2 1
V V V V
o
+ + · − .
Two or more voltages can be added in this way without interfering with each other. This type of circuit is
used in digital to analogue converters but the input resistors would be R, 2R, 4R etc according the
significance of the bit providing the input voltage.
Integrator:
V
o
V
in
R
1
R
f
I
I
f

+
V
+
V

C
If R
f
is very large, we have I = I
f
, and, since V

˜ 0, the voltage across C is V
o
and the voltage across
R
1
is V
in
.
Now
C
q
V
o
− · (where q is the charge on C)
∫ ∫
− · − · dt
R
v
C
idt
C
1
in
1 1
ie
∫
− · dt V
C R
V
in o
1
1
ie the output voltage is the integral of the
input voltage. E.g. a square wave in gives a sawtooth (triangle) wave out.
In practice, a large resistance (say R
f
˜ 10 M? ) is usually needed across the capacitor for satisfactory DC
performance (see later).
Differentiator:
V
o
V
in
R
f
I
f

+
V
+
V

C
I
As usual, I = I
f
, voltage across R
f
is V
o
, and voltage across C is V
in
.
Hence
dt
dq
R I R V
f f o
− · − · where q is the charge on C
) (
in f
CV
dt
d
R − · since
in
V
q
C ·
ELEC 353 7
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
and, since C is constant,
dt
dV
C R V
in
f o
− · . The output voltage is thus equal to a constant times the
differential of the input voltage.
What ’s I nside: Amplif icat ion of DC Signals
Recall that (1) a transistor can amplify signals only when the currents are flowing through it in the right
direction and (2) there has to be a DC voltage of about 0.7 volts at the input (ie between emitter and base)
of the transistor. In view of these two facts you might well wonder how the transistors in the input circuit of
an operational amplifier chip could possibly amplify DC signals as small as a few millivolts, let alone signals
down in the µV region. Further, the op amp amplifies the signals faithfully whether they are positive or
negative (ie whether V
+
 V

is positive or negative).
20µA(DC)
15 volts (DC)
+15 volts (DC)
Output
V
0
V
+
V

+

1 MΩ 1 MΩ
in out
T
1
T
2
e
e
b
b
c
c
+15 V
15 V
V
c2
amplifier
Gain = A' = 1000
The trick is to join two transistors together at their emitters, letting the two 0.7 volts offset each other, and
then to put the (DC) signal between their bases. This is shown in the above schematic circuit diagram.
The manufacturer makes the two (npn) transistors (T
1
and T
2
) as identical as possible; they are both grown
at the same time as part of the chip integrated circuit. In the circuit in the op amp they are fed by a 20 µA
constant current generator (made of other transistors) and when V
+
= V

(˜ 0) we can expect the 20 µA
current to divide equally between the transistors, T
1
and T
2
, so that the (emitter) current in each will be 10
µA and the baseemitter voltages (V
be
) will be equal (at about 0.7 V).
If the '+' and '' inputs are connected together and their common voltage is varied by a few volts
about zero volts, there will be almost no change to the current through either T
1
or T
2
because (1) the
total current is constrained by the constant current generator to remain at 20 µA and (2) this current will
still split equally between the two identical transistors with their identical base voltages. Since the collector
currents do not change, the voltages across the 1 M? resistors do not change. This insensitivity of the
output voltage to the common voltage of the two inputs is called commonmode rejection.
However, if V
+
is now made a little more positive (by a few millivolts) than V

, V
be2
will be greater than
V
be1
by this amount, and more current will flow in transistor T
2
than in transistor T
1
. This, in turn will
increase the voltage across the 1 M? resistor attached to T
2
and decrease the voltage across the 1 M?
attached to T
1
. A small voltage difference between the input terminals thus causes a large change
in the output voltage. The pair of transistors, T
1
and T
2
, are forming a differential amplifier. This
particular arrangement with the emitters connected together and to a constant current source is sometimes
referred to as a 'long tailed pair'.
ELEC 353 8
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
This input voltage, V
i
=V
+
 V

= V
be2
 V
be1
, is a small signal voltage and thus the corresponding input
current, i
b
= i
b2
= i
b1
, can be calculated from the small signal equivalent circuits for the transistor inputs
(connected at the emitter) as shown. The input resistance of the op amp is thus 2h
ie
where h
ie
= h
ie1
= h
ie2
since the transistors are identical. Hence we have
ie
i
b
h
v
i
2
· . (Note that it doesn't matter whether we use
V
i
or v
i
for the input voltage because, at the input, the signal voltage is the total voltage; ie V
i
= v
i
).
b2
h
ie2
v
i
i
b
b1
e1
e2
h
ie1
The change in the collector current of T
2
(or collector signal current) is given by i
c2
= βi
b2
= βi
b
.
Hence the voltage gain between the input (b2, b1) and the collector of T
2
is
ie b
b
i
c
h i
i
v
v
2
1M x
2
Ω
− ·
β
For the op amp's input transistors β ˜ 200, and with a collector bias current of 10 µA, h
ie
˜ 0.5 M? , so
that the voltage gain of our (idealized) input stage is v
c2
/v
i
˜ 200. This signal voltage, v
c2
, is then further
amplified by a factor of 1000 by the (DC coupled) transistors (not shown) in the rectangular box. This
gives a total gain of 200,000 which is the same as for many standard op amps such as the popular
LM741.
The actual circuit for an LM741 is discussed in Millman and Grabel (1987) and Sedra and Smith (1987).
The circuit shown above is somewhat simplified but does allow us to show the essential principles.
Of f set Volt ages, Bias Cur r ent s and Of f set Cur r ent s
We now look at some of the detailed DC characteristics of operational amplifiers which we have been
largely able to ignore up to now. However, these characteristics may become critically important when
1) we want to detect or measure very small DC signals,
2) we want to accurately measure any DC signal, and
3) when we want to use large resistors at the op amp inputs.
Input Offset Voltage:
Although the manufacturer tries to make the input transistors identical, he does not usually quite succeed.
The result is that, for most op amp chips, zero volts between the '+' and '' inputs does not give zero volts
out. The chip gives zero volts out only when a small voltage difference (typically up to about ±2 mV) is
applied between its inputs. This small voltage difference, ∆V = V
+
 V

, required to give zero volts out of
a individual op amp chip, is called its input offset voltage. From chip to chip (even with the same type
number) it is randomly positive or negative but usually within the range ±2 mV.
The effect of these input offset voltages on the simple inverting amplifier can be illustrated by considering
the circuit below. We will suppose that this particular chip has an input offset voltage of  1.5 mV (ie it
needs V
+
 V

= 1.5 mV to give zero volts out). With the switch in the position shown, it can readily be
ELEC 353 9
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
seen that when V
in
= 0, we will have V
o
= 0 too because then V

= 0, and with the tiny 'battery' making V
+
= 1.5 mV, we do indeed have V
+
 V

= 1.5 mV, as required for V
o
= 0.
If we now flick the switch to convert our circuit into a normal inverting amplifier, we see that we will
change the voltage at the '+' input by + 1.5 mV (from 1.5 to 0) in doing so. This will cause the output
voltage to change (from zero) by 1.5 mV x the gain of the noninverting amplifier, since we are making the
1.5 mV change at the noninverting ('+') input. Hence the output voltage will become
V
in
V
0
R
f
R
1
1 kΩ
200 kΩ
+
_
1.5 mV
+
_
V
o
= 1.5 mV x (1+
200 k?
1 k?
) = 301.5 mV ˜ 0.3 V
This is the output offset voltage of the simple inverting amplifier (with '+' grounded). Thus with this
typical chip in this simple inverting amplifier we will have to put up with the fact that when V
in
= 0, V
o
will
be about 300 mV, not zero as we would have liked.
Of course, there are elementary solutions for this. The first is that we simply remember that, for our
particular amplifier, 0.3 volts out means zero in and thus we can mentally correct for the problem (or use a
computer!!) but this is inconvenient (or extravagant). The second would involve using the little battery
above, or better obtaining the voltage needed from a resistor potential divider from the main power supply.
A more convenient version of this is found in certain op amp IC's (e.g. the popular LM301) which have an
extra pair of pins to which the user can attach a suitable potentiometer circuit and readily adjust the input
offset voltage to zero.
All of the above techniques will work and are used, but a different separate adjustment has to be made on
each op amp since they all have different input offset voltages. This is expensive for mass production.
Input Offset Voltage Temperature Coefficient:
In accurate or small DC signal work the input offset will have been adjusted (effectively) to zero as
above but still not taken into account will be the fact that the input offset voltage varies with temperature
(up to 15 µV/
0
C for an LM741) so that it will have been possible to eliminate its effect at only one
temperature. Thus for very accurate work (or very small signals) some form of temperature control may
be necessary.
By paying more money it is normally possible to choose an op amp which has a lower value of the
temperature coefficient for its input offset voltage (e.g. 1 µV/
0
C for the LM308A).
Input Bias Currents:
Recall that each of the input transistors (T
1
and T
2
) has a collectoremitter bias current of 10 µA. This is
only possible if each of these transistors has a bias current going into its base of 10 µA/β ˜ 10 µA/200 ˜
0.05 µA = 50 nA. These base bias currents are called the input bias currents of the op amp and must
ELEC 353 10
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
be supplied by whatever is connected to the '+' and '' inputs. These bias currents must therefore flow
through the connections/components (resistors) which we connect to these inputs.
If we make no such suitable connections/components available for the input bias currents, then T
1
and T
2
will not turn on (preventing the notquiteperfect 'constant current generator' from passing its 20 µA) and
the op amp chip will not work. Conversely, if the op amp is working (the only case we're interested in!)
the required input bias currents are flowing into the '+' and '' inputs.
The effect of these inevitable bias currents on the DC performance shows up most markedly when we use
large resistors at an input. We will use the circuit below to illustrate the size of the effect. We will assume,
for the moment, that the manufacturer has succeeded in making the two input transistors identical so that
both have the same input bias current, I
b
, as shown and there is no input offset voltage.
Case 1  Effect at Output:
Suppose V
in
= 0. If some of the bias current for the '' input tries to flow through the 1 M? resistor, it will
cause a voltage drop across it making V

(slightly) negative thus forcing V
o
(significantly) positive which will
drive a current through the 4 M? resistor which will then supply the '' input with most of the required bias
current of 50 nA.
V
in
V
0
R
f
R
1
1 MΩ
4 MΩ
+
_
I
b
I
b
If virtually all of the required 50 nA flows through the 4 M? resistor, there will be a voltage drop across it
of 50 nA x 4 M? = 200 mV. This voltage drop will be maintained by V
o
= +200 mV and V

˜ 0
according to our virtual ground principle. Actually, since V
+
= 0 (being grounded) we have V

= V
o
/A =
200 mV/200,000 = 1 µV which is very small as expected. Further this means that the part of the bias
current in the 1 M? resistor is just (V
in
 V

)/1 M? = 1 µV/1 M? = 1 pA which confirms our earlier
statement that most of the required 50 nA of bias current does indeed come from V
o
and the 4 M?
resistor in this case where V
in
= 0.
Thus the effect of the input bias currents in this amplifier is to give an unwanted 200 mV at the output
when the amplifier input (V
in
) is zero.
Case 2  The Effect at the Input:
We will now ask a different question about the effect of the bias currents on our amplifier above: what
value of input voltage, V
in
, is required to make V
o
= 0? This is equivalent to asking how big an input
signal must be in order to be detectable, in the sense that it does not get 'confused' with uncertainties in the
bias currents. (Although we have calculated our input bias currents at 50 nA, manufacturing tolerances are
such that one chip may have inputs bias current of 50 nA but another, with the same type number, might
have 100 nA or 25 nA.)
When V
o
= 0 we must have V

= 0 too. Hence none of the input bias current will be supplied through the
4 M? resistor in this case. All of it must come through the 1 M? resistor driven by the voltage across it,
V
in
 V

= V
in
. Thus we will need V
in
= 50 nA x 1 M? = 50 mV which might well be a lot bigger than
the signals (e.g. thermocouple voltages) which we are interested in.
ELEC 353 11
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
Of course, one solution to this problem is to avoid the use of large resistors and indeed this is common
practice. However, the input resistance of the amplifier (which is just R
1
) may not then be high enough
for the application. To see that the amplifier input resistance, R
in
is indeed R
1
, note that
in
in
in
i
V
R · where i
in
is the (DC) signal current flowing into the amplifier (ie through R
1
) when a (DC) signal voltage, V
in
, is
applied. But the (DC) signal voltage across R
1
is V
in
 V

= V
in
so that
1
R
V
i
in
in
· hence
1
R R
in
· .
The Solution for (Equal) Input Bias Currents
It turns out, as we shall shortly see, that the voltage offsets caused by the input bias currents can be
completely eliminated (when the '+' and '' bias currents are equal) by the simple addition of one suitable
sized resistor between the '+' terminal and ground. This resistor has no effect on the signal performance
because the signal current into the chip, and hence through our new resistor, is so tiny.
In the following circuit this extra resistor is shown as two resistors in parallel (equal to R
1
and R
f
) to clarify
the explanation but they would normally be combined into one resistor in practice. What we want is zero
volts in (V
in
= 0) giving zero volts out (V
o
= 0). Lets suppose we've achieved this and see if it is self
consistent.
Each bias current will be able to flow from zero volts (V
in
= 0, V
o
= 0, and ground) either through a 1
M? or through a 4 M? resistor. Thus the voltage drop (between ground and input) will be the same in
both cases. Therefore V
+
= V

, which is consistent with V
o
= 0 ; so we have achieved what we want
(zero volts in gives zero out). To complete the picture, you might like to note 4 M? in parallel with 1 M?
is 0.8 M? so that V
+
= V

= 0.8 M? x 50 nA = 40 mV.
V
in
V
o
R
f
R
1
1 MΩ
4 MΩ
+
_
I
b
R
1
1 MΩ
4 MΩ
I
b
R
f
ie the circuit has adjusted the '+' and '' inputs to be equal at 40 mV below zero, to allow the bias currents
to flow in through the resistors.
Input Offset Currents:
Unfortunately the manufacturers do not manage to make the input transistors sufficiently identical for the
bias currents, I
b+
and I
b
, into the '+' and '' inputs respectively to be exactly equal. The difference, I
b+

I
b
, is known as the input offset current. It varies from chip to chip (even with the same type number)
and is randomly positive or negative. In their data sheets, manufacturers give typical values which are
often about 0.1  0.3 of the (average) input bias currents but there are wide variations.
The above circuit thus corrects automatically for the input bias currents (to the extent they are equal) but
not for these socalled offset currents. The output of a given amplifier can, of course, be individually
adjusted to zero by finely adjusting the resistor between the '+' input and ground. Unfortunately individual
adjustment for mass production is expensive.
ELEC 353 12
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
Input Offset Current Temperature Coefficient
In accurate or small DC signal work (especially with large resistors) the output will have been (individually)
adjusted to zero as described above but still not taken into account will be the fact that the input offset
current varies with temperature (up 0.5 nA/
0
C for a LM741) so the adjustment will be correct at only one
temperature.
Some temperature control may thus be needed for the highest accuracy though first one should probably
pay a little more and buy a better chip  e.g. the LM308A which has typical input bias currents of only 0.8
nA and typical input offset currents of 0.05 nA with temperature coefficient of only 2 pA/
0
C.
The LM308A achieves these impressively low bias currents principally by using super β transistors (where
β ˜ 5000) at the input. These transistors are not available as discrete components because the high β is
achieved at the expense of very low breakdown voltages which would make them too sensitive to
destruction for normal use but, inside the IC, they are protected by special circuitry which ensures they
never have more than a volt or two across them.
Superposition of Offsets:
It is often convenient to work out the effects of the bias and offset currents separately from the effects of
the offset voltages. The superposition theorem then allows us to work out the result of all their effects
acting together just by adding the voltages from the individual effects. The superposition theorem
applies whenever the circuit is linear; ie where the (small) change in a current is directly proportional to
the (small) change in voltage which has produced it and viceversa. (ie double the change in voltage gives
double the change in current.)
St abilit y and Fr equency Response
We will now discuss the properties of op amps which are more relevant to their AC (rather than DC)
performance.
Stability: Will it oscillate when we don't want it to?
Every amplifying device (transistor, vacuum tube, FET....) has inevitable (shunt) capacitance and (series)
resistance associated with it. Thus generally every amplifier is equivalent to a sequence of low pass filters
and frequencyindependent amplifiers as is depicted, somewhat approximately and schematically, for a
possible op amp, in the diagram below. (The low pass filters don't, of course, have to be the simple two
component RC filters shown but they quite often are.)
A
1
R
C
A
2
R
C
A
3
R
C
A
4
R
C
A
5
V+
V
0
V
R
f
The RC low pass filters have a gain of one at low frequencies (or DC) so that the overall gain is A
1
x A
2
x
A
3
x A
4
x A
5
= A = 200,000 say. At low frequencies (and DC) the output, V
o
, is in phase with the input,
V
+
, and 180
0
out of phase with V

so that the feedback provided by R
f
will be negative.
ELEC 353 13
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
However, as the frequency is increased there will be increasing phase shifts (lags) in each of the RC filters
(shown as identical just for simplicity) and the phase of the output will thus increasingly lag behind the
phase of V
+.
At some high frequency the total additional phase shift inside the amplifier (due to the RC
filters) will be 180
0
. (For the particular 'op amp, above, this high frequency would be
RC π 2
1
since this
would give a phase shift of 45
0
in each RC filter.) At this frequency V
o
will be in phase with V

, and the
feedback through R
f
will be positive.
The gain of each filter at this frequency will be
1
2
so that the overall gain between V

and V
o
and back to
V

(called the loop gain) will be
.

,
`
1
2
4
x 200,000 = 50,000. Hence, if a very small amount of a signal
at this frequency exists at the '' input (which, down in the noise, it certainly will), such a signal will get
amplified by 50,000 and phase shifted by 180
0
and applied to the '' input again (in phase with the original
small amount of signal), whereupon it will get amplified by 50,000 and phase shifted by 180
0
and applied
to the '' input yet again (in phase with the original small amount of signal), whereupon ...
The result is that large oscillations will occur at this frequency where the phase shift within the amplifier is
180
0
. In fact, the amplifier would be so busy furiously oscillating at this frequency that it would not bother
with any other signals we presented to it. (The oscillations would be so large that it would spend most of
its time limiting against the power supply rails rather than amplifying  it would be driven right out of its
linear regime.) This problem makes the above circuit useless as an op amp; if an amplifier can oscillate at
some frequency, it surely will. There are two possible solutions. The first involves having few enough
transistors that there are no more than two such RC 'filters' so that an additional 180
0
of shift will occur
only when the gain has fallen very low. This is a useful solution but strongly limits the number of gain stages
we can have (to one or two) and thus limits the overall gain.
The other solution is to deliberately increase one of the capacitors enormously. Now the maximum phase
shift which can occur from one capacitor is, of course 90
0
, so that if the attenuation from this dominant
capacitor exceeds 200,000 at the frequency at which the other phase shifts total 90
0
, there can be no
possibility of oscillation. This is because either the total gain (amplifier with all RC attenuations) is less than
unity or the total phase shift (from all RC's) is less than 180
0
at all frequencies.
This is achieved in practice by the use of a capacitor, C, placed as illustrated below in our op amp
schematic diagram.
The voltage across the capacitor, C, will be V
i
'
 V
o
and so the current through C will be jωC(V
i
'  V
o
) =
jωC(V
i
'  A'V
i
') = jωC( 1 A')V
i
'. This is the same as the current which would flow if the input voltage
had been applied across a capacitor of magnitude C(1 A') ˜ 1000C (since A' = 1000). This increase in
capacitance is another example of the Miller Effect.
ELEC 353 14
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
20 µA (DC)
15 volts (DC)
+15 volts (DC)
Output
V
o
V
+
V

+

1 MΩ
1 MΩ
amplifier
Gain = A' = 1000 in
out
T
1
e
e
b
b
c
c
C
V'
i
T
2
The resulting equivalent circuits are shown below. The left panel shows the transistors' (T
1
and T
2
) h
parameter outputs feeding the amplifier, A'. The AC ground is effectively carried by the +15 V supply
line.
The two terminal network to the left of the dashed line is converted to a Thevenin equivalent in the right
hand panel. The voltage, V
c2
, is the open circuit (AC) voltage out of the collector of T
2
, which we
calculated when we earlier discussed the operation of T
1
and T
2
. (ie we would have V
c2
= V
i
' if C were
removed.) The impedance of the AC Thevenin equivalent circuit between the collector of T
2
and AC
ground is approximately 1 M? because h
oe
1
˜ 10 M? with I
c
= 10 µA.
C(1A')
~
1 MΩ
1 MΩ
h
oe
C
βi
b
A' = 1000 A' = 1000
v
o
v
o
1 MΩ
c 2
c2
e2
v
c 2
v'
i
c1
βi
b
e1
h
oe
Typically the capacitor, C, is about 30 pF, hence the effective capacitance in the equivalent circuit is about
30,000 pF = 30 nF so that the upper cutoff frequency of the effective low pass filter [1 M? and C(1A')
] is given by
f
2
=
1
2p x 1 M? x 30 nF
˜ 5 Hz .
The frequency response (gain, attenuation) of the low pass filter is given by the usual equation
v
i
'
v
c2
=
1
1 + f
2
/f
2
2
so that the gain of the whole op amp
chip is given by
2
2
2
5
1
10 x 2
f
f
A
v
v
i
o
+
· · where f
2
= 5 Hz. This is often referred to as the 'open loop
gain' (meaning no feedback loop) and is plotted below on a loglog scale.
ELEC 353 15
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
Frequency (Hz)
Gain
10
4
10
5
10
6
10
4
10
5
10
3
10
2
10
2
10
3
10
10
1
1
'open loop gain'
A
A
f
Notice that when the frequency is well above 5 Hz, we have
f
f
A
f
f
A
2
0
2 5
10 x 2 · · where A
o
is the DC gain.
Hence constant
2 0
· · f A Af . This constant, A
o
f
2
, is known as the gainbandwidth
product of the op amp chip. For our op amp (and the LM741), the gainbandwidth product, A
o
f
2
=
200,000 x 5 Hz = 1 MHz.
The dotted line in the graph above is the magnitude of the ('closed loop') gain,
1
R
R
A
f
f
· , versus
frequency for a simple inverting amplifier where 10
1
·
R
R
f
. Note that an amplifier with feedback will
always have less gain than (though it may be very nearly equal to) the ('open loop') gain of the chip itself.
The ('open loop') frequency response of the typical op amp given above may seem surprisingly poor at
first site. However, it does allow a large number of 'operations' (inverting and noninverting stable
amplifiers, voltage followers, adders, integrators, differentiators etc) provided the frequency is not too high.
Some op amps like the LM741 (on which we've based our example) have the dominant frequency limiting
capacitor built in; they are virtually unconditionally stable under all likely feedback configurations (ie they
won't oscillate 'unexpectedly').
Other op amps like the LM301 (similar to but allround slightly better than the LM741) have no such built
in capacitor but two pins are supplied on the IC for the user to connect his own. This has the advantage
that an experienced user can use a smaller capacitance under certain feedback configurations (such as
when only a small part of the output voltage is fed back to the input) and have a higher frequency response.
The disadvantage is that the user must connect a suitable capacitor and if it is too small the circuit will
oscillate and not function as intended.
Faster op amps are available (for a little more money): e.g. the LM318 has a gainbandwidth product of
15 MHz so that its 'open loop' gain (A) does not drop below one until the frequency is more than 15 MHz
as opposed to about 1 MHz for an LM741.
ELEC 353 16
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
Lar ge Signal Limit s  DC Supply ' Rails' and Slew Rat e
Power Supply Limiting:
The op amp, like any good amplifier, takes a sine wave input and normally generates an amplified, near
perfect sine wave at the output as shown in the left panel below for a signal of 1 kHz. However, most
amplifiers cannot output signals whose peak values exceed the power supply 'rails' (±15 V in our case). In
fact, nearly always, the peak value of the output cannot exceed voltages somewhat less than the power
supply 'rails'.
Op amps tend to be fairly good in this regard; e.g. with a power supply of ±15 V they will normally handle
an output 'swing' of about ±14 V without significant distortion. (If the supply were ±9 V the available
swing would be about ±8 V.)
The left panel in the following diagram is thus showing (about) the largest undistorted sine wave that can be
obtained at the output (with our ±15 V DC supply). If the input signal is increased further (say by 20 %)
the op amp will still correctly amplify those parts of the sine wave which require an output voltage of = ±14
V (according to the normal circuit gain) but 'flatten' the peaks to ±14 V as shown in the righthand panel
below. This is called limiting. Sometimes it is useful but it creates distortion and is thus normally to be
avoided.
1 2 0 3
Time (ms)
Output Voltage
+15
+14
14
15
0
Output Voltage
+15
+14
14
15
Time (ms)
0
0 1 2
3
Slew Rate Limiting:
Suppose the amplifier just discussed above was a simple inverting op amp with a gain, 10
1
·
R
R
f
, so that its
bandwidth would be expected to be about 100 kHz. When we keep the input sine wave amplitude
constant at the value used to get the (±13.5 V) output in the left panel above and increase the frequency,
we find that the output signal remains sinusoidal initially but when the frequency is still well below 100 kHz
the output tends to become triangular and of smaller amplitude than would have been expected from the
normal gain of 10. This is illustrated in the righthand panel below for a frequency of 25 kHz.
ELEC 353 17
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
1 2 0 3
Time (ms)
Output Voltage
+15
15
0
1 kHz 25 kHz
40 80 0 120
Time (µs)
Output Voltage
+15
15
0
The dotted sine wave is what we expected but the triangle is what we get. Further, if we decrease the
amplitude of the input signal to say 0.1 V peak we find we get a perfect sine wave out of 1 V peak just as
we would have expected. Only for small signals does the amplifier work well at these only moderately high
frequencies. Something goes wrong for large signals at these frequencies. What can it be?
The answer lies in the (30 pF) capacitor, which is used in op amps to limit the frequency response and
ensure their stability under feedback. The maximum current which can be obtained out of the collector of
T
2
to drive the following circuit (amplifier, A' , together with C ) is limited by the 20 µA constant current
generator.
The voltage across C is V
i
'  V
o
˜ V
o
since V
i
' = V
o
/A' = V
o
/ 1000. Thus the output voltage can change
at only the same rate as the voltage across C and this is, of course, controlled by the current flowing onto C
(since this current is the rate of change of charge on C). The current to make this change must come from
the collector of T
2
. Very little of the current from T
2
will be needed for the amplifier, A' ; virtually all the
current available from the collector of T
2
will be used to charge the (30 pF) capacitor, C.
Because V
i
' = V
o
/ 1000, and V
o
is never more than 10 volts or so, V
i
' (ie the voltage at the collector of
T
2
) never changes by more than a few millivolts. This means that the total voltage across the 1 M?
resistor changes only by small amounts and hence the current through this 1 M? is fairly constant at its
quiescent (rest) value of 10 µA. Since the constant current generator limits the total current to 20 µA, the
maximum current available for charging C is thus 10 µA (under which conditions the current through
T
1
would be zero since the 20 µA is shared between T
1
and T
2
).
Hence we have
C
q
V ·
0
where q is the charge on the capacitor and V
o
, as explained above, is the voltage
across the capacitor. Differentiating with respect to time, we have
dt
dq
C dt
dV 1
0
· for the rate of change or
slew rate of the output voltage, V
o
. The maximum slew rate occurs when the charging current has its
maximum value (10 µA) and is thus
V/s 10 x 0.33 s V/ 0.33 A 10 x
pF 30
1
6
max
0
· · ·
,
`
.

µ µ
dt
dV
If the output is to be a sine wave, v = v
p
sin(ωt), then the maximum rate of change is given by
1 ) cos( when ) cos( · · · t v t v
dt
dv
p p
ω ω ω ω . Thus ωv
p
= 0.33 x 10
6
V/s if the output is to be undistorted
for our op amp.
ELEC 353 18
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
All op amps suffer from this slew rate limitation to a greater or lesser extent. Faster chips are readily
available: the LM318 has a maximum slew rate of 70 V/µs but it costs a little more than a LM741 and
does not have the excellent DC bias properties of an LM308A for example. The designer chooses an op
amp from manufacturers' data sheets to suit the application.
Common Mode Rej ect ion Rat io
Let A = openloop (differential) gain of an OA
− +
−
·
v v
v
o
For a “perfect” OA, any signal which is common to v
+
or v

will have no affect on v
o
.
For a “real” OA, v
o
depends on v
d
= v
+
 v

and also on the commonmode signal v
c
= ½(v
+
+ v

)
eg if v
+
= +50 µV and v

= 50 µV ⇒ v
d
= 100 µV and v
c
= 0
but if v
+
= +1050 µV and v

= +950 µV ⇒ v
d
= 100 µV and v
c
= 1000 µV
so we express v
o
as a combination: v
o
= A
+
v
+
+ A

v

where A
+
(A

) is the voltage amplification from the +() input when the (+) input is grounded.
So v
+
= v
c
+ ½v
d
and v

= v
c
 ½v
d
and substituting gives
:
v
o
= A
d
v
d
+ A
c
v
c
A
d
≡ ½ (A
+
 A

) and A
c
≡ A
+
+ A

A
d
= voltage gain for the difference signal (ideally A
d
→ ∞)
A
c
= voltage gain for the commonmode signal (ideally A
c
→ 0)
And the commonmode rejection ratio is:
c
d
A
A
CMRR · · ρ
and so in terms of ρ:
,
`
.

+ ·
d
c
d d o
v
v
v A v
ρ
1 (so want ρ as big as possible)
[eg if ρ = 1000, v
c
= 1 mV, v
d
= 1 µV (so 1st term = 2nd term)
then a 1 µV difference between v
+
and v

gives the same output as a 1 mV (same parity) signal on v
+
/v

]
eg if v
+
= +20 µV, v

= 20 µV and ρ = 100 then v
d
= 40 µV and v
c
= 0 V ⇒ v
o
= 40A
d
µV
but if v
+
= 1020 µV, v

= 980 µV and ρ = 100 then v
d
= 40 µV and v
c
= 1000 µV = 1 mV ⇒
v
o
= 50A
d
µV
ie the measurements differ by 25% [if ρ = 10000 ⇒ differ by 0.25%]
Op Amp Specif icat ions
The following typical specifications were obtained from manufacturers' data sheets. (There are often wide
variations possible from the typical values; manufacturers usually try to indicate the extent of these in their data sheets
which should be consulted.)
ELEC 353 19
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
LM741
General
Purpose
LM301A LM308A LM318 OPA227
High
Precision
Low Noise
OPA277
High
Precision
LM6365 AD8009
Low
Distortio
n
Current
Feedback
OPA13
4
Audio
TS941
Micro
Power
Price /$ 0.2 2 7 6 3.7 3.2 16 8 5.2 2.4
Input Offset Voltage /mV 1 2 .3 4 .005 0.01 1 2 0.5 2
Input Offset Voltage tc /µVK
1
10 6 2 0.1 0.2 3 2 7
Input Bias Current /nA 80 70 1.5 150 2.5 0.5 2500 75000 0.005 0.001
Input Offset Current /nA 20 3 0.2 30 2.5 0.5 150 0.002 0.001
Input Offset Current tc /pAK
1
200 20 2 50 300
Input Impedance /? 2 M 2 40 3 10
10
8
0.02 1.1x10
5
10
13
CMOS
Input Capacitance /pF 1.4 12 3 2.6 2
Output Impedance /? 75 0.01
Common Mode Rejection Ratio
/dB
90 90 110 100 140 102 52 100 85
Gain Bandwidth Product /MHz 1 3 30 8 1 725 1000 8 0.01
DC Voltage Gain /dB 106
104 110 106
160 140 80 120 100
Slew Rate /Vµs
1
0.5 10 70 2.3 0.8 300 5500 20 0.00045
THD /% 0.00005 0.002 0.00008
Noise /nV(√Hz)
1
3 1.9
Supply Current /mA 1.5 1.8 0.3 5 3.7 1 5 14 4 0.0012
tc = temperature coefficient
The Oper at ion Amplif ier as a Compar at or
A comparator is an amplifier that is designed specifically for null comparison measurements –
eg a very highgain amplifier with wellbalanced difference inputs.
v
o
V
R
v
i
v
o
= A(V
R
– v
i
) v
i
is usually a timevarying signal and V
R
is a constant reference voltage. The ideal
comparator has the following transfer characteristic (V
+
and V

are the maximum output voltage swings):
v
o
= V
+
if v
i
< V
R
v
o
= V

if v
i
> V
R
ie the input is compared with the reference V
R
.
v
i
 V
R
0
v
o
"1" V
+
"0" V

We actually have a ‘digital’ output where V

≡ “0” and V
+
≡ “1” – in fact a 1bit ADC. For a real
comparator the ∆v
o
occurs with ∆v
i
≈ 2mV, ie the input offset voltage, and it contributes an error of ~
1mV in the comparison of v
i
and V
R
(the offset may need to be balanced out).
ELEC 353 20
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
Thus the transfer function looks more like
v
o
v
i
 V
R
0
"1" V
+
"0" V

Some OAs are specially designed for use as comparators – they are not
intended for use with ve feedback and so the frequency compensation
components can be omitted, giving a greater bandwidth; eg 710, 760, 111,
160
For these, ∆v
i
can be as small as 15µV, and switching speeds of 20ns.
A common use for a comparator is to convert a sinewave into a ‘squarewave’ –
v
o
V
R
v
i
ie if we put V
R
= 0 then v
o
changes state every time v
i
goes through zero – a zero
crossing detector.
Regenerative Comparator (Schmitt Trigger)
The gain of a comparator can be greatly increased by using +ve feedback:
v
o
V
R
v
i
v
1
R
1
R
2
If the loop gain = βA
V
= 1, then gain with feedback → ∞
For the above circuit,
2 1
2
R R
R
+
· β
eg if R
2
= 100Ω, R
1
= 10kΩ, A
V
= 14000 then βA
V
= 139
ie if the output increases by ∆v
o
then β∆v
o
is fed back to v
1
⇒ v
o
will increase
further by βA
V
∆v
o
etc…
V
1
V
R
v
i
V
o
V
o
v
o
V
2
V
R
v
i
V
o
V
o
v
o
V
2 V
1
V
R
v
i
V
o
V
o
v
o
ELEC 353 21
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
if v
i
< v
1
then v
o
= V
o
∴ ( )
1
2 1
2
1
V V V
R R
R
V v
R o R
≡ −
+
+ ·
if v
i
is now increased, then v
o
remains constant at V
o
, and v
1
= V
1
= constant until v
i
= V
1
– then the
output switches to –V
o
and remains here as long as v
i
> V
1
, during which time we have
( )
2
2 1
2
1
V V V
R R
R
V v
R o R
≡ +
+
− ·
ie V
2
< V
1
and V
H
= V
1
– V
2
= hysteresis voltage
If v
i
is now decreased, v
o
= V
o
until v
i
= V
2
, then the output switches to +V
o
.
eg for values with V
o
= 7V and V
R
= 1V we have V
1
= 1.059V and V
2
= 0.921V ⇒ V
H
= 0.138V
V
1
V
2
ie small changes across zero do not
cause the Schmitt trigger to change,
whereas a straight comparator would.
0
Logar it hmic Amplif ier
By replacing the feedback resistor in a normal inverting amplifier with a diode, D, we will have the output
voltage proportional to the logarithm of the input voltage;
i o
v v log want we ie ·
The voltampere characteristics of a diode are given by:
diode the across voltage the is and V
11600
where 1
d T
V
v
s
V
v
s d
v
T
V e I e I i
T
d
T
d
· ≈
,
`
.

− ·
η η
and I
s
is the reverse saturation current. The approximation is valid if
s d
T
d
I i
V
v
>> >> or 1
η
.
Hence ( )
,
`
.

− − · − · − ·
s
i
T d o s d T d
I
R
v
V v v I i V v ln ln so and ln ln η η [note virtual ground]
ELEC 353 22
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
v
i
+
_
D
R
v
o
i
d
v
d
Improvements:
The parameter η depends on diode current, but it can be eliminated by using a groundbased transistor
instead (transistor has a wider range than diode (see lab).
v
i
v
o
R
i
c
Q
This circuit can be further augmented with a second matched transistor which eliminates the saturation
current I
s
from the equation for v
0
. (I
s
doubles for every 10
o
rise in temperature.)
v
s
+
_
R
1
v
o
+
_
R
E
R
4
R
2
R
3
Q
1
Q
2
V
R
v
i
c1
i
c2
If Q1 and Q2 are matched (same I
s
), and i
b
<< i
c
then
( ) ( )
2
1
1 2
1 2
ln
ln ln ln ln
c
c
T
s c T s c T
BE BE
i
i
V
I i V I i V
v v v
− ·
− − − ·
− ·
ELEC 353 23
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
( )
3
4 3
1 2
also and
and since
1 2 2 2
R
R R v
v
R
v
i
R
V
i i i
o
s
c
R
c c b
+
·
· · ⇒ <<
,
`
.
 +
− ·
R
s
T o
V R
R v
R
R R
V v
1
2
3
4 3
ln
This can be satisfied over a dynamic range of 45 decades eg 0.2mV to 20V
Exponential Amplifier
v
s
R
1
v
o
R
E
R
4
R
2
R
3
Q
1
Q
2
V
R
v
+
_
+
_
i
c1
i
c2
,
`
.

+
· − ·
· ·
4 3
3
1 2
and ln
before as and
(constant)
2
1
2 1
R R
R
v v
i
i
V v
R
v
i
R
V
i
s
c
c
T
o
c
R
c
]
]
]
+
−
·
,
`
.

,
`
.
 +
− ·
4 3
3
2
1
1
2
3
4 3
ie
ln hence
R R
R
V
v
R
o
R
o
T s
T
s
e
R
V R
v
V R
R v
R
R R
V v
Analog Multiplication
 combine a log and exp amplifiers:
v
s1
R
v
F
R
R
R
v
exp
log
log v
s2
+
_
v
o
Unity Gain Adder
ELEC 353 24
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
R
T
V R
R
k
R
R R
V k
1
2
2
3
4 3
1
and let ·
+
·
( )
1
0
2
2 1
1
: amp exp for the and
ln : amps log for the then
k
v
F
s
e
k
v
v k k v
−
·
− ·
( ) ( )
( )
0 2 1
2
2 1
2 2 1 1 2 1
ln
ln ln : adder for the
v v v k k
v k k v k k v
s s
s s o
· − ·
− − ·
( )
2 1 2
ln
2
2 1
2
2
1
thus
s s
v v k
F
v v k
e
k
v
s s
·
·
v1
X
k
v0
v2
Squaring and Square Roots
v
s
X
k
k
v
v
s
o
2
·
Squaring
v
s
+
_
R
1
v
o
R
2
i
1
i
2
X
k
v
2
Square Root
k
v
v
R
v
i
R
v
i
o
s
2
2
2
2
2
1
1
·
·
·
s o
v
R
kR
v
i i
1
2
2 1
thus
(opamp) also
·
− ·
s o
v v
k R
R
· · then
1
if and
1
2
Volt age Cont r olled Oscillat or (VCO)
This is really a form of analogtodigital conversion (ADC) since the output is a waveform of fixed
amplitude but varying frequency. The circuit consists of an integrator and a comparator which resets the
integrator when it reaches some threshold voltage.
ELEC 353 25
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
v
o
v
2
= V
R
i
c
v
1
R
1
R
2
+

+

A
1
A
2
R
V
s
v
o
’(t)
R
3
V
z
V
z
C
i
c
= constant current to charge C. The Zener diodes limit the output v
0
to t (V
Z
+ V
D
) where V
D
is the
forward voltage drop of the diodes. The waveform at the output of the integrator has the form:
T
1
T
2
T
t
v
0
’
V
max
,
`
.
 +
2
2 1
R
R R
V
R
V
min
If we assume that ( )
0 0
V V V v
D Z
− · + − · then the input to A
2
is –ve and so v
0
’(t) is an increasing ramp
voltage. Thus v
1
(input to A
1
) is
2 1
1 0
2 1
2 0
1
'
R R
R v
R R
R V
v
+
+
+
− ·
When v
1
> V
R
, A
1
changes state, v
0
= +V
0
and v
0
’(t) is a decreasing ramp voltage. V
max
occurs when v
1
= V
R
, ie
1
2
0
1
2 1
max 0
'
R
R
V
R
R R
V V v
R
+
+
· ·
similarly,
1
2
0
1
2 1
min 0
'
R
R
V
R
R R
V V v
R
−
+
· ·
Thus the peaktopeak swing is
1
2
0 min max
2
R
R
V V V · − and the average value =
1
2 1
0
R
R R
V v
R
+
·
If V
S
= 0 then
dt
dv
C
dt
dv
C i
c
c
'
0
− · · (v
c
= v
0
’ = capacitor voltage)
Now, for v
0
= V
0
R
V
i
c
0
− · (V
S
= 0 ⇒ virtual earth) so
RC
V
dt
dv
0 0
'
· (positive sweep speed) and
1
2
0
min max
1
2
R
RC R
RC
V
V V
T ·
−
·
Since for a negative sweep v
0
= +V
0
, then T
2
is the same. ie
f
T
T T
2
1
2
1 2
· · · or
RC R
R
f
2
1
4
·
NOTE:
§ f is independent of V
0
(ie V
Z
and V
D
)
ELEC 353 26
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
§ f
max
is limited by the slew rate of A
2
(or the maximum output current)
§ f
min
depends on the bias currents of the opamps.
So far we have just described a trianglewave generator
VCO
If V
S
≠ 0 then f is given by:
]
]
]
]
,
`
.

−
]
]
]
·
2
0 2
1
1
4 V
V
RC R
R
f
S
thus V
S
is related to f ⇒ VCO.
But f is a nonlinear function of V
S
.
Linear VCO
v
o
R
1
R
2
+

A
1
R
3
V
z
V
z
i
c
+

A
2
R
v
x
v
o
’(t)
C
v
m
+v
m
Q
1
Q
2
CMOS – SPDT switch
Let
2 1
2
R R
R
+
· β and note that
§ sweep speed is controlled by v
m
§ waveform amplitude is fixed by the comparator parameters
Assume v
0
= +V
0
where V
0
> (maximum value of v
m
) =  v
m

max
Ø Q
1
is OFF and Q
2
is ON
Ø v
x
= input to integrator =  v
m
Ø v
0
’(t) increases linearly with sweep speed = [ ]
1 −
+ Vs
RC
v
m
until
2 1
2
0 0 0
'
R R
R
V V v
+
· · β ⇒ comparator changes state to v
0
= V
0
and then
Ø Q
1
is ON and Q
2
is OFF
Ø v
x
= + v
m
Ø v
0
’(t) decreases linearly with sweep speed = [ ]
1 −
− Vs
RC
v
m
until
0 0
' V v β − · etc etc
Thus
( )
0
2 1
2
0 0
2
2
V
R R
R
V V
T
RC
v
m
+
·
− − · β β
ie
0 2
2 1
4 V
v
RCR
R R
f
m
+
· ie f ∝ v
m
ELEC 353 27
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
In practice the linearity extends over > 3 decades (eg from 2 mV to > 2 V)
ELEC 353 28
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
The 555 Timer Chip
1
2
3
4
8
7
6
5
555
Discharge
Reset
GND
Trigger
Output
V+
Threshold
Voltage Control
The 555 Timer is a highly versatile chip specifically designed for precision timing applications. It
can also be used in monostable, astable and Schmitt trigger applications. It can readily produce
accurate timing periods variable from microseconds to several hundred seconds via a single RC
network. Timing periods are virtually independent of supply voltage, have a temperature
coefficient of only 0.005%/
o
C, can be started with a 'Trigger' signal and aborted with a 'Reset'
signal.
Used as an astable, the frequency and duty cycle of the waveform are accurately controlled with
two external resistors and one capacitor. As a monostable, it produces output pulses with typical
rise and fall times of ns.
555 as a monostable
1
5k
5k
5k

+
c
1

+
c
2
R
1
R
S
555
Reset 4 Vcc 8
Out put 3
Di schar ge 7
Volt age Cont r ol 5
Tr i gger 2
Thr eshold 6
555 as an oscillator
ELEC 353 29
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
1
5k
5k
5k

+
c
1

+
c
2
R
1
R
S
555
Reset 4 Vcc 8
Out put 3
Di schar ge 7
Volt age Cont r ol 5
Tr i gger 2
Thr eshold 6
Amplit ude Modulat ion (AM)
DSB (Double Side Band) modulation – simplest
Assume we have a carrier waveform given by: v
c
= A
c
cos ω
c
t
and a signal given by: v
s
= A
s
cos ω
s
t
where ω
s
<< ω
c
We combine them by multiplication thus:
A
s
cos ω
s
t
Multiplier
Modulated Carrier
A
c
cos ω
c
t
( )( ) ( ) ( ) ( ) t t
A A
t A t A v v v
s c s c
s c
s s c c s c DSB
ω ω ω ω ω ω + + − · · · cos cos
2
cos cos
v
s
= A
s
cos ω
s
t
v
c
= A
c
cos ω
c
t
ELEC 353 30
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
v
DSB
= ( )( ) t A t A
s s c c
ω ω cos cos
v
AM
= ( )( ) t A t A
s s c c
ω ω cos 1 cos +
ELEC 353 31
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
and the frequency spectrum will look like:
ω
c
 ω
s
ω
c
ω
c
+ ω
s
This is often called DSB suppressed carrier (DSBSC) modulation. The bandwidth of a DSB signal is
twice that of the signal alone. For Single Side Band (SSB) we simply remove one of the two side bands
(eg ω
c
 ω
s
) by filtering, which leaves a single frequency (or band)
Note: NO power is transmitted for SSB unless the signal frequency is present – very efficient.
AM
For AM the carrier is added back into the modulated carrier:
A
s
cos ω
s
t
Multiplier
Amplitude
Modulated Signal
A
c
cos ω
c
t
Adder
( )( )
t mA t mA t A
t A t mA t A
t mA t A v v v
s c c s c c c c
s s c c c c
s s c c s c AM
) cos( ) cos( cos
) cos )( (cos cos
cos 1 cos ) 1 (
2
1
2
1
ω ω ω ω ω
ω ω ω
ω ω
+ − − + ·
+ ·
+ · + ·
where m = degree of modulation = v
s
/v
c
≤ 1.
This waveform consists of three sinusoidal components – the carrier ω
c
, and the upper and lower side
bands ω
c
t ω
s
. The spectrum is now
ω
c
 ω
s
ω
c
ω
c
+ ω
s
Demodulation
The simplest AM receiver consists of a diode detector followed by a LPF:
ELEC 353 32
Operational Amplifiers 20060404 © Neil R Thomson & John L Bähr
RF Amp
Audio
R C
A better receiver uses synchronous multiplication of the signal and carrier (ω
c
in frequency & phase)
DSB or AM Multiplier
Signal
A
c
2
A
s
cos ω
s
t
Reference
A
c
cos ω
c
t
LPF
Frequency Modulation
In this case we modulate the frequency (ω) or phase of the carrier wave.
ie )] ( cos[ t v k t A v
s p c PM
+ · ω
or t t v k A v
s f c FM
)] ( cos[ + · ω
where
ω
c
= carrier frequency (88 – 108 MHz for FM broadcasting)
k
f
, k
p
= FM and PM constants
In the FM case the spectrum is:
ω
s
ω
c
ie there are numerous side bands spaced at multiples of ω
s
.
FM is easily generated with a VCO – the input voltage in this case is just v
s
(t). Can use a phaselocked
loop circuit to demodulate FM.
Ref er ences/ Web Sit es1
Millman, J. and A. Grabel Microelectronics, McGrawHill, 1987.
Analog Devices http://www.analog.com/
Philips Semiconductors http://www.semiconductors.philips.com/
Texas Instruments http://www.ti.com/
This action might not be possible to undo. Are you sure you want to continue?
We've moved you to where you read on your other device.
Get the full title to continue reading from where you left off, or restart the preview.