Professional Documents
Culture Documents
Basic Op-Amps: - Comparators - Summing Amplifier - Integrator & Differentiators
Basic Op-Amps: - Comparators - Summing Amplifier - Integrator & Differentiators
• Comparators
•Summing amplifier
•Integrator & Differentiators
Comparators
A comparator is a specialized nonlinear op-amp circuit that
compares two input voltages and produces an output state that
indicates which one is greater. Comparators are designed to be
fast and frequently have other capabilities to optimize the
comparison function.
Comparator
An example of a comparator Differentiator
– C
application is shown. The Retriggerable
circuit detects a power failure one-shot
+ R
in order to take an action to Vin
save data. As long as the
comparator senses Vin, the
output will be a dc level.
© 2008 Pearson Education, Inc.
All rights reserved
Summary
Output Bounding
Vin Ri
– +VZ
0V
0
–0.7 V
+
Op-amp
R comparators
Vin
Simultaneous or flash analog-to-digital (analog)
–
+
R
In IC flash converters, the priority +
–
Enable
input
A summing amplifier has two or more inputs; normally all inputs have
unity gain. The output is proportional to the negative of the algebraic sum
of the inputs.
VOUT = -(VIN1 + VIN2 + VIN3 +…+ VINn )
What is VOUT if the input voltages are +5.0 V, 3.5 V and +4.2 V and all
resistors = 10 k?
Rf
R1
VIN1
10 k
VOUT = (VIN1 + VIN2 + VIN3) R2
VIN2 –
= (+5.0 V 3.5 V + 4.2 V) VIN3
R3 VOUT
+
= 5.7 V
© 2008 Pearson Education, Inc.
All rights reserved
Summary
Determine the output voltage for the summing amplifier in Figure below.
Averaging Amplifier
An averaging amplifier is basically a summing amplifier with the gain
set to Rf /R = 1/n (n is the number of inputs). The output is the negative
average of the inputs.
What is VOUT if the input voltages are +5.0 V, 3.5 V and +4.2 V? Assume
R1 = R2 = R3 = 10 k and Rf = 3.3 k?
Rf
R1
VIN1
3.3 k
R2
VIN2 –
VOUT = ⅓(VIN1 + VIN2 + VIN3) R3 VOUT
VIN3
= ⅓(+5.0 V 3.5 V + 4.2 V) +
= 1.9 V
© 2008 Pearson Education, Inc.
All rights reserved
Summary
Scaling Adder
A scaling adder has two or more inputs with each input having a different
gain. The output represents the negative scaled sum of the inputs.
Assume you need to sum the inputs from three microphones. The first two
microphones require a gain of 2, but the third microphone requires a gain
of 3. What are the values of the
Rf
input R’s if Rf = 10 k? R1
VIN1
10 k
R2
Rf VIN2 –
10 k
R1 R2 5.0 k R3 VOUT
Av1 2 VIN3
+
Rf 10 k
R3 3.3 k
Av 3 3
© 2008 Pearson Education, Inc.
All rights reserved
Summary
Scaling Adder
An application of a scaling adder is the D/A converter circuit shown
here. The resistors are inversely proportional to the binary column
weights. Because of the precision required of resistors, the method is
useful only for small DACs.
+V 8R
20 Rf
4R
21
–
2R
VOUT
2
2
+
R
23
Determine the output voltage of the DAC in Figure (a). The sequence of
four-digit binary codes represented by waveforms in Figure (b) are applied
to the inputs. A high level is a binary 1, and low level is binary 0. The least
significant binary digit is D0.
to implement the –
2R R R R Vout
circuit. +
The Integrator C
R
The ideal integrator is an inverting amplifier Vin –
Vout
that has a capacitor in the feedback path. The
+
output voltage is proportional to the negative Ideal
integral (running sum) of the input voltage. Integrator
The Integrator
If a constant level is the input, the current is constant. The capacitor
charges from a constant current and produces a ramp. The slope of the
output is given by the equation: Vout Vin
t Ri C
Vout V 2V Ri 0.1mF
in 2 V/ms Vin –
t RiC 10 k 0.1 μF 10 k Vout
+1.0 V
+
Vout 0V t (ms)
0.0 0.5 1.0 1.5 2.0
1.0 V
© 2008 Pearson Education, Inc.
All rights reserved
Summary
The Integrator
The result from the previous example can be confirmed with Multisim.
Ri 0.1mF
Vin –
10 k Vout
+
R
The Differentiator
C
Vin
The ideal differentiator is an inverting –
Vout
amplifier that has a capacitor in the input path. +
The output voltage is proportional to the Ideal
negative rate of change of the input voltage. Differentiator
The Differentiator
V
The output voltage is given by Vout C R f C
t
+1.0 V
+2.0 V +
Rc
Vout 0V t (ms) 10 k
0.0 0.5 1.0 1.5 2.0
2.0 V
d. dc level Vin
a. A/D converter D0 D1 D2 D3
R1 R3 R5 R7 Rf = 2 R
2R 2R 2R 2R
b. R/2R ladder R2 R4 R6 R8
–
2R R R R Vout
c. both of the above +
R
c. both of the above Vin –
Vout
Answers:
1. c 6. c
2. d 7. b
3. c 8. d
4. b 9. a
5. a 10. b