Professional Documents
Culture Documents
CH 1. Op Amp
CH 1. Op Amp
1.1. INTRODUCTION
In this chapter, you will learn the basics of op-amps, which are the most versatile
and widely used of all linear integrated circuits. You will also learn about open-loop and
closed-loop frequency responses, bandwidth, phase shift, and other frequency-related
parameters. The effects of negative feedback will be examined.
Early operational amplifiers (op-amps) were used primarily to perform
mathematical operations such as addition, subtraction, integration, and differentiation thus
the term operational. These early devices were constructed with vacuum tubes and
worked with high voltages. Today’s op-amps are linear integrated circuits (ICs) that use
relatively low dc supply voltages and are reliable and inexpensive.
1
The standard operational amplifier (op-amp) symbol is shown in figure 1(a). It has
two input terminals, the inverting (-) input and the noninverting (+) input, and one output
terminal. Most op-amps operate with two dc supply voltages, one positive and the other
negative, as shown in figure 1(b), although some have a single dc supply. Usually, these
dc voltage terminals are left off the schematic symbol for simplicity but are understood
to be there. Some typical op-amp IC packages are shown in figure 1(c).
Although integrated circuit (IC) op-amps approach parameter values that can be
treated as ideal in many cases, the ideal device can never be made. Any device has
limitations, and the IC op-amp is no exception. Op-amps have both voltage and current
2
limitations. Peak to-peak output voltage, for example, is usually limited to slightly less
than the two supply voltages. Output current is also limited by internal restrictions such
as power dissipation and component ratings.
Characteristics of a practical op-amp are very high voltage gain, very high input
impedance, and very low output impedance. These are labelled in figure 2(b). Another
practical consideration is that there is always noise generated within the op-amp. Noise is
an undesired signal that affects the quality of a desired signal. Today, circuit designers are
using smaller voltages that require high accuracy, so low-noise components are in greater
demand. All circuits generate noise; op-amps are no exception, but the amount can be
minimized.
A
CMMR = ol
Acm
The higher the CMRR, the better. A very high value of CMRR means that the open-loop
gain, Aol , is high and the common-mode gain, Acm , is low. The CMRR is often expressed
in decibels (dB) as
4
A
CMMR = 20log ol
Acm
A CMRR of 100,000, for example, means that the desired input signal (differential)
is amplified 100,000 times more than the unwanted noise (common mode). The open-
loop voltage gain, Aol , of an op-amp is the internal voltage gain of the device and
represents the ratio of output voltage to input voltage when there are no external
components. Voltage gain can range up to 200,000 (106 dB) and is not a well-controlled
parameter. Datasheets often refer to the open-loop voltage gain as the large-signal voltage
gain.
Example 1
A certain op-amp has an open-loop differential voltage gain of 100,000 and a common-
mode gain of 0.2. Determine the CMRR and express it in decibels.
Solution
Aol =100000, and Acm =0.2
A 100000
CMMR = ol = = 500000
cm
A 0.2
In decibels,
CMMR = 20log500000 = 114dB
2) Maximum Output Voltage Swing (VO(p-p))
With no input signal, the output of an op-amp is ideally 0 V. This is called the quiescent
output voltage. When an input signal is applied, the ideal limits of the peak-to-peak output
signal are ±𝑉𝑐𝑐 .In practice, however, this ideal can be approached but never reached.
varies with the load connected to the op-amp and increases directly with load resistance.
For example, the Fairchild KA741 datasheet shows a typical VO(p-p) of ±13 V for 14 VCC
=15 V when RL = 2 KΩ. VO(p-p) increased to ±14V when RL = 10 KΩ
5
voltage is applied. Its primary cause is a slight mismatch of the base-emitter voltages of
the differential amplifier input stage of an op-amp. As specified on an op-amp datasheet,
the input offset voltage, VOS, is the differential dc voltage required between the inputs to
force the output to zero volts.
FIGURE 6. Input bias current is the average of the two op-amp input currents.
5) Input Impedance
Two basic ways of specifying the input impedance of an op-amp are the differential
and the common mode. The differential input impedance is the total resistance between
the inverting and the noninverting inputs, as illustrated in the figure 7(a). Differential
impedance is measured by determining the change in bias current for a given change in
differential input voltage.
6
FIGURE 7. Op-amp input impedance.
The common -mode input impedance is the resistance between each input and
ground and is measured by determining the change in bias current for a given change in
common-mode input voltage. It is depicted in figure 7(b).
The offset voltage developed by the input offset current as cleared in the figure 8.
The offset voltage developed by the input offset current is
𝑉𝑂𝑆 = 𝐼1 𝑅𝑖𝑛 — 𝐼2 𝑅𝑖𝑛 = (𝐼1 — 𝐼2 )𝑅𝑖𝑛
𝑉𝑂𝑆 = 𝐼𝑂𝑆 𝑅𝑖𝑛
The error created by IOS is amplified by the gain Av of the op-amp and appears in the
output as
𝑉𝑂𝑈𝑇(𝑒𝑟𝑟𝑜𝑟) = 𝐴𝑉 𝐼𝑂𝑆 𝑅𝑖𝑛
A change in offset current with temperature affects the error voltage. Values of
temperature coefficient for the offset current in the range of 0.5 nA per degree Celsius
are common.
7
FIGURE 8. Effect of input offset current
7) Output Impedance
The output impedance is the resistance viewed from the output terminal of the op-amp,
as indicated in the figure 9.
8) Slew Rate
The maximum rate of change of the output voltage in response to a step input
voltage is the slew rate of an op-amp. The slew rate is dependent upon the high-frequency
response of the amplifier stages within the op-amp. Slew rate is measured with an op-
amp connected as shown in the figure 10 (a). This particular op-amp connection is a unity-
gain, noninverting configuration that will be discussed latter. It gives a worst-case
(slowest) slew rate.
Recall that the high frequency components of a voltage step are contained in the
rising edge and that the upper critical frequency of an amplifier limits its response to a
step input. For a step input, the slope on the output is inversely proportional to the upper
critical frequency. Slope increase as upper critical frequency decreases.
8
FIGURE 10. Slew-rate measurement.
A pulse is applied to the input and the resulting ideal output voltage is indicated in
the figure 10 (b). The width of the input pulse must be sufficient to allow the output to
slew from its lower limit to its upper limit. A certain time interval is required for the
output voltage to go from its lower limit to its upper limit once the input step is applied.
The slew rate is expressed as
Vout
Slewrate = , the unit of slew rate is volts per microsecond (V/µs).
t
Example 2
The output voltage of a certain op-amp appears as shown in figure 7 response to a step
input. Determine the slew rate.
FIGURE 7.
9
Solution
The output goes from the lower to the upper limit. Since this response is not ideal, the
limits are taken at the 90% points, as indicated. So, the upper limit is + 9 V and the lower
limits is – 9 V. The slew rate is
Vout −9V − (−9V )
Slewrate = = = 18 V/µs
t 1 s
10
TABLE 1.
11
.
FIGURE 11. Illustration of negative feedback.
With negative feedback, the closed-loop voltage gain (Acl) can be reduced and
controlled so that the op-amp can function as a linear amplifier. In addition to providing
a controlled stable voltage gain, negative feedback also provides an increase of the input
impedance and a decrease in output impedances and increase in amplifier bandwidth as
shown in the Table 2.
TABLE 2.
12
1.6.1. Closed-Loop Voltage Gain, Acl
The closed-loop voltage gain is the voltage gain of an op-amp with external
feedback. The amplifier configuration consists of the op-amp and an external negative
feedback circuit that connects the output to the inverting input. The closed-loop voltage
gain is determined by the external component values and can be precisely controlled by
them.
Ri
Vf = Vout
R +R
i f
The difference of the input voltage, Vin , and the feedback voltage, V f , is the differential
input to the op-amp, as shown in figure 13. This differential voltage is amplified by the
open-loop voltage gain of the op-amp ( Aol ) and produces an output voltage expressed as
13
FIGURE 12. Noninverting amplifier.
Vout Aol
=
Vin 1 + Aol B
14
The product Aol B is typically much greater than 1, so the equation simplifies to
Vout Aol 1
=
Vin Aol B B
The closed-loop gain of the noninverting (NI) amplifier is the reciprocal of the attenuation
(B) of the feedback circuit (voltage-divider).
Vout 1 Ri + R f
Acl ( NI ) = =
Vin B Ri
Therefore,
R
Acl ( NI ) = 1 + f
Ri
Notice that the closed-loop voltage gain is not at all dependent on the op-amp’s open-loop
voltage gain under the condition Aol B 1 . The closed-loop gain can be set by selecting
values of Ri and R f .
Example 3
Determine the closed-loop voltage gain of the amplifier in the following figure.
Solution
This is a non-inverting op-amp configuration. Therefore, the closed-loop voltage gain
is
Rf 100k
Acl ( NI ) = 1 + =1+ = 22.3
Ri 4.7k
15
1.7.1. Voltage-Follower
The voltage-follower configuration is a special case of the noninverting amplifier
where all of the output voltage is fed back to the inverting input by a straight connection,
as shown in figure 14. As you can see, the straight feedback connection has a voltage gain
of 1 (which means there is no gain). The closed-loop voltage gain of a noninverting
amplifier is as previously derived. Since B =1 for a voltage-follower, the closed-loop
voltage gain of the voltage-follower is
Acl (VF ) = 1
The most important features of the voltage-follower configuration are its very high
input impedance and its very low output impedance. These features make it a nearly ideal
buffer amplifier for interfacing high-impedance sources and low-impedance loads.
Vin = Vd + BVout
16
Remember, B is the attenuation of the negative feedback circuit and is equal to
Ri / ( Ri + R f )
FIGURE 15.
Since ( Aol is the open-loop gain of the op-amp),
Vin = Vd + Aol BVd = (1 + Aol B)Vd
Now substituting Iin Zin forVd ,
Vin = (1 + Aol B) Iin Zin
where Zin is the open-loop input impedance of the op-amp (without feedback
connections).
Vin / Iin = (1 + Aol B)Zin
This equation shows that the input impedance of the noninverting amplifier
configuration with negative feedback is much greater than the internal input impedance
of the op-amp itself (without feedback).
1.8.2. Output Impedance
An expression for output impedance of a noninverting amplifier can be developed with
the aid of figure 16.
17
FIGURE 16.
By applying Kirchhoff’s voltage law to the output circuit,
Vout = AolVd − Zout I out
The differential input voltage is Vd = Vin − V f ; therefore, by assuming that
the term on the left is the internal output impedance of the op-amp ( Zout ) because,
without feedback, AolVin = Vout . Therefore,
18
Z out = (1 + Aol B) Z out ( NI )
Z out
Thus, Z out ( NI ) =
1 + Aol B
This equation shows that the output impedance of the noninverting amplifier configuration
with negative feedback is much less than the internal output impedance, Zout , of the op-
amp itself (without feedback) because Zout is divided by the factor 1 + Aol B .
Example 4
(a) Determine the input and output impedances of the noninverting amplifier with
R f = 220 k and Ri = 10 k . The op-amp datasheet gives Zin = 2M , Zout = 75 Ω, and
Aol = 200,000 .
(b) Find the closed-loop voltage gain
Solution
(a) The attenuation, B, of the feedback circuit is
Ri 10k
B= = = 0.0435
Ri + R f 230k
19
Z in (VF ) = (1 + Aol ) Z in
Z out
Z out (VF ) =
1 + Aol
As you can see, the voltage-follower input impedance is greater for a given Aol and Zin
than for the noninverting amplifier configuration with the voltage-divider feedback circuit.
Also, its output impedance is much smaller.
Example 5
The op-amp in the above example is used in a voltage-follower configuration.
Determine the input and output impedances.
Z in (VF ) = (1 + Aol ) Z in = (1 + 200,000 )( 2M ) 400G
Z out 75
Z out (VF ) = = = 375
1 + Aol 1 + 200,000
FIGURE 18. Virtual ground concept and closed loop voltage gain development for the
inverting amplifier.
The voltage across Ri equals Vin because the resistor is connected to virtual ground at the
inverting input of the op-amp. Therefore,
Vin
I in =
Ri
Also, the voltage across Rf equals because − Vout of virtual ground, and therefore,
−Vout
If =
Rf
Vin −Vout
Since I in = I f =
Ri Rf
Vout R
Rearranging the terms, =− f
Vin Ri
Rf
Of course, Vout/Vin is the overall gain of the inverting (I) amplifier. Acl ( I ) = −
Ri
21
Example 6
Given the inverting op-amp configuration, determine the value of Rf required to produce
a closed-loop voltage gain of - 100 assuming that Ri = 2.2 k .
Solution
Knowing that Ri = 2.2 KΩ and the absolute value of the closed-loop gain is 100 calculate
Rf
Rf as follows: Acl ( I ) = − R f = Acl ( I ) Ri = 100 2.2k = 220k
Ri
1.10. Impedances of the Inverting Amplifier
The input and output impedances of an inverting op-amp configuration are developed
with the aid of figure 19. Both the input signal and the negative feedback are applied,
through resistors, to the inverting terminal (-) as shown.
This is because the inverting input of the op-amp is at virtual ground (0 V), and the input
source simply sees Ri to ground, as shown in figure 20.
FIGURE 20.
22
1.10.2. Output Impedance
As with a noninverting amplifier, the output impedance of an inverting amplifier is
decreased by the negative feedback. In fact, the expression is the same as for the
noninverting case.
Z out
Z out ( I ) =
1 + Aol B
The output impedance of both the noninverting and the inverting amplifier
configurations is very low; in fact, it is almost zero in practical cases. Because of this near
zero output impedance, any load impedance within limits can be connected to the op-amp
output and not change the output voltage. The limits for the load impedance are
determined by the maximum peak-to-peak swing of the output (VO(p-p)) and the current
limit of the op-amp.
Example 7
Find the values of the input and output impedances in inverting op-Amp that shown in
figure 19, with Ri = 1 k . And R f = 100 kΩ. Also, determine the closed-loop voltage
Solution
Z in ( I ) Ri = 1k
The feedback attenuation B, is
Ri 1k
B= = = 0.001
Ri + R f 101k
Then,
Z out 50
Z out ( I ) = = = 980m (Approximately equal zero practical)
1 + Aol B 1 + ( 50000 )( 0.001)
The closed-loop voltage gain
R 100
Acl ( I ) = − f = − = −100
Ri 1
23
1.11. Input Offset Voltage Compensation
Most integrated circuit op-amps provide a means of compensating for offset voltage.
This is usually done by connecting an external potentiometer to designated pins on the IC
package, as illustrated in figure 21(a) and (b) for a 741 op-amp. The two terminals are
labelled offset null. With no input, the potentiometer is simply adjusted until the output
voltage reads 0, as shown in figure 21(c).
24
The midrange gain is 200,000, which is 106 dB, and the critical (cutoff) frequency is
approximately 10 Hz.
The bandwidth equals the upper critical frequency ( f cu ) minus the lower critical
frequency ( f cl ).
BW = fcu − fcl
Since f cl for an op-amp is zero, the bandwidth is simply equal to the upper critical
frequency.
BW = fcu
FIGURE 22. Ideal plot of open-loop voltage gain versus frequency for a typical op-
amp. The frequency scale is logarithmic.
25
This expression shows that the closed-loop critical frequency, f c ( cl ) , is higher than the
Since fc(cl) equals the bandwidth for the closed-loop amplifier, the closed-loop bandwidth
( BWcl ) is also increased by the same factor.
BWcl = BWol (1 + BAol ( mid ) )
Example 8
A certain amplifier has an open-loop midrange gain of 150,000 and an open-loop 3 dB
bandwidth of 200 Hz. The attenuation ( B ) of the feedback loop is 0.002. What is the
closed-loop bandwidth?
Solution
BWcl = BWol (1 + BAol ( mid ) ) = 2001 + (0.002)(150000) = 60.2kHz
The closed-loop gain is independent of the open-loop gain up to the point of intersection
of the two gain curves. This point of intersection is the critical frequency, f c ( cl ) , for the
closed loop response. Notice that the closed-loop gain has the same roll-off rate as the
open-loop gain, beyond the closed-loop critical frequency.
26
1.13.2. Gain-Bandwidth Product
An increase in closed-loop gain causes a decrease in the bandwidth and vice versa,
such that the product of gain and bandwidth is a constant. This is true as long as the roll-
off rate is fixed, as in the case of a compensated op-amp. If you let Acl represent the gain
of any of the closed-loop configurations and f c ( cl ) represent the closed-loop critical
The gain-bandwidth product is always equal to the frequency at which the op-amp’s
open-loop gain is unity or 0 dB (unity-gain bandwidth, fT ).
fT Acl = f c ( cl )
Example 9
Determine the bandwidth of each of the amplifiers in the figure 24. Both op-amps
have an open-loop gain of 100 dB and a unity-gain bandwidth ( fT ) of 3 MHz
FIGURE 24.
Solution
(a) For the noninverting amplifier in figure 24 (a), the closed-loop gain is
Rf 220k
Acl = 1 + =1+ = 67.7
Ri 3.3k
fT 3MHz
f c ( cl ) = BWcl = = = 44.3kHz
Acl 67.7
27
(b) For the inverting amplifier in figure 24 (b), the dosed-loop gain is
Rf 47k
Acl = − =− = −47
Ri 1k
fT 3MHz
f c ( cl ) = BWcl = = = 63.8kHz
Acl 47
Summary of OP-AMP configuration
I. Basic OP-AMP
■ Very high open-loop voltage gain
■ Very high input impedance
■ Very low output impedance
28
IV. Inverting AMP
1.14. Comparator
A comparator is a specialized op-amp circuit that compares two input voltages and
produces an output that is always at either one of two states, indicating the greater or less
than relationship between the inputs. Comparators provide very fast switching times, and
many have additional capabilities (such as fast propagation delay or internal reference
voltages) to optimize the comparison function. For example, some ultra-high-speed
comparators can have propagation delays of as little as 500 ps. 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. figure 25 (a) shows a zero-level detector. Notice that the
inverting input is grounded to produce a zero level and that the input signal voltage is
applied to the noninverting input. Because of the high open-loop voltage gain, a very
small difference voltage between the two inputs drives the amplifier into saturation,
causing the output voltage to go to its limit. For example, consider an op-amp having Aol
100,000. A voltage difference of only 0.25 mV between the inputs could produce an
output voltage of (0.25 mV) (100,000) 25 V if the op-amp were capable. However, since
most op-amps have maximum output voltage limitations near the value of their dc supply
voltages, the device would be driven into saturation.
29
Figure 25 (b) shows the result of a sinusoidal input voltage applied to the noninverting
input of the zero-level detector. When the sine wave is positive, the output is at its
maximum positive level. When the sine wave crosses 0, the amplifier is driven to its
opposite state and the output goes to its maximum negative level, as shown. As you can
see, the zero-level detector can be used as a squaring circuit to produce a square wave
from a sine wave.
30
FIGURE 26. The op-amp as a nonzero-level detector.
Example 10
Draw the output showing its proper relationship to the input signal using the circuit of
voltage divider detector or comparator that is shown in figure 26 (b). Assume the
maximum output levels of the comparator are + 14 V and – 14 V.
Solution
The reference voltage is set by R1 and R2 as follows:
R2 1k
VREEF = (+V ) = (+15) = 1.63V
R1 + R2 8.2k + 1k
As shown in the figure 27, each time the input exceeds + 1.63 V the output voltage
switches to its + 14 V level, and each time the input goes below the output switches back
to its level - 14 V level.
31
FIGURE 27.
Comparator Applications
➢ Over-Temperature Sensing Circuit
➢ Analog-to-Digital (A/D) Conversion
Specific Comparators
The LM111 and LM311 are examples of specific comparators that exhibit high
switching speeds and other features not normally found on the general type of op-amp.
These comparators can operate with supply voltages from ±15V to a single + 5V. The
open collector output provides the capability of driving loads that require voltages up to
50 V referenced to ground or to the supply voltages. An offset balancing input and a strobe
input allow the output to be turned on or off regardless of the differential input.
VIN 1 VIN 2
VOUT = −( I1 + I 2 ) R f = −( + )R f
R2 R2
If all three of the resistors are equal ( R1 = R2 = R f = R ), then
VIN 1 VIN 2
VOUT = −( + ) R = −(VIN 1 + VIN 2 )
R R
33
The previous equation shows that the output voltage has the same magnitude as the sum
of the two input voltages but with a negative sign, indicating inversion. A general
expression is given in the following equation for a unity-gain summing amplifier with n
inputs, as shown in figure 29 where all resistors are equal in value.
VOUT = −(VIN1 + VIN 2 + VIN 3 + ...... + VINn )
Example 11
Find the output voltage.
Solution
The output voltage VOUT = −(VIN1 + VIN 2 + VIN 3 + ...... + VINn ) = −(3 + 1 + 8) = −12V
34
Rf 1
=
R n
You obtain the average of several numbers by first adding the numbers and then dividing
by the quantity of numbers you have. Examination of the previous Equation and a little
thought will convince you that a summing amplifier can be designed to do this. The next
example will illustrate.
Example 12
Find the output voltage.
Solution
Rf 25k 1
VOUT = − (VIN 1 + VIN 2 + VIN 3 + VIN 4 ) = − (1V + 2V + 3V + 4V ) = − (10V ) = −2.5V
R 100k 4
VIN1 + VIN 2 + VIN 3 + ...... + VINn VIN1 + VIN 2 + VIN 3 + VIN 4 1V + 2V + 3V + 4V
VIN ( avg ) = = = = 2.5V
n 4 4
1.15.4. 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
Rf Rf Rf Rf
expressed as VOUT = −( VIN 1 + VIN 2 + VIN 3 + ...... + VINn )
R1 R2 R3 Rn
The weight of a particular input is set by the ratio of R f to the resistance, Rx , for that
35
Example 13
Find the output voltage.
Solution
Rf 10k
Weight of input 1: = = 0.213
R1 47k
Rf 10k
Weight of input 2: = = 0.100
R1 100k
Rf 10k
Weight of input 3: = =1
R1 10k
The output voltage
Rf Rf Rf
VOUT = −( VIN 1 + VIN 2 + VIN 3 ) = − 0.213(3V ) + 0.10(2V ) + 1(8V ) = −8.84V
R1 R2 R3
1.15.5. Applications of scaling adder
36
FIGURE 30. An op-amp integrator.
The Output Voltage Vout is the same as the voltage on the negative side of the capacitor.
When a constant positive input voltage in the form of a step or pulse (a pulse has a constant
amplitude when high) is applied, the output ramp decreases negatively until the op-amp
saturates at its maximum negative level. This is indicated in figure 31.
FIGURE 31. A constant input voltage produces a ramp on the output of the integrator.
Rate of Change of the Output Voltage The rate at which the capacitor charges, and
therefore the slope of the output ramp, is set by the ratio IC/C, as you have seen. Since IC
= Vin / Ri, the rate of change or slope of the integrator’s output voltage is
Vout V
= − in
t RiC
Integrators are especially useful in triangular-wave oscillators as you will see in
Chapter 3.
Example 14
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 below. The output voltage is initially zero. The
pulse width is 100 µs.
37
(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
Vout V 2.5V mV
= − in = − = −25
t RiC (10k )(0.01 F ) s
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.
Vout V 2.5V mV
= + in = = +25
t RiC (10k )(0.01 F ) s
b) When the input is at +2.5 V, the output is a negative-going ramp. When the input
is at the output is a positive-going ramp.
mV
Vout = 25 200 s = 5V
s
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 as shown in the following figure.
38
1.16.1. 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. Practical integrators must have some means of overcoming the effects
of offset and bias current. Various solutions are available, such as chopper stabilized
amplifiers; however, the simplest solution is to use a resistor in parallel with the capacitor
in the feedback path, as shown in figure 32. The feedback resistor, Rf, should be large
compared to the input resistor Rin, in order to have a negligible effect on the output
waveform. In addition, a compensating resistor, Rc, may be added to the noninverting
input to balance the effects of bias current.
FIGURE 34. Output of a differentiator with a series of positive and negative ramps
(triangle wave) on the input.
Solution
Starting at t = 0, the input voltage is a positive-going ramp ranging from -5V 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
R f C = (2.2k )(0.001 F ) = 2.2 s
41
Determine the slope or rate of change (VC/t) of the positive-going ramp and calculate the
output voltage as follows.
VC 10V V
= =2
t 5 s s
V V
Vout = −( C ) R f C = −2 2.2 s = −4.4V
t s
Likewise, the slope of the negative-going ramp is – 2 V/ µs, and the output voltage is
VC V
Vout = −( ) R f C = −(−2 ) 2.2 s = +4.4V
t s
Figure below shows a graph of the output voltage waveform relative to the input.
The electronic circuits which perform the mathematical operations such as logarithm
and anti-logarithm (exponential) with an amplification are called as Logarithmic
amplifier and Anti-Logarithmic amplifier respectively.
Log and antilog amplifiers are used in applications that require compression of analog
input data, linearization of transducers that have exponential outputs, and analog
multiplication and division. They are often used in high-frequency communication
systems, including fiber optics, for processing wide dynamic range signals.
42
This part discusses about the Logarithmic amplifier and Anti-Logarithmic amplifier in
detail. Please note that these amplifiers fall under non-linear applications.
The key element in a log amplifier is a device that exhibits a logarithmic characteristic
that, when placed in the feedback loop of an op-amp, produces a logarithmic response.
This means that the output voltage is a function of the logarithm of the input voltage, as
expressed by the following general equation:
Vout = −K ln(Vin )
where K is a constant and ln is the natural logarithm to the base e. A natural logarithm
is the exponent to which the base e must be raised in order to equal a given quantity.
Although we will use natural logarithms in the formulas in this section, each expression
can be converted to a logarithm to the base 10(log10 ) using the relationship ln x = 2.3
log10x.
As you can see in figure 36, the diode curve is nonlinear. Not only is the characteristic
curve nonlinear, but it is also logarithmic and is specifically defined by the following
formula:
qVF
I F I Re KT
43
qVF
ln I F = ln I R e KT
FIGURE 36. A portion of a diode (pn junction) characteristic curve (VF versus IF).
The ln of a product of two terms equals the sum of the ln of each term
qVF
qVF
ln I F = ln I R + ln e KT
= n IR +
KT
qVF
ln I F − ln I R =
KT
The difference of two ln terms equals the ln of the quotient of the terms.
I qV
ln F = F
I R KT
Solving for VF
KT I F
VF = ln
q IR
44
➢ Log Amplifier with a Diode
When you place a diode in the feedback loop of an op-amp circuit, as shown in
figure 37, you have a basic log amplifier. Since the inverting input is at virtual ground (0
V), the output is at - VF when the input is positive. Since VF is logarithmic, so is Vout. The
output is limited to a maximum value of approximately - 0.7 V because the diode’s
logarithmic characteristic is restricted to voltages below 0.7 V. Also, the input must be
positive when the diode is connected in the direction shown in the figure. To handle
negative inputs, you must turn the diode around.
FIGURE 37. A basic log amplifier using a diode as the feedback element.
An analysis of the circuit in figure 37 is as follows, beginning with the facts that
Vout = −VF and I f = I in because there is no current at the inverting input.
Vin
Vout = −VF & I f = I in =
R1
Substituting into the formula for VF
KT Vin
Vout = − ln I R
q R 1
kT
The term is a constant equal to approximately 25 mV at Therefore, the output
q
voltage can be expressed as
V
Vout −(0.025V )ln in
I R R1
45
From the above equation, you can see that the output voltage is the negative of a
logarithmic function of the input voltage. The value of the output is controlled by the value
of the input voltage and the value of the resistor, R1. The other factor, IR, is a constant for
a given diode.
Example 16
Determine the output voltage for the log amplifier in the figure below.
Assume that IR = 50 nA.
Solution
V 2V
Vout −(0.025V )ln in = −(0.025V )ln = −(0.025V )ln(400)
R 1
I R (50 nA)(100 k )
= −(0.025V )(5.99) = −0.15V
The base-emitter junction of a bipolar junction transistor exhibits the same type of
logarithmic characteristic as a diode because it is also a pn junction. A log amplifier with
a BJT connected in a common-base form in the feedback loop is shown in figure 38.
Notice that Vout with respect to ground is equal to Vout − VBE .
The analysis for this circuit is the same as for the diode log amplifier except that VBE
replaces VF, IC replaces IF and IEBO replaces IR.
The expression for the VBE versus IC characteristic curve is
qVBE
I F = I EBO e KT
Where I EBO is the emitter-to-base leakage current. The expression for the output voltage
46
V
Vout −(0.025V )ln in
I EBO R1
FIGURE 38. A basic log amplifier using a transistor as the feedback element.
Example 17
Determine the output voltage for transistor log amplifier in figure 36. Assume that
Vin = 3V , R1 = 68k, I EBO = 40nA
Solution
V 3V
Vout −(0.025V )ln in = −(0.025V )ln = −(0.025V )ln(1103) = −175.1mV
I EBO R1 (40nA)(68k )
The antilogarithm of a number is the result obtained when the base is raised to a power
equal to the logarithm of that number. To get the antilogarithm, you must take the
exponential of the logarithm (antilogarithm of x = eln x ). An antilog amplifier is formed by
47
connecting a transistor (or diode) as the input element as shown in figure 39. The
exponential formula still applies to the base-emitter pn junction. The output voltage is
determined by the current (equal to the collector current) through the feedback resistor.
V
Vout = − R f I EBO anti log in
25mV
Solution
V 175.1mV
Vout = − − R f I EBO anti log in = −(68k )anti log = −(68k )(40nA)(1101) = −3
25mV 25mV
FIGURE 40. The basic concept of signal compression with a logarithmic amplifier.
49
Problems
FIGURE 41
FIGURE 42
FIGURE 43
4. If the closed-loop gain in figure 44 (a) is increased by increasing the value of R f , the
closed-loop bandwidth will
(a) increase (b) decrease (c) not change
50
6. If Ri in figure 44 (b) opens, the output voltage will
(a) increase (b) decrease (c) not change (d) fluctuates
FIGURE 44
9. With zero volts on both inputs, an op-amp ideally should have an output equal to
(a) the positive supply voltage (b) the negative supply voltage
(c) zero (d) the CMRR
10. Of the values listed, the most realistic value for open-loop gain of an op-amp is
(a) 1 (b) 2000 (c) 80 dB (d) 100,000
11.A certain op-amp has bias currents of 50 µA and 49.3 µA. The input offset current is
(a)700 nA (b) 99.3µA (c) 49.7µA (d)none of these
51
15. For an op-amp with negative feedback, the output is
(a) equal to the input. (b) increased.
(c) feedback to the inverting input. (d) feedback to the noninverting input.
18. A certain inverting amplifier has a closed loop gain of 25. The op-amp has an open-
loop gain of 100,000. If another op-amp with an open-loop gain of 200,000 is
substituted in the configuration, the closed-loop gain
(a) doubles (b) drops to 12.5 (c) remains at 25 (d) increases slightly
19. A voltage-follower
(a) has a gain of 1 (b) is noninverting. (c) has no feedback resistor
d) has very high input impedance (e) has all of these.
22. If a certain op-amp has a midrange open-loop gain of 200,000 and a unity-gain
frequency of 5 MHz, the gain-bandwidth product is
(a) 200,000 Hz (b) 5,000,000 Hz
12
(c) 1 x 10 Hz (d) not determinable from the information
23. The bandwidth of an ac amplifier having a lower critical frequency of 1 kHz and an
upper critical frequency of 10 kHz is
(a) 1 kHz (b) 9 kHz (c) 10 kHz (d) 11 kHz.
52
24. The bandwidth of a dc amplifier having an upper critical frequency of 100 kHz is
(a) 100 kHz (b) unknown (c) infinity (d) 0 kHz.
26. If a certain op-amp has a closed-loop gain of 20 and an upper critical frequency of
10 MHz, the gain-bandwidth product is
(a) 200 MHz (b) 10 MHz
(c) the unity-gain frequency (d) answers (a) and (c)
28. Two IC op-amps are available to you. Their characteristics are listed below. Choose
the one you think is more desirable.
Op-amp 1: Zin = 10 MΩ, Zout = 75 Ω, Aol = 150,000
Op-amp 2: Zin = 5 MΩ, Zout = 100Ω, Aol = 50,000
29. The open-loop gain of a certain op-amp is 175,000. Its common-mode gain is 0.18.
Determine the CMRR in decibels.
30. An op-amp datasheet specifies a CMRR of 300,000 and an Aol of 90,000. What is
the common mode gain?
31. Determine the bias current, IBIAS, given that the input currents to an op-amp are 8.3
µA and 7.9 µA. Distinguish between input bias current and input offset current, and then
calculate the input offset current.
32. Figure below shows the output voltage of an op-amp in response to a step input.
What is the slew rate? How long does it take the output voltage of an op-amp go from -
10V to + 10V if the slew rate is 0.5 V/µS?
33. Determine the closed loop gain of each amplifier in figure below.
53
34. Find the value of Rf that will produce the indicated closed loop gain in each
amplifier in figure below.
35. Determine the approximate values for each of the following quantities in figure
below.
36. Determine the input and output impedances for each amplifier configuration in
figure below.
54
37. The midrange open-loop gain of a certain op-amp is 120 dB. Negative feedback
reduces this gain by 50 dB. What is the closed-loop gain?
38. The upper critical frequency of an op-amp’s open-loop response is 200 Hz. If the
midrange gain is 175,000, what is the ideal gain at 200 Hz? What is the actual gain?
What is the op-amp’s open-loop bandwidth?
39. Determine the midrange gain in dB of each amplifier in figure below. Are these
open-loop or closed-loop gains?
40. Given that fc(ol) = 750 Hz, Aol = 89 dB, and fc(cl) = 5.5 kHz, determine the closed loop
gain in decibels. What is the unity-gain bandwidth?
41. Which of the amplifiers in figure below has the smaller bandwidth?
42. Draw the output voltage waveform for the circuit in figure below with respect to the
input. Show voltage levels.
55
43. Determine the output voltage for each circuit in figure below.
44. Determine the rate of change of the output voltage in response to the step input to the
integrator in figure below.
45. A triangular waveform is applied to the input of the circuit in figure below as shown.
Determine what the output should be and sketch its waveform in relation to the input.
46. If the voltage gain for each input of a summing amplifier with a feedback resistor
4.7kΩ is unity, the input resistors must have a value of
(a) 4.7kΩ. (b) 4.7kΩ divided by the number of inputs.
(c) 4.7kΩ times the number of inputs. (d) 6.7kΩ.
47. An averaging amplifier has five inputs. The ratio Rf /Ri must be
(a) 5 (b) 0.2 (c) 1 (d) 0.5
56
49. In an ideal integrator, the feedback element is a
(a) resistor. (b) capacitor. (c) zener diode. (d) voltage divider.
51. The rate of change of an integrator’s output voltage in response to a step input is set
by
(a) the RC time constant. (b) the amplitude of the step input.
(c) the current through the capacitor. (d) all of these.
54. When you apply a triangular waveform to the input of a differentiator, the output is
(a) a dc level. (b) an inverted triangular waveform
(c) a square waveform. (d) the first harmonic of the triangular waveform.
.
57