OP Amp Notes
OP Amp Notes
+VCC
V1
Inverting input
V2
Noninverting input
-VEE
It has two inputs and one output. The input marked “-“ is known as Inverting input
and the input marked “+” is known as Non-invertinginput.If a voltage V i is applied
at the inverting input ( keeping the non-inverting input at ground) as shown below.
Vi
VO
Vi VO
Vo
VO
Vi
V1
VO
V2
Ideal Typical or
Parameter Practical
Value
Voltage Gain ∞ 2*105
[Av]
Output 0 75Ω
Impedance
Input Impedance ∞ 2MΩ
Input Offset 0 2mV
CMRR ∞ 90dB
Slew Rate ∞ 0.5V/μs
Bandwidth ∞ 1MHz
PSRR 0 30μV/V
Input Bias 0 80nA
Current
Definitions
𝑑𝑉𝑜
𝑆𝑅 =
𝑑𝑡
volts / sec
SR=fmax 2 Π Vm
Ideally slew rate should be as high as possible. But its typical value is s=0.5 V/μ-sec.
2.Common Mode Rejection Ratio(CMRR): It is defined as “ The ratio
𝐴𝑑
of differential voltage gain to common-mode voltage gain”.
𝐶𝑀𝑅𝑅 =
𝐴𝑐𝑚
3. Open Loop Voltage Gain (AV): It is the ration of output voltage to input voltage
in the absence of feed back. Its typical value is 2*105
We know that, an ideal Op-Amp has perfect balance (ie output will be zero when
input voltages are equal).
Hence when output voltage Vo = 0, we can say that both the input voltages are equal ie
V1= V2.
V1
Vo
Ri
V2
VCC
V1 =V2 =0
Ri VO
V2=0
VEE
1. Offset Null - Rarely used. It can be used to to adjust for small errors in the
two inputs so zero volts in gives zero volts out.
2. Inverting Input - If this voltage goes up, the output voltage
will go DOWN unless the Op Amp is already saturated.
3. Non-Inverting Input - If this voltage goes up, the output voltage
will go UP unless the Op Amp is already saturated.
4. The minus supply - Sometimes this is connected to zero volts ( ground ).
Sometimes it's connected to a voltage between -5V and -18V or more for a
few specialised op amps.
5. Offset Null - Rarely used. It can be used to to adjust for small errors in the
two inputs so zero volts in gives zero volts out.
6. The Output - In an ideal Op Amp, the maximum and minimum output voltage
is equal to the power supply voltages.
In a real life Op Amp, these voltages are 2 to 3 Volts less.
7. The plus supply - Voltages from +5V to +18V are common.
There are specialist and more expensive Op Amps with a higher voltage ratings.
8. No Connection - This pin is not used
Applications of Op-Amp
An Op-Amp can be used as
1. Inverting Amplifier
2. Non-Inverting Amplifier
3. Voltage follower
4. Adder ( Summer)
5. Integrator
6. Differentiator
7. Difference Amplifier(Subtractor)
8. Comparator
9. Schmitt Trigger
10. Instrumentation Amplifier
1. Inverting Amplifier
Rf
If
R1
V1 i1 G=0
VO
Inverting Op-amp
Input Signal Vi is applied to the inverting input terminal through resistor R1.
Non inverting terminal is grounded.
The feedback from output is given to the inverting terminal through Rf.
Vd = V2 –V1 = Vo = 0
From the concept of Virtual ground,
𝑉1=V2=0
Due to high input impedance of Op-amp, current flowing into inverting input terminal is
zero. Thus same current flows through R1 and Rf.
𝐼1 = 𝐼𝐹 (1)
By KCL we have
𝐼 =
𝑉𝑖
=
𝑉 ------------------(2)
1 −𝑉1 𝑅1
𝑅1 −𝑉0
=
𝐼
------------------(3)
=
𝑉1
−𝑉0
𝑓
𝑅𝑓
𝑅𝑓
𝑉𝑖 = −𝑉0
From (1),(2) and (3),
𝑅1 𝑅𝑓
𝑽𝒐 −𝑹𝒇-----------
𝑨 = =
𝒗 𝑹𝟏
Gain for Inverting Op-amp
𝑽𝒊
Rf
is the gain of the amplifier and negative sign indicates that the output is
Where R1
VO
Vi
Rf
i2
R1
V1 i1 G=Vi
VO
Vi
𝑉2=Vi (1)
Due to virtual ground,
𝑉1=V2 (2)
𝑉𝑖=V1=V2
Due to high input impedance of Op-amp, current flowing into inverting input terminal is
zero. Thus same current flows through R1 and Rf.
𝐼1 = 𝐼𝐹 (3)
𝐼 =
−𝑉𝑖
=
0−𝑉1 ------------------(4)
1 𝑅1 𝑅𝑓
𝑉𝑖−𝑉0
=
𝐼 −𝑉
= 0
𝑉1
------------------(5)
𝑓
𝑅𝑓
𝑅𝑓
− 𝑉𝑖− 𝑉𝑜
and(5),
𝑉𝑖 = 𝑅𝑓
1 1
𝑅
1
𝑉0 = 𝑉𝑖 [ + ]
𝑅𝑓 𝑅1 𝑅 𝑓
1 1
𝑉0 = 𝑅𝑓 [+ ]
𝑅1 𝑅𝑓
𝑉𝑖
𝑹𝒇--------
𝑨 = =𝟏+
𝑽𝟎
Gain for non inverting Op-amp
𝒗 𝑽𝒊 𝑹𝟏
3. Voltage follower
VO
Vi VO
Vi
Voltage follower is one whose output is equal to the input. The voltage follower
configuration shown above is obtained by short circuiting “Rf”and open circuiting
“R1” connected in the usual non-inverting amplifier.Thus all the output is fed back to
the inverting input of the op-Amp
Consider the equation for the output of non-inverting amplifier
When Rf = 0 short
circuiting R1= ∞
open circuiting
Input Signal Vi is applied to the non - inverting input terminal.
𝑉2=Vi (1)
Inverting terminal is directly connected to the output..
𝑉0=V1 (2)
From (1) and (2)
𝑉0=Vi
𝑽
𝟎 =𝟏
𝑨𝒗 =
𝒊
�
Feedback factor for Voltage Follower
β =1
𝐴
𝐴𝑓 =
1 + 𝐴𝛽
𝑨 =
𝑨------------
Since β =1
𝒇
Gain for Voltage Follower
𝟏+𝑨
𝑨
𝟏+𝑨
Error =[ 1 - ] x 100%
Therefore the output voltage will be equal and in-phase with the input voltage. Thus
voltage follower is nothing but a non-inverting amplifier with a voltage gain of unity.
4. Summer(Inverting Adder)
Inverting adder is one whose output is the inverted sum of the constituentinputs
R1
Rf
i1
If
R2
V2 i2 G=0
VO
V3 R3i3
𝑉1 − = 𝑉1
𝐼1 =
𝑉 𝑅1
𝑅1 𝑉2
=
𝐼2 = 𝑅2
𝑉2 −
𝑉𝐴 𝑉3
𝑅2 =
𝐼3 = 𝑅3
𝑉3 − −𝑉𝑜
𝑉 =
𝐼𝑓 = 𝑅𝑓
𝑅3
𝑉𝐴 −
𝑉𝑜
𝑅
𝑓
𝐼𝑓 = 𝐼1 + 𝐼2 + 𝐼3
Applying KCL at node
A
−𝑉𝑜 𝑉1 𝑉2
= + + 𝑉3
𝑅 𝑓 𝑅1 𝑅2 𝑅
3
𝑅𝑓 𝑅 𝑅𝑓
𝑓
𝑉𝑜 = [ 𝑉1 𝑉2 𝑉3]
𝑅+ 𝑅+ 𝑅
1 3
2
If Rf=R1 =R2 =R3
𝑽𝑶 = −[𝑽𝟏 + 𝑽𝟐 + 𝑽𝟑]
Hence it can be observed that the output is equal to the inverted sum of the inputs.
5. Integrator
i
R
V i G=
V
𝑉2=V1 = 0 [Virtual
𝐼1 =
Ground]
𝐼𝐹
𝑉𝑖
𝐼1 𝑉𝑖 − =𝑅
=1
𝑉
�
𝑑 𝑑𝑉𝑜
�
𝐼 =𝐶 (𝑉 − 𝑉 ) = −𝐶
𝑓
𝑑𝑡 1 𝑜 𝑑𝑡
Since 𝐼1 = 𝐼𝐹,
= −𝐶𝑑𝑡
𝑉𝑖 𝑑𝑉𝑜
𝑅
𝑑𝑉𝑜 −1
= 𝑉
𝑑𝑡 𝑅𝐶
𝑖
−1
Integrate both the sides to
t 𝑡
𝑉= ∫ 𝑉𝑖 𝑑𝑡 + 𝑉(0)
𝑅𝐶 0
𝒐 𝑹𝑪 𝟎
𝒊
Output is -1/RC times the integral of input. There is phase shift of 180 degree
between input and output.RC is called the time constant of integrator. The main
advantage of integrator is large time constant. Due to large effective
capacitance, time constant is very large and thus a perfect integration results due
to such circuits.
6. Differentiator
i2
V1 i1 G=0
VO
1
𝑑𝑡 𝑖 1 𝑑𝑡
𝐼𝑓
𝑉1 − 𝑉 −𝑉𝑜
= 𝑅 =𝑅
𝑑𝑉𝑖 −𝑉𝑜
𝐶 =
𝑑𝑡 𝑅
𝑽𝒐 = −𝑹𝑪
𝒅𝑽𝒊------
𝒅𝒕
Output Voltage of Differentiator.
Output is -RC times the differential of input. There is phase shift of 180 degree
between input and output. The main advantage of differentiator is small time
constantis required for differentiation.
7. Difference Amplifier [Sub tractor]
CASE 2 :- Vi1 = 0
V02 = V x Gain of Non-inverting Op-amp
𝑉02
𝑋 [1 + ]---------(2)
𝑅2
= 𝑅
𝑉𝑅4
1
𝑉𝑅4 =
𝑉𝑖2𝑋𝑅4
[Thevenin’s Voltage]-----(3)
𝑅3+
𝑅4
𝑉02 =
𝑉𝑖2𝑋𝑅4 𝑅1+𝑅2
𝑅3+𝑅4 X𝑅1
With R3=R1 and R4=R2
𝑉02 = 𝑉𝑖2 𝑋 [ ]---------(4)
𝑅2
𝑅1
𝑹𝟐 𝑹𝟒
On simplifying, we get
𝑹𝟏 =𝑹𝟑
𝑅2 𝑅4
Hence output voltage for difference amplifier can be,
8.Instrumentation Amplifier
V01 R4
R2
R3
Vi(diff)
R1
R3
R2 R4
V02
𝑅2
Gain of Non Inverting Op-amp = 1 +
Fig 4.13 Instrumentation amplifier circuit
𝑅1
𝑅2
Gain of 1st Op-amp [A1] = 1 +
𝑅1
𝑅2
Gain of 2nd Op-amp [A2] = 1 +
𝑅1
𝑉0
𝑋 [1 + ]--------(1)
𝑅2
1 = 𝑅1
𝑉𝑖1
𝑋 [1 + ]--------(2)
𝑅2
𝑉0 𝑅
2 =
𝑉𝑖2
1
𝑜𝑑𝑖𝑓𝑓 𝑅1 𝑖2 𝑖1
𝑅2 𝑅4
𝑅 =𝑅3
1
𝑅 ] [𝑉02 − 𝑉01]
𝑅4
4
𝑉𝑂 = [
𝑅
𝑉𝑂 =3[ ] 𝑉0𝑑𝑖𝑓𝑓
𝑅
3
𝑅4 𝑅
Using (4)
𝑉𝑂 = 2
] [1 + ]
[ 3 𝑉𝑖𝑑𝑖𝑓𝑓
Overall differential gain 𝑅 𝑅
1
𝑽𝑶 𝑹𝟒 𝑹𝟐
=[ ] [𝟏 + ]
is
Ad =
𝑽𝒊𝒅𝒊𝒇𝒇 𝑹𝟑 𝑹𝟏
9.Schmitt Trigger
Schmitt Trigger circuit is a fast operating voltage level detector.When the input voltage
arrives at a level determined by circuit components, the output voltage switches rapidly
between its max positive level and its max negative level.The input voltage Vi is applied
to inverting input terminal and the feedback voltage goes to non-inverting input.The
waveform shows that o/p switches rapidly from positive saturation (+Vosat) voltage to
negative saturation (-Vosat) when the input exceeds a certain positive level. This is
called
Upper Trigger Point.(UTP).Output switches from low to high when the input goes below
a negative trigger point is Lower Trigger Point(LTP).
Feedback factor(β) = 𝑅1
𝑅1+𝑅𝑓
(OR)
VUT = UTP = (VCC) 𝑅1 = +VCC X β
𝑅1+𝑅𝑓
(OR)
VLT = LTP = (-VEE) 𝑅1 = -VEE X β
𝑅1+𝑅𝑓
Conditions:
Positive cycle, At point 1:
Vo<LTP, Vi=+Vosat
At point 2: Vo>LTP, Vi=+Vosat
At point 3: Vo=UTP, Vi=+Vosat
At point 4: Vo=UTP, Vi= switches from
+Vosat to –Vosat
Negative cycle, At point 5: Vo>UTP, Vi=
-Vosat
At point 6: Vo=LTP, Vi= -Vosa
At point 1: Vo<LTP,
Vi=+Vosat(switches from -Vosat to
+Vosat)
10. Comparator
The comparator is an electronic decision making circuit that makes use of operational
amplifiers very high gain in its open-loop state, that is, there is no feedback resistor.
The Op-amp comparator compares one analogue voltage level with another analogue
voltage level, or some preset reference voltage, VREF and produces an output signal
based on this voltage comparison. In other words, the op-amp voltage comparator
compares the magnitudes of two voltage inputs and determines which is the largest of
the two.
Fig 4.16 Comparator circuit and waveform