Operational Amplifier Circuits: o o o o
Operational Amplifier Circuits: o o o o
Circuits
Contents:
An operational amplifier is a direct coupled amplifier with two differential inputs and a single
output. It is a versatile device used in almost all analog circuits. It provides very high open
loop gain. It is a linear active device, which consists of different stages as show in figure.
+VCC=15V
1
-
V1 3
2 O/P
+
V2
-VCC=-15V
+VCC=15V
1 - O/P
Stage Stage Stage Stage
I/P
2 + 1 2 3 4
-VCC=-15V
Stages:
It was originally designed for performing mathematical operation such as, summation,
subtraction, multiplication, differentiation, integration, sigh changing etc. Now-a-days it has
numerous usages e.g. scale changing analog computer operation, in instrumentation and
control system and in various phase-shift and oscillator circuits.
26
Page
Stage 1:
It is a differential amplifier with a non-inverting and an inverting input terminal. It has also
double ended output. It has very high input impedance, so it amplifies very small signals
applied differentially and rejects small and large common mode input signal.
Stage 2:
It is a medium level signal amplifier biased by constant current source. Its output is a single
ended. So that it could be conveniently cascaded to the follower circuits.
Stage 3:
It is a common emitter amplifier which is responsible for level shifting as well as
amplification
Stage 4:
It is basically emitter follower type circuit to obtain low output impedance and high current
gain. So that it could drive the external load approximately.
The Op-amp is designed to sense and amplify the difference between the voltages signal
applied at its two input terminals. The output of Op-amp is:
Vo = A(V2-V1)
2. The output impedance of an ideal Op-amp Fig: Ideal Op-Amp with Zero Signal
Current Due to Infiniter I/P Impedance
is zero, i.e. the output voltage with respect to
ground is always equal to VO = A(V2-V1)
and is independent of the load. I1=0
-
V1 A(V2-V1)
Vo
3. It has infinite common mode rejection, i.e.
+
-
it ignores any signal common to both inputs.
+
V2 I2=0
4. Ideal Op-amp has infinite band width, i.e. it
has gain ‘A’ that remains constant down to Fig: Ideal Op-Amp with
zero frequency up to infinite frequency. Zero o/P Impedance
If the Op-amp has infinite open loop gain, i.e. A→∞; and producing finite voltage at output,
then voltage between the Op-amp input terminals should be negligibly constant as shown.
Vout = A(V2 − V1 ) V1 -
Vout ∞ Vout
i.e. V2 − V1 = = A
A A
V2 +
i.e. V2 − V1 = 0
Fig: Virtual Short-Circuit &
i.e. V2 = V1 Virtual Ground
This means that, Gain (A) → ∞; the voltage V1→V2, we call this as two input terminal
‘Tracking Each Other in Potential’ or ‘Virtual Short Circuit’ exists between the two input
terminals. A virtual short circuit means that whatever voltage is at terminal two, will
automatically appear at terminal one because of infinite gain.
If terminal two is grounded, voltage at terminal one is zero volts, so we call the terminal one
as a virtual ground.
28
Page
Op-Amp Circuits
1. Inverting Configuration
In this configuration input is supplied on the inverting terminal of the op-amp, so called
inverting configuration. R2 closes loop around the op-amp, so acts as a negative feedback.
R2
i2
R1
V1 1
-
i1
Vi
A Vo
+
V2=0 2
Again, V1 = i2 R 2 − Vo = 0
V
Or, Vo = V1 − i2 R 2 = −i1 R 2 = − R i . R 2
1
Vo R2
Closed loop gain (A) = =−
Vi R1
1 1 R2 R
i.e. Vo (1 + +
A A R1
) = −Vi R2
1
R R
Vo − 2 R1
− 2 R1
Gain: = 1 1R = 1 R
29
Vi (1+A+AR2 ) 1+A(1+R2 )
1 1
Page
2. Non Inverting Configuration
Here, input is fed into the non-inverting terminal-2 of an op-amp, so called non-inverting
configuration.
R2
i2
R1
V1 1
-
i1
A Vo
+
V2 2
Vi
Again, V1 = i2 R 2 − Vo = 0
V
Or, Vo = V1 − i2 R 2 = Vi − i1 R 2 = Vi + R i . R 2
1
R2
Or, Vo = Vi (1 + )
R1
Vo R2
Closed loop gain (A) = =1+
Vi R1
1 1 R2 R
i.e. Vo (1 + +
A A R1
) = Vi (1 + R2)
1
R R
Vo − 2 R1
(1+ 2 )
R1
Gain: = =
30
1 1R 1 R
Vi (1+A+AR2 ) 1+A(1+R2 )
1 1
Page
Design an operational amplifier having:
a) Vo = -10Vi and
b) Vo = 5Vi
Solution:
a) When Vo = -10Vi
i.e. Gain (A) = Vo/Vi = -10
Since, it has negative voltage gain, so using a inverting configuration of op-amp, in
which, Vo = -(R2/R1)Vi
i.e. A = Vo/Vi = -R2/R1
i.e. -10 = -R2/R1
i.e. R2 = 10R1
40K
100K
i2
i2
10K V1 1
10K -
V1 1
-
i1
i1 A Vo
Vi
A Vo
+
V2 2
Vi
+
V2=0 2
b) When Vo = 5Vi
i.e. Gain (A) = Vo/Vi = 5
Since, it has positive voltage gain, so using a non-inverting configuration of op-amp,
in which, Vo = (1+R2/R1)Vi
i.e. A = Vo/Vi = 1+R2/R1 = (R1+R2)/R1
i.e. 5 = (R1+R2)/R1
i.e. 5R1 – R1 = R2
i.e. R2 = 4R1
Vi = V1 Vi = V1
- -
Vo
A=1 A=1
V2 V2
Ro Vo = Vi
+ +
Vi Ri
4. Integrator
It consists of a capacitor C in the feedback path of the inverting configuration.
Vc(t)
I2(t)
R1 1
Vi(t) -
V1
I1(t)
Vo(t)
+
V2 = 0 2
From figure:
ϑi(t) −ϑ1 ϑi(t) −0 ϑi(t) −ϑ1 ϑi(t)
i1 = = ; (V2 = 0 = V1) i.e. i1 = = = i2 . …(i)
R1 R1 R1 R1
1 t
i.e. ϑo(t) = − ∫ ϑ dt
R1 C 0 i(t)
Page
5. Differentiator
In this case, a capacitor C is connected in the inverting terminal -1 of the inverting
configuration of an operational amplifier. In which V2 = 0 = V1.
I2(t)
Vc(t)
Vi(t) -
V1
I1(t)
Vo(t)
+
V2 = 0
From figure:
ϑi(t) − ϑc(t) − V1 = 0 i.e. ϑi(t) = ϑc(t) … (i) (V1 = 0)
dϑc(t) dϑi(t)
Since, i1(t) = C =C = i2(t) … (ii)
dt dt
6. Difference Amplifier
Op-amp can be used in subtracting mode. The alongside figure shows a circuit that can
provide the difference between two inputs.
Rf
i2
R1 1
Vi1 -
V1
i1
A=1 Vo
V2
Vi2 +
2
i2 R3
33
7. Comparator
Comparators are similar to Op-amp except that open loop gain is made longer by
including positive feedback in the internal circuit. Due to very large open loop gain,
output voltage essentially provides digital operation.
Vin -
There are only two possible outputs, Vo
they are Vmax and Vmin. VR +
then Vo = Vmin
Vmin
34
Solution:
t
1 t Vo(t)=2t
We have: ϑo(t) = − ∫ ϑ dt
R1 C 0 i(t)
1 t
ϑo(t) = − ∫0 2dt Slope = -2 t
1
t
= −2t|
0 Fig: The Output of Integrator
Subjected to Step Input
ϑo(t) = −2t
8. Weighted Summer
alongside.
Fig: Resistor Summing Network
Page
V1 −V V1 −0 V1
Here; i1 = = =
R1 R1 R1
V2 V3
Similarly, i2 = ; i3 = and so on.
R2 R3
V1 V2 V3 Vn
At a junction; i = i1 + i2 + i3 + …. + in i.e. i = + + +⋯ …(i)
R1 R2 R3 Rn
V1 − iR f − V0 = 0
V1 V2 V3 Vn Rf Rf Rf Rf
i.e. V0 = −iR f = −( + + +⋯ )R f = V + V + V +⋯ Vn
R1 R2 R3 Rn R1 1 R2 2 R3 3 Rn
Rf Rf Rf
Where, , … are known as the weights of V1, V2, …Vn respectively. Since, the output
R1 R2 R3
voltage is the sum of all weights, so it is called by weighted summer.
Examples
1. Realize a circuit to obtain, Vo = -2V1+3V2+4V3. Use minimum value of R as 10K.
Solution:
Here; Vo = -2V1+3V2+4V3 = -{2V1+3(-V2)+4(-V3)} …(i)
Rf Rf Rf Rf
Comparing (i) with the equation: V0 = −( V1 + V2 + V3 + ⋯ V ); We get:
R1 R2 R3 Rn n
Rf Rf Rf Rf Rf Rf
= 2; i.e. = R1 ; = 3; i.e. = R 2 and = 4; i.e. = R3
R1 2 R2 3 R3 4
Here; R3<R2<R1; So, choosing R3 = 10K. Then: Rf = 4R3 = 410 = 40K, R1 = Rf/2 =
40/2 = 20K, R2 = Rf/3 = 40/3 = 13.33K. Now, the realization of the circuit is as follow.
10K
i1 R1 = 20K Rf = 40K
10K V1
-
V2 i
i2 R2 = 13.3K i
-
V
+ Vo
i3 R2 = 10K
10K
+
10K
V3 -
When Vo = -2V1+3V2+4V3
Page
DC Imperfection of Op-Amp
Output Offset Voltage
The actual value of output voltage when the inputs are zero is called the output offset voltage.
It is the output level about which the signal variation occurs. If an op-amp is used only for
an ac signal, it can be capacitor coupled to block the dc component represented by offset. On
the other hand, at low level and low frequency signal, the offset voltage creates the error, so
it has to be reduced.
Output offset voltages are the result of two distinct input phenomenons, they are;
a) Input bias current and
b) Input offset voltage.
In the first-stage of op-amp i.e. differential stage, some dc bias current must flow when
the transistor is properly biased. This current is called input bias current. Although, small
input bias current flowing through the external resistor in an amplifier circuit produces a
dc input voltage that in terms create an outpur offset voltage.
R2
IB1 R1 -
+ IB1 Vo (IB)
s
+
IB2
IB2
The input bias currents through two terminals are represented by two current sources IB1
and IB2 connected on two input terminals as shown below.
Generally, average input bias current is given by IB = (IB1 +IB2)/2 and the difference is
called input offset current, i.e. Iios = | IB1 - IB2|.
o Output offset voltage for closed loop configuration due to input bias current:
R2
R1 - R1
Vi1 = IB2R1 -
Vo
IB1 Vo
R3 + R3
Vi2 = IB2R3 +
IB2
Vi2 = -IB2R3
Fig: Reduction of Output Offset Voltage due to Input Bias Current by Adding
Series Resistance R3 With Non-Inverting Input Load
Total output offset voltage (Vos) = Offset due to Vi1 + offset due to Vi2
i.e. Vos = Vi1(-R2/R1) + Vi2(1+R2/R1) = -IB1R1(-R2/R1) + (-IB2R3)(1+R2/R1)
Examples
1. Calculate the output offset voltage due to 300nA of bias current. How can you reduce
this offset voltage?
10K
100K
10K - 10K -
Vo
Vo
+ 9.09K +
Solution:
Given; IB = 300 nA, i.e. IB1 = IB = 300 nA; R1 = 10K and R2 = 100K
a) VOS(IB) = R2.IB1 = 10010330010-9 = 0.3 mV
b) In order to reduce this offset voltage, an external resistance R3 should be connected
in series at terminal-2, for which R3 = R1//R2 = 10K//100K = 9.09K
38
Solution:
Since, IB = (IB1 + IB2)/2 = IB1 + IB2 = 802 = 160 … (i)
And IOS = |IB1 - IB2| = | IB2 - IB1| = 10 … (ii)
Solving I and II, we get: IB1 = 75nA and IB2 = 85nA
Now,
a) R3 = R1//R2 = 10K//100K = 9.09K
b) VOS = IOS.R2 = 1010-9100103 = 1mV
c) VOS(without R3) = IB1.R2 = 7510-9100103 = 7.5mV.
-
1 3
+
2
Vios
Offset Free
Input Offset Op-Amp
Voltage
Fig: Demonstration of
Input Offset Voltage
The effect of this voltage can be analyzed by modeling op-amp as shown in above figure.
It consists of a dc source of value Vios placed in series with the input load of an offset free
39
op-amp.
Page
o Output offset voltage of a closed loop op-amp configuration due to input offset
voltage.
Here; R2
i1 = i2 and V1 = Vios
i2
i1 = -V1/R1 = -Vios/R1 R1
-
Vos
Again; i1
Offset Free
Vos = V1 – i2R2 + Op-Amp
This is the case when compensation resistor is not used. When compensation resistor R3
is used, then: Vtos = IOS.R2 + Vios{1+(R2/R1)}; Where, R3 = R1/R2
Examples:
1. Given: R1 = 15K, R2 = 75K, IB = 100nA, IOs = 20nA, Vios = 0.5mV. Find Vtos when;
a) Compensation resistor is used under the assumption of i) IB1>IB2, ii) IB2>IB1.
b) Compensating resistor is not used as i) IB1>IB2, ii) IB2>IB1.
c) Find R3 ie; compensating resistor.
Solution:
a) When R3 is used:
i) If IB1>IB2
Then, Ios = |IB1 - IB2| = 20 nA
i.e. IB1 – IB2 = 20nA …(i) and IB = (IB1+IB2)/2, i.e. IB1+IB2 = 200nA … (ii)
Solving i and ii, we get: IB1 = 110nA and IB2 = 90nA
40
Icm
2Ricm
2
RO VO
Vid iid Rid
+
-
AVd
i
Icm 2Ricm
2
R2 R2
Icm
2Ricm
2
R1 R1
V1 -
RO VO RO VO = AVid
iid Rid Vid Rid
+
+
-
Loop I
Vin AVd Vin AVid
+
iin iin
Icm 2Ricm
2
41
Therefore, input impedance of non inverting configuration is very high while that of inverting
configuration is very low.
R1
Referring fig: c) V1 = × VO
R1 +R2
R1
If = ; then: V1 = βVo …(i)
R1 +R2
From loop I
Vin − iin R id − V1 = 0 i.e. Vin = Vid + V1
Now;
Rin = Input terminal resistance = input voltage/input current
Vid +V1 Vid +V1 Vid +βVo Vid +βAVid (1+Aβ)Vid (1+Aβ)
i.e. R in = = = = = =
iid Vid /Rid Vid /Rid Vid /Rid Vid Rid Rid
(1+Aβ)
i.e. R in =
Rid
To find output resistance, input sources are made short and grounded. Applying a test voltage
at output resistance, Rout = Vx/Ix.
Now;
R2
V1 = × Vx = β Vx i.e. V1 = β Vx …(i)
R1 +R2
42
R2
R1 Vx
- i1
V1
RO R2
Vid i2 ix
Rid
+
-
Loop I o
Vin AVid Vx
+ R1 Rid
ix = i1 + i2
Vx Vx 1 (1+Aβ)
i.e. ix = + (1 + Aβ) = Vx { + }
R1 +R2 Ro R1 +R2 Ro
ix 1 (1+Aβ)
i.e. = +
Vx R1 +R2 Ro
1 1 1
i.e. = +
Rout R1 +R2 Ro /(1+Aβ)
1
i.e. ≫ (R1 + R 2 )
Ro /(1+Aβ)
43
The operational amplifier basically operates to amplify the difference between the signals
applied across its two terminals i.e. it is intended to operate in differential mode. So, when
input terminals are tied together, the output voltage should be ideally zero but due to some
imperfections within an actual op-amp, some common mode voltage will appear at the
output. The ratio of output common mode voltage to input common mode voltage is called
common mode voltage gain.
Vocm
i.e. ACM =
Vicm
Now;
CMRR is defined as the ration of differential gain Ad to common mode gain Acm.
Ad
i.e. CMRR =
Acm
Ad
i.e. CMRR = 20 log( )dB
Acm
Typically CMRR ranges from 80dB to 100dB. The op-amps with high CMRR will be least
affected by noise signals, that are common to both terminals because of higher ability to
reject the common mode signals.
Since, Output voltage = Output voltage due to differential mode + Output voltage due
to common mode
Where;
Ad = Differential Gain
Vd = Differential Voltage
Acm = Common mode gain
Vicm = Common mode input voltage
Example
The input terminals of an op-amp are connected to voltage signals of strength 745 µV and
740 µV respectively. The gain of the op-amp in differential mode is 5105 and its CMRR is
44
80 dB. Calculate the output voltage and percentage error due to common mode.
Page
Solution
(CMRR)dB = 20log(CMRR)
i.e. 80 = 20log(CMRR)
i.e. CMRR = 104
1 742.510−6
Vo = 5105 × 510−6 (1 + . ) = 2.537V
104 510−6
PSRR is defined as the ration of change in output voltage to change in power supply.
∆VO
i.e. PSRR =
∆VS
PSRR is considered as the measure of ability of op-amp to ignore changes in power supply.
45
Page