Basic Electronics Mod 3 (Operational Amplifier) PDF
Basic Electronics Mod 3 (Operational Amplifier) PDF
Introduction: Operational amplifier is an high gain direct coupled differential amplifier which
is used to perform mathematical operations such as addition, subtraction, multiplication,
division, differentiation etc. and it is used to amplify both AC and DC signals.
Inverting terminal –
Output
Non-inverting
+
terminal
–VEE
Offset Null μ NC
A
Inverting input +VCC
7
Non-inverting input 4 output
–VCC 1 Offset Null
1
2 Basic electronics
Vi
+VCC
t
Vi –
Vo Vo
+
t
–VEE
+VCC t
–
Vo
Vo
Vi +
t
Fig.2.1(f): Input and output waveforms of Non-inverting op-
amp
If two voltages V1 and V2 are applied to an op-amp then output of the op-amp will be
Vo = A (V2 – V1) where, A is the gain of op-amp.
+VCC
V1 –
Vo
V2 +
–VEE
Fig.2.1(g):Difference amplifier
Operational amplifier is basically an amplifier which amplifies the difference between
Introduction to Operational Amplif ier 3
two input signals applied to its terminals. Hence it is also called as differential amplifier.
2.2 Ideal Operational Amplifier
+VCC
Rc Rc
Vo
– +
Rb Rb
V1 V2
RE
+VCC
V1 V1 –
Ideal
Vo Vo
op-amp
V2 V2 +
–VEE
Fig.2.2(b): Op-amp symbol
-
V1
Ro
Vd Ri
Vo
+
–AVd
V2
+ –
–VEE
When Ri = ∞, the terminals open circuited therefore the whole of voltage Vd is linked to
AVd. If Ri ≠ ∞, there is a drop across the Ri. When Ro = 0, the Vo = AVd as a whole
otherwise there is a drop across Ro resistance.
When Ro = 0, i.e, short circuited then the whole AVd comes as Vo.
3) Voltage gain is infinite:
The voltage gain of an ideal op-amp is infinite, A = ∞. This implies that, for a given
output voltage, the differential input voltage is essentially zero.
Vo
A= A = ∞ ⇒ Vd = 0
Vd
4) Infinite Bandwidth (BW = ∞): Range of AC within which an op-amp can accurately
amplify (No effect on how op-amp behavior). The range of frequency over which the
amplifier performance is satisfactory is called its bandwidth. The bandwidth of an
ideal op-amp is ∞, this ensures that operating frequency is from 0 to ∞.
5) Perfect balance: when equal voltage are applied to both the inputs of an ideal
op-amp, its output voltage is zero. Thus, it has a perfect balance.
6) CMRR(Common Mode Rejection Ratio) is infinite: The ratio of differential gain to
common mode gain is called CMRR. CMRR is ∞ which ensures that the common
mode noise output voltage is 0 for ideal op-amp.
7) Infinite slew rate: Infinite slew rate ensures that output changes simultaneously with
change in input voltage.
8) PSRR(Power Supply Rejection Ratio) is Zero: It is defined as the ratio of change in
input offset voltage to change in power supply voltage producing keeping other supply
constant.
2.4.1.2 Practical characteristics of op-amp:
1) Open loop voltage gain: It is the voltage gain of op-amp when no feedback is
applied practically its value is 2 × 105.
2) Input impedance: It is typically greater than 1 MΩ (nearly equal to 2 MΩ) but using
FET (field effect transistor) for input stage it can be increased upto several 100 MΩ.
3) Output impedance: It is typically few 100 Ω (nearly equal to 75 Ω) with the help of
negative feedback it can be reduced to very small value like 1/2 Ω
4) Bandwidth: The bandwidth of practical op-amp in open loop configuration is very
small, by applying feedback it can be increased to desired value. Its range of 1 to 100
MHz, typically 1 MHz (unity gain).
5) CMRR(Common Mode Rejection Ratio): It is of the order 90 dB
6) Slew rate: slew rate ensures that output changes simultaneously with change in input
voltage.the value is 0.5V/µs
7) PSRR(Power Supply Rejection Ratio): It is defined as the ratio of change in input
offset voltage to change in power supply voltage producing keeping other supply
constant.the value is 30µV/V
2.4.3.Differential Gain (Vd)
Ad is the gain with which the differential amplifier amplifies the difference between two
input
6 Basic electronics
Thus there exist some infinite output for V1 = V2 due to some common mode gain.
So, output of differential amplifier is expressed as,
V o = V d A d + V c . Ac
Ideally, common mode gain (Ac) is Zero. Hence ideal value of CMRR is infinity.
Ad
CMRR in dB = 20log
Ac
2.4.6.Offset Voltage 7
Presence of small output voltages when input terminal voltage V1 and V2 are equal.
∆V ios
PSRR = V EE Constan t
∆V cc
Or
∆V ios
PSRR = V cc Constan t
∆V EE
Whenever both the input terminals of op-amp is grounded ideally the output
should be Zero.
However the practical op-amp shows some small non-zero output voltage. To make
this output voltage Zero. A small voltage interms of mV is to be applied to one of
the input terminal. Such a voltage makes the output exactly Zero. This DC voltage
which makes the output voltage Zero is called input offset voltage.
The voltage which is to be applied is specified by the manufacturer in the data
sheet.
8 Basic electronics
+VCC
–
V –VEE
+VCC
–
Ib1
Vo
+
Ib2
–VEE
The input terminals (base of the two transistors) conduct small DC current. This small
base currents of two transistors are nothing but bias current denoted as Ib1 and Ib2.
Bias current is defined as current flowing into each of the two transistors input terminals
when they are biased to same voltage levels.
I b1 + I b 2
Ib =
2
∴ Input offset = I b1 − I b 2
Problems
1. If the base current for the transistor of a differential amplifier 18 µA. Determine.
i) Input bias current ii) Input offset current.
Introduction to Operational Amplifier 9
Solution:
I b1 = 18 µA, I b 2 = 22 µA
I + I b2
I b = b1 = 20 µA
2
Input offset = I b1 − I b 2
= − 4 µA
2. For a practical op-amp, while the input bias current is 60 nA. Calculate the value of
two input bias currents. If input offset current is 20 nA.
Solution:
Ib = 60 nA, Ib1 – Ib2 = 20 nA I b1 − I b 2 = 20 nA
I b1 + I b 2 I b1 + I b 2 =120 nA
= 60 nA
2 ( −) ( −) ( −)
I b 2 = 50 nA − 2 I b 2 =100 nA
I b1 = 70 nA
Non-inverting
+
input
–VSat
The open loop gain of an op-amp is very high while every op-amp has a property that its
output can seen between two levels decided by the supply voltage that is +VCC and –VEE.
Thus, if output tries to raise more than +VCC or less than –VEE then it gets clipped and gets
saturated at the level almost equal to +VCC and –VEE on +Vsat and –Vsat value respectively.
Once the output voltage reaches the saturation level it does not increase further even
if an input voltage is increased. The op-amp is then said to be saturated.
+VCC
Virtual ground
G –
V1 = 0 Vo
Ri V1 +
Ii V2 RL
G –VEE
∴ V1 = V 2
When a non-inverting terminal is grounded, V2 = 0 and V1 will be at ground potential
without actually being grounded.i.e.virtually grounded. Therefore the node 'G' is called
virtual ground and it has Zero voltage w.r.t ground.Since, ideal op-amp has infinite input
impedance and because of the concept of virtual ground all the input current Ii will pass
through feedback resistance RF and the output voltage Vo is taken across load resistance RL.
3) Summer (Adder)
4) Subtractor
5) Voltage follower
6) Integrator
7) Differentiator
Vi
Vo
I1 = I 2
V i − V1 V1 − V o
=
R1 Rf
12 Basic electronics
Vi − 0 0 − Vo
=
R1 Rf
−R f
Vo = Vi
R1
Rf
Where is the gain of an amplifier and –ve sign indicates the output is inverted
R1
w.r.t input.
Vo
+VCC
R1
– t
V1 Vo
I1 +
Vi
–VEE
Vo
Vi Vo
t
t t
I1 = I 2
0 − V1 V1 − V 0
=
R1 Rf
−V1 V V
= 1 − o
R1 Rf Rf
V0 1 1
= V1 +
Rf R f R1
1 1
V 0 = V1 R f +
R f R1
Rf
= V1 + V1
R1
Rf
V o = V1 1 +
R1
Introduction to Operational Amplifier 13
V1 ≈ V i (VirtualGround concept)
Rf
V o = V i 1 +
R1
Rf
Where 1+ is a gain of an amplifier and output is in phase with the input.
R1
Inverting Adder: Rf
R1 I1 If
V1 +VCC
R2 I2
V2 –
G=0 Vo
+
V3
R3 I3
–VEE
The figure shows the inverting adder where the voltage Vo is the sum of input voltages.
In an inverting adder, inputs V1, V2, V3 are applied to the inverting terminal to a resistance
R1, R2, R3 respectively. The feedback resistance Rf is connected between inverting terminal
and output terminal, non-inverting terminal is grounded. Since, input impedance of the
op-amp is very high or infinite no current flows through the op-amp.
Let I1, I2, I3 are the currents through R1, R2, R3 respectively then If = I1 + I2 + I3.
On applying Kirchoff's current law to the circuit
I f = I1 + I 2 + I 3
0 −Vo V − 0 V 2 − 0 V3 − 0
= 1 + +
Rf R1 R2 R3
−V 0 V V V
= 1+ 2+ 3
Rf R1 R 2 R 3
V V V
Vo = − R f 1 + 2 + 3
R1 R 2 R 3
Let R1 = R 2 = R 3 = R
V V V
Vo = − R f 1 + 2 + 3
R R R
−R f −R f
Vo = V1 + V 2 + V 3 ⇒ V o = (V i )
R R1
14 Basic electronics
Ri +VCC
i
–
A
I1
V1 Vo
R1 +
B
V2 –VEE
R2 I2
V1 V 2 1 1
+ = VB +
R1 R 2 R1 R 2
R 2V1 + R1V 2 R + R2
= VB 1
R1 R 2 R1R 2
R 2V1 + R1V 2
= VB
R1 + R 2
V1 R 2 + V 2 R1
VB =
R1 + R 2
R1 +VCC
V1 –
A
I1 Vo
B
V2 +
I2 R2 –VEE
R3
I3
Introduction to Operational Amplifier 15
The circuit designed in op-amp such that its output voltage is difference between
two input voltages or subtraction of two input voltages is called subtractor or Difference
amplifier.
To determine the output voltage of subtractor the principle of superposition theorem
is used.
Case (i): An input voltage V1 is applied and V2 = 0 (ground the non-inverting terminal) then
the respective output is Vo1.
−R f
V o1 = Vi
R1
−R f
V o1 = .V1
R1
The circuit is in inverting amplifier.
Case (ii): When input terminal V1 is grounded and input voltage is applied to V2 on grounding
inverting terminal and the respective output is,
Rf
V o 2 = V B 1 +
R1
At node A,
i = I f
0 −V A V A − V o
=
R Rf
−V A V V
= A − o
R Rf Rf
VA VA V
+ = o
Rf R Rf
1 1 Vo
VA + =
R f R R f
1 1
R f .V A + = Vo
R f R
Rf
Vo = V A + V A
R
∴ V A = VB
Rf Rf
Vo = V B + V B ; V o = V B 1 +
R R
16 Basic electronics
V1 R 2 + V 2 R1 Rf
Vo = 1+
R1 + R 2 R
Let R1 = R2 = Rf = Ri
V1 R + V 2 R V +V2
∴ Vo = 1 + 1 = 1 [2]
2R 2
V o = V1 + V 2
R3
V B = V2.
R 2 + R3
By voltage divider Rule,
V 2 . R3
VB = (2)
R 2 + R3
On substituting equation (2) in (1),
V 2 R3 R f
V o2 = 1 +
R 2 + R3 R1
Therefore, the total output voltage Vo = Vo1 + Vo2
−R f V R Rf
Vo = .V1 + 2 3 1 +
R1 R 2 + R3 R1
Let Rf = R1 = R2 = R3 = R
V2 R R
V o = − V1 + 1 +
2 R R
V
= − V1 + 2 [ 2 ]
2
V o = − V1 + V 2
V o = V 2 − V1
In the equation, it is observed that output is the difference between 2 input voltages.
Voltage follower:
+VCC
–
Ri Vo
Vi +
–VEE
Introduction to Operational Amplifier 17
The circuit in which the output voltage follows the input voltage is called voltage
follower.
Voltage follower circuit is obtained by short circuiting inverting terminal and output
terminal. The circuit which is shown in figure is similar to non-inverting amplifier. So, the
output voltage Vo = Vi 1 + R f .
R1
From figure, Rf = 0.
∴ Vo = Vi
Output voltage will be equal and inphase with input voltage. This voltage follower is
non-inverting amplifier with voltage gain of unity.
Integrator: C
If
Ri +VCC
Vi –
G=0
Vi i Vo
+
Vo
t –VEE
The circuit of integrator using an op-amp is shown in figure. The input voltage
Vi is applied to a inverting terminal through resistance R. The non-inverting terminal is
grounded.
Capacitor C is connected between output terminal and inverting terminal. G is virtual
ground. Since input impedance of op-amp is infinite, no current will flow through op-amp.
All the current flows through the capacitor. The input voltage Vi charges the capacitor to a
voltage Vo. charge on the capacitor is given by q = CV.
q = C (VG – Vo)
By virtual ground concept, VG = 0
q = − CV o (1)
t
WKT, q = ò i.dt
0
(2)
Vi − VG
i =
R
Vi
i = (3)
R
Substitute (3) in (2),
18 Basic electronics
t Vi
q= ò0 R
.dt
1 t
R ò0
q= V i .dt (4)
1 t
-CV o = ò V i . dt
R 0
-1 t
RC ò0
Vo = V i . dt
Integrator input Integrator Output
Square Wave Triangular Wave
Step input Ramp Output
Sine Wave Cosine Wave
Differentiator:
Rf
If
C +VCC Vo
Vi –
G=0
Vi i Vo t
+
t –VEE
dV i 1 dq
= .
dt C dt
dq dV
= C. i (2)
dt dt
dq
WKT, i = (3)
dt
i = I f
VG − Vo
I f =
Rf
V G = 0,
−V o
I f = (4)
Rf
1) Calculate the output voltage of a three input inverting summing amplifier, given
R1 = 200 kΩ , R3 = 500 kΩ, Rf = 1 MΩ, V1 = –2 V, V2 = –1 V and V3 = 3 V.
Solution:
R1 = 200 kΩ, Rf = 1 MΩ, R2 = 250 kΩ, R3 = 500 kΩ, V1 = –2 V, V2 = –1 V
V3 = 3 V
1 MΩ
200 kΩ
–2 V +VCC
250 kΩ
–1 V –
Vo
+
3V
500 kΩ –VEE
Rf Rf Rf
Vo = − V1 + V2 + V3
R1 R2 R3
1 × 10 6 (−2) 1 × 10 6 (−1) 1 × 10 6
=− 3
+ 3
+ 3
× 3
200 × 10 250 × 10 500 × 10
= − −10 − 4 + 6
Vo = 8 V
The output voltage of a three input inverting summing, amplifier is 8 V.
2. Derive an equation for output voltage for an non-inverting op-amp. Find the
gain of amplifier if Rf = 10 kΩ, R1= 1 kΩ
Solution:
Derive an equation for Vo for an non-inverting and then solve.
Rf
Rf = 10 kΩ R1 = 1 kΩ, Vo = + 1 V i
R1
Rf
Gain = +1
R1
Gain = 11
3. For the circuit shown in below fig. calculate the output voltage.
100 kΩ
R1 = 10 kΩ
V1 = –2 V +VCC
R2 = 20 kΩ
V2 = –1 V –
Vo
+
V3 = 3 V
R3 = 30 kΩ –VEE
Rf Rf Rf
Vo = − .V1 + .V 2 + .V 3
R1 R2 R3
10 0 × 10 3 100 5 × 10
3
100 10 × 10 3
=− − (−1) + (−2) + ( 3 )
10 × 10 3 20 × 10 3 30 10 × 10 3
= − −10 − 10 +10
V o = 10 V
Introduction to Operational Amplifier 21
Rf = 100 kΩ
R1 = 2 kΩ R′f = 10 kΩ
V1 +VCC
R2 = 10 kΩ
V2 – +VCC
–
+ Vo = 0.2V1 + V2 + 4V3
V3 Vo1 = –[0.2V1 + V2 + 4V3]
R3 = 40 kΩ –VEE +
–VEE
Inverting summer
Unity gain inverting
amplifier
15 kΩ
1 kΩ +VCC –
15 kΩ
–
+VCC
+
10 kΩ
+
2V –
–VEE
+ VoCE
0.5 V
5 kΩ –VEE
0.25 V
22 Basic electronics
Solution:
op-amp 1 is non-inverting amplifier hence,
Rf 10 × 10 3
V o1 = V i + 1 = 0.25 ≥ + 1
R1 1 × 10 3
V o1 = 2.75 V
Op-amp 2 is voltage follower hence,
V o 2 = V i = V 01
V o 2 = 2.75 V
op-amp 3 is inverting summer (adder) hence,
Rf Rf Rf
V out = − .V 02 + (2) + (0.5)
R1 R2 R3
15 × 10 3 3
15 × 10 3
3
15 × 10 3
=− (2.75) + (2) + (0.5)
15 × 10 3 10 5 × 10 3 5 × 10 3
= − 2.75 + 3 +1.5
V out = − 7.25 V
6. Write expression for output voltage at points A, B, C, D, E as shown in below
fig. 1 kΩ
1 kΩ
V1 – 1 kΩ
A
+
G
1 μF
1 kΩ
1 MΩ
V2 –
B 1 kΩ D
– E
+
G +
G
1 MΩ
1 μF
Vin – 1 kΩ
C
+
G
Introduction to Operational Amplifier 23
Solution:
−R f
op-amp 1 is inverting amplifier have a VA = V1
R1
−1 × 10 3
∴ VA = .V1
1 × 10 3
V A = − V1
1
op-amp 2 is an integrater hence VB = − R C ∫ V 2 . dt
1 f
1
∴ VB = −
(110 ) × (1 × 10 −6 )
6 ∫ V 2 . dt
V B = − ∫ V 2 . dt
op-amp 3 is a differenctiator hence Vc = –R1Cf dV 3
dt
6 −6 dV 3
∴ V c = − 1× 10 × 1 × 10
dt
dV 3
Vc = −
dt
op-amp 4 is inverting summing amplifier hence,
Rf Rf Rf
VE = − VA + .V B + .V C
R1 R2 R3
1 × 10 3
=− V A + V B + V C
1 × 10 3
The point D is at virtual ground hence V D = 0 V
7. Describe about op-amp as summing amplifier. Determine the Vo for the circuit
shown in figure below. (Jan/July 2016) (5 Marks)
10 kΩ
20 kΩ
0.1 V +VCC
10 kΩ
0.2 V –
Vo
+
0.3 V
50 kΩ –VEE
Solution:
Derive expression for summer and then solve it.
24 Basic electronics
Rf Rf Rf
Vo = − V1 + V2 + V3
R1 R2 R3
10 × 10 3 10 × 10 3 10 × 10 3
=− (0.1) + (0.2) + (0.3)
20 × 10 3 10 × 10 3
5 0 × 10 3
= − 0.05 + 0.2 + 0.06
V o = − 0.31 V
Guitars Gain
C R2
–
Drums
R3 A
C
+
Vout
Input Filters
0V
determine the output step voltage as a percentage of the full-scale analogue output voltage.
Also the accuracy of this full-scale analogue output depends on voltage levels of the
input bits being consistently 0 V for "0" and consistently 5 V for "1" as well as the accuracy
of the resistance values used for the input resistors, Rin.
R1 = 1 kΩ
Logic"1" RF
R2 = 2 kΩ
Weighted
Digital Logic"1"
–
Inputs R3 = 4 kΩ Sum
Logic"0" A
(4–bits) + Analogue
R4 = 8 kΩ
Logic"1" Output
0V (Vout)
R R
V1
–
Resistive V+ Vout
A
0V Bridge +
V2
R R
Vout = A(V2 – V1)
The voltage value at V1 sets the op-amps trip point with a feedback potentiometer, VR2
used to set the switching hysteresis. That is the difference between the light level for "ON"
and the light level for "OFF".
9 V to 12 V
Irradiance
D1
Light R Out
1N4148
R1 Hysteresis Relay
10 kΩ VR2
LDR
V1 47 kΩ
+
R3 TR1
A
V2 BC547
– LM324 1 kΩ
Light Level R2 R4
VR1
Adjustment 10 kΩ 10 kΩ
20 kΩ
0V
The second leg of the differential amplifier consists of a standard light dependant
resistor, also known as a LDR, photoresistive sensor that changes its resistive value (hence
its name) with the amount of light on its cell as their resistive value is a function of
illumination.
The LDR can be any standard type of cadmium-sulphide (cdS) photoconductive cell
such as the common NORP12 that has a resistive range of between about 500 Ω in sunlight
to about 20 kΩ's or more in the dark.
The NORP12 photoconductive cell has a spectral response similar to that of the human
eye making it ideal for use in lighting control type applications. The photocell resistance is
proportional to the light level and falls with increasing light intensity so therefore the voltage
level at V2 will also change above or below the switching point which can be determined
by the position of VR1.
Then by adjusting the light level trip or set position using potentiometer VR1 and
the switching hysteresis using potentiometer, VR2 an precision light-sensitive switch can
be made. Depending upon the application, the output from the op-amp can switch the load
directly, or use a transistor switch to control a relay or the lamps themselves.
It is also possible to detect temperature using this type of simple circuit configuration
by replacing the light dependant resistor with a thermistor. By interchanging the positions
of VR1 and the LDR, the circuit can be used to detect either light or dark, or heat or cold
using a thermistor.
One major limitation of this type of amplifier design is that its input impedances are
lower compared to that of other operational amplifier configurations, for example, a non-
Introduction to Operational Amplifier 27