Chap 13
Chap 13
Chap 13
Ninth Edition
Floyd
Chapter 13
Electronic Devices, 9th edition © 2012 Pearson Education. Upper Saddle River, NJ, 07458.
Thomas L. Floyd All rights reserved.
Summary
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 + R
one-shot
Electronic Devices, 9th edition © 2012 Pearson Education. Upper Saddle River, NJ, 07458.
Thomas L. Floyd All rights reserved.
Summary
Output Bounding
Vin Ri
– +VZ
0V
0
–0.7 V
+
Electronic Devices, 9th edition © 2012 Pearson Education. Upper Saddle River, NJ, 07458.
Thomas L. Floyd All rights reserved.
Summary
Comparator Applications
A comparator with hysteresis can
produce a pulse with a variable duty
cycle. For the circuit shown, Vout(max)
ranges from 0 V to +5 V because of
the GND and VDD connections on
the LM311.
The input is the red triangle wave (0
to 4 V). The duty cycle is varied
with R2.
Comparator Applications
By changing the GND ref to 5 V,
another useful circuit is formed.
The input is a 4 Vp triangle wave
(4 V to +4 V). The output is a
square wave that is delayed by an
amount that depends on the setting
of R2.
What are the upper and lower trigger
points
When R2 is set at when R2 When
is set Rto2 is
maximum?
set at
0%, the 100%, the rising
comparator has no edge of the output
R2 and the
hysteresis, 100 k near the
VUTP
output is
R1 R2
V out ( max )
positive
occurs
127 k
+5peak
negative
V = +3.94 V
of
when the triangle the input triangle.
negative. VLTP = 3.94 V
Byissymmetry, © 2012 Pearson Education. Upper Saddle River, NJ, 07458.
Electronic Devices, 9th edition
Thomas L. Floyd All rights reserved.
Summary
Op-amp
R comparators
Vin
Simultaneous or flash analog-to-digital (analog)
+
–
R
In IC flash converters, the priority +
–
Enable
input
Electronic Devices, 9th edition © 2012 Pearson Education. Upper Saddle River, NJ, 07458.
Thomas L. Floyd All rights reserved.
Summary
Summing Amplifier
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.
What is VOUT if the input voltages are +5.0 V, 3.5 V and +4.2 V and all
resistors = 10 k? R f
R1
VIN1
10 k
VOUT = (VIN1 + VIN2 + VIN3) R2
VIN2 –
R3
= (+5.0 V 3.5 V + 4.2 V) VIN3
VOUT
+
= 5.7 V
Electronic Devices, 9th edition © 2012 Pearson Education. Upper Saddle River, NJ, 07458.
Thomas L. Floyd All rights reserved.
Summary
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 kand 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
Electronic Devices, 9th edition © 2012 Pearson Education. Upper Saddle River, NJ, 07458.
Thomas L. Floyd 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 10 k VIN2 –
R1 R2 5.0 k R3 VOUT
Av1 2 VIN3
+
Rf 10 k
R3 3.3 k
Av 3 3
Electronic Devices, 9th edition © 2012 Pearson Education. Upper Saddle River, NJ, 07458.
Thomas L. Floyd 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
Electronic Devices, 9th edition © 2012 Pearson Education. Upper Saddle River, NJ, 07458.
Thomas L. Floyd All rights reserved.
Summary
to implement the –
2R R R R Vout
circuit. +
Electronic Devices, 9th edition © 2012 Pearson Education. Upper Saddle River, NJ, 07458.
Thomas L. Floyd All rights reserved.
Summary
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
Electronic Devices, 9th edition © 2012 Pearson Education. Upper Saddle River, NJ, 07458.
Thomas L. Floyd All rights reserved.
Summary
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.1F
in 2 V/ms
Ri C 10 k 0.1 μF
Vin –
t 10 k Vout
+1.0 V
+
Vout 0V t (ms)
0.0 0.5 1.0 1.5 2.0
-1.0 V
Electronic Devices, 9th edition © 2012 Pearson Education. Upper Saddle River, NJ, 07458.
Thomas L. Floyd All rights reserved.
Summary
The Integrator
The result from the previous example can be confirmed with Multisim.
Ri 0.1F
Vin –
10 k Vout
+
Electronic Devices, 9th edition © 2012 Pearson Education. Upper Saddle River, NJ, 07458.
Thomas L. Floyd All rights reserved.
Summary
R
The Differentiator
C
Electronic Devices, 9th edition © 2012 Pearson Education. Upper Saddle River, NJ, 07458.
Thomas L. Floyd All rights reserved.
Summary
The Differentiator
V
The output voltage is given by Vout C R f C
t
+1.0 V
10 k 0.1 μF 2 V
Rin
Vin –
0.5 ms 220 0.1F Vout
+2.0 V +
Rc
Vout 0V t (ms) 10 k
0.0 0.5 1.0 1.5 2.0
-2.0 V
Electronic Devices, 9th edition © 2012 Pearson Education. Upper Saddle River, NJ, 07458.
Thomas L. Floyd All rights reserved.
Selected Key Terms