Professional Documents
Culture Documents
*In this application, the op-amp is used in the open-loop configuration, with
the input voltage on one input and a reference voltage on the other.
Because the output is always in one of two states, comparators are often used
to interface between an analog and digital circuit.
Zero-Level Detection
*One application of an op-amp used as a comparator is to determine when an
input voltage exceeds a certain level as in Figure 2–1.
*As you see, the zero-level detector can be used as a squaring circuit to
produce a square wave from a sine wave.
1
Nonzero-Level Detection
*The zero-level detector in Figure 2–1 can be modified to detect positive and
negative voltages by connecting a fixed reference voltage source to the
inverting (-) input, as shown in Figure 2–2(a).
The circuit in Figure 2–2(c) uses a zener diode to set the voltage (VREF = VZ).
*If Vin is less than VREF, the output remains at the maximum negative level.
*When the input voltage exceeds the reference voltage, the output goes to its
maximum positive voltage, as shown in Figure 2–2(d) with a sinusoidal input.
Solution
The reference voltage is set by R1 and R2 as follows:
3
Comparator Applications
Over-Temperature Sensing Circuit
*The circuit of Figure 2–5 consists of a Wheatstone bridge with the op-amp
used to detect when the bridge is balanced.
4
2.2 Summing Amplifiers
Summing Amplifier with Unity Gain
*It has two or more inputs, and its output voltage is proportional to the
negative of the algebraic sum of its input voltages, Figure 2-6.
IT = I1 + I2
5
FIGURE 2–7 Summing amplifier with n inputs.
Example 2.5
Determine the output voltage in Figure 2–8.
Solution
VOUT = - (VIN1 + VIN2 + VIN3)
= - (3 V + 1V + 8V)
= - 12 V
6
Example 2.6
Determine the output voltage for the summing amplifier in Figure 2–9.
Solution
Averaging Amplifier
A summing amplifier can be made to produce the mathematical average of the
input voltages. This is done by setting the ratio Rf /R equal to the reciprocal of
the number of inputs (n).
Example 2.7
Show that the amplifier in Figure 2–10 produces an output whose magnitude
is the mathematical average of the input voltages.
7
Solution
Scaling Adder
A different weight can be assigned to each input of a summing amplifier by
simply adjusting the values of the input resistors. As you have seen, the output
voltage can be expressed as:
The weight of a particular input is set by the ratio of Rf to the resistance, Rx,
for that input (Rx = R1, R2, … Rn).
Example 2.8
Determine the weight of each input voltage for the scaling adder in Figure 2–
11 and find the output voltage.
8
Solution
Op-Amp Integrator
9
Example 2.10
a. Determine the rate of change of the output voltage in response to the
input square wave, as shown for the ideal integrator in Figure 2–13(a).
The output voltage is initially zero. The pulse width is 100 µs.
b. Describe the output and draw the waveform.
Solution
a. The rate of change of the output voltage during the time that the input
is at +2.5 V (capacitor charging) is:
Figure 2–13
The rate of change of the output during the time that the input is negative
(capacitor discharging) is the same as during charging except it is positive.
10
b. When the input is at +2.5 V, the output is a negative-going ramp. When
the input is at -2.5 V, the output is a positive-going ramp.
∆ Vout = (25 mV/µs) (200 µs) = 5 V
During the time the input is at +2.5 V, the output will go from 0 to -5 V.
During the time the input is at -2.5 V, the output will go from -5 V to 0 V.
Therefore, the output is a triangular wave with peaks at 0 V and - 5 V, as
shown in Figure 2–13(b).
H.W.) Modify the integrator in Figure 2-13 to make the output change from 0
to -5V in 100 s with the same input.
The Practical Integrator The ideal integrator uses a capacitor in the feedback
path, which is open to dc. This implies that the gain at dc is the open-loop gain
of the op-amp.
In a practical integrator, any dc error voltage due to offset error will cause the
output to produce a ramp that moves toward either positive or negative
saturation (depending on the offset), even when no signal is present.
The simplest solution to this situation is to use a resistor in parallel with the
capacitor in the feedback path, as shown in Figure 2–14.
The feedback resistor, Rf, should be large compared to the input resistor Rin,
to have a negligible effect on the output waveform.
11
Figure 2–14
The Op-Amp Differentiator
The Ideal Differentiator An ideal differentiator is shown in Figure 2–15.
Example 2.11
Determine the output voltage of the ideal op-amp differentiator in Figure 2–
16 for the triangular-wave input shown.
12
Solution
Starting at t = 0, the input voltage is a positive-going ramp ranging from -5 V
to +5 V (a +10 V change) in 5 µs. Then it changes to a negative-going ramp
ranging from +5 V to -5 V (a -10 V change) in 5 µs. The time constant is
Likewise, the slope of the negative-going ramp is -2V/µs, and the output
voltage is:
Vout = - (-2V/µs) 2.2 µs = +4.4 V
Figure 2–17 shows a graph of the output voltage waveform relative to the
input.
13
Figure 2–17
Figure 2–18
Dr. Ali Abed
2020
14