Op Amp Module3
Op Amp Module3
V2 - Vout
2
One may ask: If the gain A is infinite, how are we going to use
the op amp?
The answer is very simple: In almost all applications the op amp
will not be used alone in a so-called open-loop configuration.
Rather, we will use other components to apply feedback to close
the loop around the op amp.
Ideal characteristics
Non-inverting terminal
1
i1=0 +
v1 +- A (V1- V2) 3
+ output
-
i2=0
-
+ 2
v2 - Inverting terminal
Characteristics value
Input impedance Infinite
output impedance Zero
Common-mode rejection ratio Infinite
Bandwidth Infinite
Open-loop gain Infinite
Important concept
• Output voltage of op-amp is A (V1- V2) where ideally
A should be infinite. So,
Vo
V1 V2 0
A
• That is, if A approaches infinity, the voltage V1
approaches and ideally equals V2.
• We conclude this as the two input terminals are
“tracking each other in potential”. It is also called
that “virtual short circuit” exists between the two
input terminals.
Important concept
A virtual short circuit means that whatever voltage
is at 2 will automatically appear at 1 because of the
infinite gain A. But terminal 2 happens to be
connected to ground, we speak of terminal 1 as being
a virtual ground— that is, having zero voltage but
not physically connected to ground.
R1 2
- 3
Vi + + +
- 1 Vo
-
• Terminal 1 is grounded.
• Resistor R1 and is connected between terminal
2 and an input signal source with a voltage vin.
• Overall output of the circuit is taken at the
output terminal i.e. between output terminal
and ground.
Inverting amplifier
We will now analyze the previous circuit to
determine the closed-loop gain.
• Closed loop gain G, is defined as:
Vo
G
Vi
• From the concept of virtual short circuit, since
terminal 2 is grounded thus, V1 = 0 & V2 = 0.
• On applying ohm‟s law across R1, we get-
Vi V1 Vi 0 Vi
i1
R1 R1 R1
Inverting amplifier
• This current cannot flow through the op-amp
because an ideal op-amp draws zero current.
• It follows that i1 will have to flow through R2
to low-impedance terminal 3. Thus,
Vi
Vo Vi i1 R2 0 R2
R1
which is the closed loop gain of the
inverting configuration.
Inverting amplifier
5 i2=ii=Vi/R1
3 ii=Vi/R1 R2
4
ii R1 0A
+ -
1 0V
Vi + - + +
- 6 Vo=0-ViR2/R1
Vo=-ViR2/R1
-
2 V-= 0V
(virtual ground)
R1 2
- 3
+ +
1 Vo
Vi +
- -
3 4 R2
ii=Vi/R1 R1 0A
+ -
1 0V
- + +
6 Vo=Vi+ViR2/R1
+
- Vi Vo=Vi(1+R2/R1)
2 V-= Vi -
-
+ +
Vo=Vi
Vi +
- -
i2 R2 i Rf
v2 w
i
in -
Rn
vn +
+
Vo
-
vout 0 iR f iR f
Rf Rf Rf
vout v1 v2 ..... vn
R1 R2 Rn
v1 v2 vn
vout R f .....
R1 R2 Rn
If R1 R2 ... Rn Rs
Rf
vout (v1 v2 ... vn )
Rs
Summing amplifier
• That is, the output voltage is a weighted sum
of the input signals v1, v2……vn.
• This circuit is therefore called as a weighted
summer.
• Each summing coefficient may be
independently adjusted by adjusting the
corresponding „feed-in‟ resistor (R1 to Rn ).
Summing amplifier
• The previous weighted summer has the
constraint that all the summing coefficients are
of the same sign.
• There can be an occasional need for summing
signals with opposite signs.
• Such a function can be implemented using two
op-amps as shown in fig. of next slide.
• Analysis can be done assuming ideal op-amps.
Summing amplifier
Ra
Rc
R1
v1 - Rb
R2
-
+
v2 w
R3 +
v3 Vo
v4
Z2(s) I2(s)
I1(s) Z1(s)
i
-
Vi(s)
+ + +
- Vo(s)
-
Integrator
• By placing a capacitor in the feedback path (i.e., in
place of Z2 in previous figure) and a resistor at the
input (in place of Z1), we obtain the circuit of
integrator as shown in figure here.
C
R
-
Vi(t)
+ +
Vo
-
C
ii(t) R 0A
-
Vi(t)
+ +
Vo(t)
Vo/Vi=-1/SCR
V-= 0V -
Integrator
• If we assume that the circuit begins operation
at time t = 0, then at an arbitrary time t the
current ii(t) t
will have deposited on C a charge
equal to i1( t )dt .
• Thus the capacitor voltage vc(t) will change by
0
t
1
i ( t )dt .
1
C
• If the initial voltage on C (at t = 0) is denoted
0
Vc, then 1
t
vc ( t ) Vc
C 0
i ( t )dt
1
Integrator
• Now the output voltage vo(t)=-vc(t); thus,
t
1
vo ( t ) Vc
CR 0
vi ( t )dt
i1(t) v
+ -
c
C
ii(t) R
i
-
Vi(t)
+ +
Vo(t)
-
Integrator
The operation of the integrator circuit can be described alternatively in
the frequency domain by substituting Z1(s)=R and Z2(s)=1/SC to
obtain the transfer function:
I1(s) 1/SC
Ii(s) R
i
-
Vi(s)
+ +
Vo(s)
-
Differentiator
• Interchanging the location of the capacitor and the resistor of
the integrator circuit results in the circuit of differentiator.
• This operational amplifier circuit performs the mathematical
operation of differentiation, that is it “produces a voltage
output which is directly proportional to the input voltage‟s
rate-of-change with respect to time”.
• The input signal to the differentiator is applied to the capacitor.
• The capacitor blocks any DC content so there is no current
flow to the amplifier summing point, X resulting in zero output
voltage.
• The capacitor only allows AC type input voltage changes to
pass through and whose frequency is dependent on the rate of
change of the input signal.
Differentiator
• Let the input be a time-varying function vi(t).
• The virtual ground at the inverting input terminal of
the op-amp causes vi(t) to appear across C.
• Thus the current ii(t) through C will be C(dvi/dt).
ii(t) R
ii(t) C 0A i(t)=Cdvi(t)/dt
- Vo(t)=CRdvi(t)/dt
Vi(t)
+ +
Vo(t)
Vo/Vi=-SCR
V-= 0V -
Ii(s) 1/SC
i
-
Vi(s)
+ +
Vo(s)
-
Op-amp Differentiator Waveforms
• If we apply a constantly changing
signal such as a Square-wave,
Triangular or Sine-wave type
signal to the input of a
differentiator amplifier circuit the
resultant output signal will be
changed and whose final shape is
dependent upon the RC time
constant of the Resistor/Capacitor
combination.