Professional Documents
Culture Documents
OP-AMP APPLICATION
Op-Amp Applications
Introduction
Op-amps are used in many different applications.
We will discuss the operation of the fundamental opamp applications.
Keep in mind that the basic operation and
characteristics of the op-amps do not change the
only thing that changes is how we use them.
Op-Amp Applications
Negative-Feedback
Negative-feedback is useful concept in electronics, particularly
in op-amp application.
Negative-feedback is the process whereby a portion of the Vout
of an amplifier is returned to the input with a phase that
opposes the input signal.
The inverting (-)
input effectively
makes the feedback
signal 180 out of
phase with the input
signal.
Op-Amp Applications
Negative-Feedback
Without feedback is called open loop configuration.
With feedback is called closed loop configuration.
The gain without feedback is called open loop gain.
The gain with feedback is called closed loop gain.
Op-Amp Applications
Inverting Amplifiers
Op-Amp Applications
Inverting Amplifiers
0V
I = 0
Op-Amp Applications
Inverting Amplifiers
Virtual ground (0V)
V+
Op-Amp Applications
Inverting Amplifiers
Virtual ground (0V)
V+
V+ = 0 (ground)
V V+ (virtual equality)
IfRF = Vout V
IinR1 = V Vin
If = Iin (no current into
Vout 0 0 Vin
RF
R1
Vout
RF
Vin
R1
Op-Amp Applications
Inverting Amplifiers
Virtual ground (0V)
V+
Vout
RF
Acl
Vin
R1
Op-Amp Applications
Inverting Amplifiers Example 1
Determine the closed-loop voltage gain of the inverting
amplifier shown.
Rf
Acl (I)
82 k
Ri
3.3 k
Vin
Vout
+
Rf
Ri
82 k
3.3 k
= 24.8
The minus sign
indicates
inversion.
Op-Amp Applications
Non-inverting Amplifiers
Op-Amp Applications
Non-inverting Amplifiers
Op-Amp Applications
Non-inverting Amplifiers
Resister R1 and RF form
a voltage-divider circuit
Vi=0
Feedback forces Vf to be
equal to Vin. Hence, the
voltage across R1 is Vin
since Vi 0.
So that:
R1
vin
vout
R1 RF
vout
RF
Acl
1
vin
R1
Op-Amp Applications
Non-inverting Amplifiers Example 2
Determine the closed-loop voltage gain of the non-inverting
amplifier in figure below.
Vin
Acl (NI) 1
+
Vout
Rf
82 k
Ri
3.3 k
Rf
Ri
82 k
1
3.3 k
= 25.8
Op-Amp Applications
Non-inverting Amplifiers
The output has the same
polarity as the input.
a positive input
signal produces a
positive output signal.
The ratio of R1 and RF determines
the gain.
When a voltage is applied to the amplifier, the Vout
increases rapidly and will continue to rise until the voltage
across R1 reaches the Vin.
Thus negligible input current will flow into the amplifier,
and the gain depends only on R1 and RF.
Op-Amp Applications
Non-inverting Amplifiers
The input resistance to the
non-inverting amplifier is
very high.
because the input
current to the amplifier
is also the input current
to the op-amp, I+, which
must be extremely
small.
Op-Amp Applications
Voltage-Followers / Buffer Amplifiers
Is a special case of the non-inverting
amplifier, where all of the Vout is fed
back to the inverting (-) input by a
straight connection. V = Vout V + = Vin
V=V+
Vout
Av
1
Vin
Vout Vin
Op-Amp Applications
Summing Amplifiers
If
0V
The current of I1, I2, I3 combine and form the total current (If),
which go through Rf.
I f I1 I 2 I 3 ... I n
Op-Amp Applications
Summing Amplifiers
If
0V
Vout I f R f
Vout ( I1 I 2 ... I n ) R f
Vout
Vout
VIN 1 VIN 2
VINn
R f
...
R2
Rn
R1
Rf
Rf
Rf
VIN 1
VIN 2 ...
VINn
R2
Rn
R1
Op-Amp Applications
Summing Amplifiers - Example
Find the output voltage of the following Summing Amplifier circuit.
Vout
Rf
Rf
VIN 1
VIN 2
R2
R1
Vout
10k
10k
2mV
5mV 45mV
2k
1k
Op-Amp Applications
Summing Amplifiers
Summing Amplifier with Unity Gain:
1. If R1 = R2 == Rf = R, then:
Vout
Rf
Rf
Rf
VIN 1
VIN 2 ...
VINn
R2
Rn
R1
If
Op-Amp Applications
Summing Amplifiers - Example
Determine the output voltage of the following Summing Amplifier
circuit.
R1 = R2 = R3 = Rf = R, then:
Vout
Rf
Rf
Rf
VIN 1
VIN 2
VIN 3
R2
R3
R1
Vout 3V 1V 8V 12V
Op-Amp Applications
Summing Amplifiers
Summing Amplifier with Gain greater than Unity:
2. If R1 = R2 == R , then:
Rf
Rf
Rf
Vout
VIN 1
VIN 2 ...
VINn
R2
Rn
R1
Rf
VIN 1 VIN 2 ..... VINn
Vout
R
If
Op-Amp Applications
Summing Amplifiers - Example
Determine the output voltage of the Summing Amplifier circuit.
R1 = R2 = R , then:
Rf
Rf
Vout
VIN 1
VIN 2
R2
R1
Rf
VIN 1 VIN 2
Vout
R
10k
0.2V 0.5V 7V
Vout
1.0k
Op-Amp Applications
Summing Amplifiers - Example
Given Ra = 4k. Determine the value of Rb, Rc and Rf that will
provide an output voltage of Vo = -(3Va+5Vb+2Vc).
Ra
Rf
Rb
Rc
Va
Vb
Vc
Vout
Rf
Rf
VIN 1
VIN 2
R2
R1
Vout
Vo
Va
Vb
Vc (3Va 5Vb 2Vc )
Rb
Rc
Ra
Ra = 4k
Rf
3Va
Va
4K
Rf 12 k
Op-Amp Applications
Summing Amplifiers
3. If R1 = R2 = = R and VIN1, VIN2, are either 0V (digital 0) or 5V
(digital 1) then the output voltage is now proportional to the number
of (digital) 1s input.
If
Op-Amp Applications
Summing Amplifier Applications
Op-Amp Applications
Summing Amplifier Applications
Differencing Amplifiers
This circuit produces an output which is proportional to the difference
between the two inputs;
v out
Rf
R1
v1 v 2
Op-Amp Applications
Differencing Amplifiers
The circuit is linear so we can look at the output due to
each input individually and then add them (superposition
theorem).
Op-Amp Applications
Differencing Amplifiers
Set v1 to zero. The output due to v2 is the
same as the inverting amplifier, so:
v out 2
Rf
R1
v2
Op-Amp Applications
Differencing Amplifiers
The signal to the non-inverting output,
is reduced by the voltage divider:
v in
Rf
R1 R f
v1
Op-Amp Applications
Differencing Amplifiers
The signal to the non-inverting output,
is reduced by the voltage divider:
v in
Rf
R1 R f
v1
Op-Amp Applications
Differencing Amplifiers
The output due to this is then that for a non-inverting amplifier:
v out 1
Rf
v in
1
R1
Op-Amp Applications
Differencing Amplifiers
v in
Rf
R1 R f
v1
v out 1
Rf
v in
1
R1
v out 1
v out 1
Rf
Rf
1
R R
R
1
1
f
v1
Rf
v1
R1
Op-Amp Applications
Differencing Amplifiers
v out 1
Rf
R1
v1
v out 2
Rf
R1
v2
Rf
R1
v1 v 2
Op-Amp Applications
Integrators
Iin
0A
Op-Amp Applications
Integrators
Iin
0A
Vin
I in
Ri
I C I in
Op-Amp Applications
Integrators The Capacitor Voltage (VC)
Since Iin is
constant, so is IC.
The constant IC
charges the
capacitor linearly,
and produces a
linear ramp voltage
across capacitor.
The +ve side of the capacitor is held at 0V by the virtual
ground.
The ve side of the capacitor (which is Vout) decreases
linearly from zero as the capacitor charges.
This voltage, VC at -ve going-ramp is due to constant +ve
input.
Op-Amp Applications
Integrators The Output Voltage (Vout)
Op-Amp Applications
Integrators The Output Voltage (Vout)
Op-Amp Applications
Integrators The Output Voltage (Vout)
If R = 100 k
Vout
Vin
t
RC
Op-Amp Applications
Integrators - Exercise
Determine the rate of change of the Vout in response to the input
square wave. The Vout is initially zero. The pulse width is 200 s.
Determine the Vout and draw the waveform.
Op-Amp Applications
Integrators - Exercise
Vout
Vin
25mV / s
The rate of change of the Vout :
t
RC
Vout
Vin
t (25mV / s )( 200 s ) 5V
RC
Draw the waveform:
The Vout is initially zero.
The pulse width is 200 s
Op-Amp Applications
Integrators - Exercise
Beginning in position 2, the switch is thrown into position 1 and
held there for 10 ms, then back to position 2 for 10 ms, and so
forth. Determine the rate of change of the Vout. The Vout is initially
zero. The pulse width is 200 s. Determine Vout and draw the
waveform.
Op-Amp Applications
Integrators - Exercise
Beginning in position 2, the switch is thrown into position 1 and
held there for 10 ms, then back to position 2 for 10 ms, and so
forth.
Op-Amp Applications
Integrators
1
1
Xc
jC sC
Op-Amp Applications
Integrators
Since
I C I in
Vin
Vout
Vout
I
sCVout
Ri
Xc
1 /sC
Op-Amp Applications
Integrators
Vin
sCVout
Ri
Vout
1
Vin
sCRi
Op-Amp Applications
Integrators
Vout
1
1
Vin
Vindt
jRi C
Ri C
Op-Amp Applications
Differentiators
Rf
C
Vin
Vin
Rin
Vout
Vout
+
Ideal Differentiator
+
Rc
Practical Differentiator
Op-Amp Applications
Differentiators
Rf
C
Vin
Vin
Rin
Vout
Vout
+
Ideal Differentiator
+
Rc
Practical Differentiator
Ideal differentiator circuit has very high gain for highfrequency noise.
The practical differentiator, a small series resistor is often
added to the input to reduced high frequency gain and is less
prone to noise.
Op-Amp Applications
Differentiators
I C I in I R
Op-Amp Applications
Differentiators
t1 t2
Op-Amp Applications
Differentiators
t1 t2
Op-Amp Applications
Differentiators
t1 t2
Vout I R R f I C R f
Vout
VC
CR f
t
VC
IC
C
t
Vout
Vin
CR f
t
Op-Amp Applications
Differentiators
Vout
t1 t2
Vin
CR f
t
Slope of the ramp
Op-Amp Applications
Differentiators - Example
Determine the output voltage of the op-amp differentiator below for the
triangular-wave input shown.
Vout
Vout
VC
Rf C
t
10V
2.2k 0.001F 4.4V
5s
Op-Amp Applications
Comparators
The comparator is an op-amp circuit that compares two input
voltages and produces an output indicating the relationship
between them.
The inputs can be two signals (such as two sine waves) or a
signal and a fixed dc reference voltage.
Comparator can be used to produce a square wave from a
sine wave.
Comparators
Digital circuits respond to rectangular or square waves, rather
than sine waves.
These waveforms are made up of alternating (high and low)
dc levels and the transitions between them.
VREF
R2
V
R1 R2
Comparators : Example
Comparators : Solution
The reference voltage is set by
R1 and R2 as follows:
VREF
R2
V
R1 R2
VREF
1.0k
15V
8.2k 1.0k
VREF 1.63V
Comparators : Example
Each time the input exceeds
+1.63V, the Vout switches to its
+14V.
Each time input goes below
+1.63V, the Vout switches back
to its -14V level.
Op-Amp Applications
Comparators
Remember that the comparator is configured in open-loop,
making the gain very high.
This makes the comparator very susceptible to unwanted
signals (noise) that could cause the output to arbitrarily switch
states.
Op-Amp Applications
Comparators: Output Bounding
Some applications require a limit to the output of the
comparator (such as a digital circuit).
The output can be limited by using one or two zener diodes in
the feedback circuit.
This process of limiting the output range is called bounding.
Z1
Op-Amp Applications
Comparators Applications
Over-Temperature Sensing circuit
Op-Amp Applications
Comparators Applications
Analog-to-Digital
(A/D) Converter
Op-Amp Applications
Controlled Sources
Op-amp can be used to form various types of controlled
sources.
An Vin can be used to control an Vout or Iout.
Or, an Iin can be used to control an Vout or Iout.
Vout kVin
Vin
kVin
Vout
Op-Amp Applications
The practical circuit can be built using an op-amp as shown
below: (a). using the inverting (-) input.
(b). using the non-inverting (+) input.
Rf
V1
V0
R1
Rf
V1
V0 1
R1
Op-Amp Applications
Controlled Sources: (2) Voltage-controlled Current Sources
An ideal form of circuit providing an I0 controlled by an Vin.
I 0 kV1
The Iout is dependent on the Vin.
V1
I0
kV1
R1
The Iout through RL controlled by
the V1.
Op-Amp Applications
Controlled Sources: (3) Current-controlled Voltage Sources
An ideal form of a voltage source controlled by an Iin.
V0 kI1
The Iout is dependent on the Vin.
V0 I1 RL kI1
Op-Amp Applications
Controlled Sources: (4) Current-controlled Current Sources
An ideal form of a circuit providing an Iout dependent on an Iin.
I 0 kI1
I 0 I1 I 2
I1 R1
I 0 I1
R2
R1
I 0 1 I1 kI1
R2
Op-Amp Applications
Summary
The summing amplifiers output is the sum of the inputs.
An averaging amplifier yields an output that is the average of
all the inputs.
The scaling adder has inputs of different weight with each
contributing more or less to the input.
Integrators change a constant voltage input to a sloped
output
Differentiators change a sloping input into a step voltage
proportional to the rate of change.
The op-amp comparators output changes state when the
input voltage exceeds the reference voltage.