Docsity

Operational Amplifiers - Lecture Notes | ECE 2210, Study notes of Electrical and Electronics Engineering

Toggle sidebar
bg1
p1 ECE 2210 Op-amp Notes
Figure 1
Op-amp symbol
v
o

G
(
a

v
b
)
Operational Amplifiers
A. Stolp, 4/22/01
rev, 12/5/05
An
operational amplifier
is basically a complete high-gain voltage amplifier in a small
package. Op-amps were originally developed to perform mathematical operations in
analog computers, hence the odd name. They are now made using integrated circuit
technology, so they come in the typical multi-pin IC packages. With the proper external
components, the operational amplifier can perform a wide variety of “operations” on the
input voltage. It can multiply the input voltage by nearly any constant factor, positive or
negative, it can add the input voltage to other input voltages, and it can integrate or
differentiate the input voltage. The respective circuits are called
amplifiers
,
summers
,
integrators
, and
differentiators
. Op-amps are also used to make active frequency filters,
current-to-voltage converters, voltage-to-current converters, current amplifiers, voltage
comparators, etc. etc.. These little parts are so versatile, useful, handy, and cheap that
they’re kind of like electronic Lego blocks — although somewhat drably colored.
Op-amp characteristics
Operational amplifiers have several very important characteristics that make them so
useful:
1.
An op-amp has
two
inputs and it amplifies the
voltage
difference
between those two inputs. These two
inputs are known as the noninverting input, labeled
(+), and the inverting input, labeled (-), as shown in
Fig. 1. The output voltage is a function of the
noninverting input voltage minus the inverting input
voltage.
That is:
Where G = voltage gain of the op-amp.
2.
The op-amp must be connected to external sources of power (not shown on the
drawing above). The output voltage (v
O
) cannot be more positive than the positive
power source or more negative than the negative power source. The gain (G) is very
high, typically more than 100,000. Together that means that if the output (v
o
) is in the
active
range (somewhere between its physical limits, often called “rails”), then v
a
- v
b

0, and v
a

v
b
. This is a very important point. If you don’t see this, look back at the
equation above, v
O
is limited, G is very big, so (v
a
- v
b
) must be very small.
If the output is
:
The inputs must be
:
In active range
v
a

v
b
- rail < v
O
< +rail
If the inputs are
:
The output must be
:
v
a
> v
b
+ rail
v
a
< v
b
- rail
3.
In fact, v
a
- v
b
must be so small that it’s very difficult to make v
a
& v
b
close enough
pf3
pf4
pf5
pf8

Partial preview of the text

Download Operational Amplifiers - Lecture Notes | ECE 2210 and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Figure 1 Op-amp symbol vo G ( va vb )

Operational Amplifiers

A. Stolp, 4/22/ rev, 12/5/ An operational amplifier is basically a complete high-gain voltage amplifier in a small package. Op-amps were originally developed to perform mathematical operations in analog computers, hence the odd name. They are now made using integrated circuit technology, so they come in the typical multi-pin IC packages. With the proper external components, the operational amplifier can perform a wide variety of “operations” on the input voltage. It can multiply the input voltage by nearly any constant factor, positive or negative, it can add the input voltage to other input voltages, and it can integrate or differentiate the input voltage. The respective circuits are called amplifiers , summers , integrators , and differentiators. Op-amps are also used to make active frequency filters, current-to-voltage converters, voltage-to-current converters, current amplifiers, voltage comparators, etc. etc.. These little parts are so versatile, useful, handy, and cheap that they’re kind of like electronic Lego blocks — although somewhat drably colored.

Op-amp characteristics

Operational amplifiers have several very important characteristics that make them so useful:

  1. An op-amp has two inputs and it amplifies the voltage difference between those two inputs. These two inputs are known as the noninverting input, labeled (+), and the inverting input, labeled (-), as shown in Fig. 1. The output voltage is a function of the noninverting input voltage minus the inverting input voltage. That is: Where G = voltage gain of the op-amp.
  2. The op-amp must be connected to external sources of power (not shown on the drawing above). The output voltage (vO) cannot be more positive than the positive power source or more negative than the negative power source. The gain (G) is very high, typically more than 100,000. Together that means that if the output (vo) is in the active range (somewhere between its physical limits, often called “rails”), then va - vb  0, and va  vb. This is a very important point. If you don’t see this, look back at the equation above, vO is limited, G is very big, so (va - vb) must be very small. If the output is: The inputs must be: In active range va  vb
  • rail < vO < +rail If the inputs are: The output must be: va > vb + rail va < vb - rail
  1. In fact, va - vb must be so small that it’s very difficult to make va & vb close enough

Figure 2 Voltage follower without using some negative feedback. Negative feedback makes the op-amp maintain va  vb for itself. With the proper negative feedback the op-amp keeps va  vb so close that you can assume that va = vb. Without this negative feedback the op-amp output will almost certainly be at one of its limits, either high or low, i.e. NOT in its active, or linear , range. Incidentally, circuits without negative feedback are also useful, but then the output is either high or low (digital) and not linearly related to the input. These types of circuits are called nonlinear circuits.

  1. Op-amps amplify DC as well as AC.
  2. The input currents are almost zero. In more technical terms, the op-amp has very high input impedance. As long as you use reasonable resistor values in your circuits (say  1 M 6 ), you can neglect the input currents. Simple, isn't it? OK, so it doesn’t sound so simple yet, but the application of these characteristics really isn’t hard. Let’s look at some circuits.

Linear Circuits

Linear circuits employ negative feedback to keep va  vb. If a circuit has a connection from the output to the inverting (-) input, then it has negative feedback. Voltage follower The voltage follower shown in Fig. 2 is probably the simplest linear op-amp circuit. Notice the feedback from the output to the inverting (-) input. If we were to hook the circuit input (va) up to some voltage source, say 2 volts DC, what would happen? If the output was lower than 2 V, then the input voltage difference (va - vb) would be positive and the huge gain of the op-amp would drive the output higher. If the output was higher than 2 V, then va - vb would be negative the output would go down. Very quickly the output voltage vo would change until va - vb becomes very small. Or basically, until vo = 2 V. This is the concept of negative feedback! A fraction (in this case all) of the output voltage is "fed back" to the input in order to control the gain of the op-amp. The op-amp works very hard to maintain a very small difference between the voltages on its inputs. This circuit is known as a voltage follower because the output “follows” the input. Negative feedback is an important concept. It is used in almost all systems, including all natural systems. A very simple example is the heating system in your house. If the air temperature is too low the thermostat detects a difference between its setting and the air temperature and turns on the heater. When the air temperature reaches the set temperature the thermostat turns off the heater—negative feedback. The servo system that you’ve seen in lab is another example of negative feedback. When the motor position sensor senses a different position than the input position sensor the circuit makes the motor turn in such a way that the difference is minimized and the positions line up.

Figure 5 Summer if i 1  i 2  i 3 if vo Rf v 1 R 1

v 2 R 2

v 3 R 3 vo Rf R 1 v 1 Rf R 2 v 2 Rf R 3 v 3 Figure 6 Differentiator iC C dvin dt if vo Rf vo CRf dvin dt Figure 7 Integrator iin vin Rin iC C dvo dt vo

CRin P vindt Figure 8 Practical integrator Summer The inverting amplifier can also be used as a summing amplifier; that is, it can be made to add the effects of several input voltages together. Look at the circuit in Fig. 5. The summer can be expanded to any number of inputs. See? This is getting easier. Differentiator The differentiator looks an awful lot like the inverting amplifier, and is analyzed in a very similar way. Integr ator Another useful op-amp circuit is the integrator, shown in Fig. 7. For this circuit: Unfortunately, The simple integrator does have one little practical problem. Notice that if the input voltage has any dc component, the output voltage will soon try to run off to infinity. (Actually it will stop when the op-amp reaches one of its output limits, either negative or positive.) A resistor is usually placed in parallel with the capacitor to eliminate this rather annoying effect. The circuit in Fig. 8 has such a resistor. This is a running- average or Miller integrator.

va Rf Rin  Rf v 2 vb Rf Rin  Rf ( v 1 vo )  vo Rf Rin  Rf v 2 Rf Rin  Rf ( v 1 vo )  Rin  Rf Rin  Rf vo vo Rf Rin ( v 2 v 1 ) Rfv 2 Rfv 1 Rfvo  Rinvo  Rfvo Rfv 2 Rfv 1  Rinvo Figure 9 Buffered differential amplifier Figure 10 Differential amplifier vo Rf Rin ( v 2 v 1 ) Active Filters If you replace the resistors in the inverting and noninverting amplifiers with frequency dependant impedances (capacitors and/or inductors), you can make all sorts of frequency dependant circuits, including filters. In fact, the differentiator and integrator circuits can be thought of as filters. One of the main advantages of active filters is that you don’t need to use inductors. Real inductors are far from ideal, as you’ve no doubt observed in lab. Real capacitors are much closer to ideal capacitors and they’re cheaper than inductors. Entire books are devoted to these active filters and we won’t cover them any further here. Differential amplifier This circuit amplifies only the difference between the two inputs. In this circuit there are two resistors labeled Rin, which means that their values are equal. Same goes for the two Rf’s. Don’t confuse the differential amplifier with the differentiator. The differential amplifier amplifies the difference of two inputs while the differentiator amplifies the slope of an input. Instrumentation Amplifier The differential amplifier isn’t really very practical. The current that flows into the top input depends on the voltage applied to the bottom input. This may not seem that bad, but it is. It means that the input characteristics of this circuit are not constant. One way to get around this would be to place a voltage follower on each input, as shown here.

Figure 15 Schmitt trigger Figure 13 Comparator Figure 14 Other comparators

Nonlinear Circuits

In all cases so far, the feedback signal (voltage) has been applied to the inverting (-) input of the op-amp. This means that the feedback is negative. Negative feedback tends to reduce the difference between the va and vb voltages and make linear circuits. Without negative feedback the op-amp cannot minimize the difference between va and vb and the very high sensitivity of the op-amp results in switching , or nonlinear circuits. Comparator Now look at Fig. 14. This circuit will not work as a linear circuit. If va > 0 the output will be as high as the op-amp can make it, usually a volt or two below the positive power supply. If va < 0 the output will be as low as the op-amp can make it, usually a volt or two above the negative power supply. The output is no longer linearly related to the input– it’s more like a digital signal, high or low depending on how vin compares to ground (0 V). The comparator is a nonlinear circuit. All the circuits above are also comparators. In the first circuit, the input is again compared to ground, but this time the output goes low when the input goes high and vise-versa. In the remaining circuits the input is compared not to 0 V, but to some voltage set by the voltage divider of R 1 and R 2. Schmitt trigger The Schmitt trigger is a variation of the simple comparator which has hysteresis, that is, it has a toggle action. When the output is high, positive feedback makes the switching level higher than it is when the output is low. A little positive feedback makes a comparator with better noise immunity. Increase the positive feedback and the Schmitt trigger can be used in other switching applications. Look at the Schmitt ttrigger circuit shown at right. Notice that va = [R 1 /(R 1 + Rf)]vo, it depends on the output. Lets say

Figure 16 Other Schmitt triggers Figure 17 Multivibrator the output is low and the input is decreasing. When vin < va the output goes high and suddenly va goes a little bit higher with it. That makes the difference between vb and va even bigger. To make the circuit switch again vin has to go back up beyond the original switching level. It has to reach the new va before the output will switch low. In this circuit the two switching levels are above and below ground by the same amount (unless you have nonsymmetric power supplies). The circuits above are variations of the Schmitt trigger. In the first circuit, the input is again compared to levels above and below ground, but this time the output goes high when the input goes high and vise-versa. In the remaining circuits the switching levels are not symmetric about 0 V, but about some voltage set by the voltage divider of R 1 and R 2. Multivibrator (square wave generator) The heart of the multivibrator is a Schmitt trigger with lots of positive feedback. Usually R 2 = R 3 , which set the switching levels at about ½ V+ and ½ V-. When the output is high the capacitor charges through R 1 until it reaches the ½ V+ switching level, the output switches low and the capacitor discharges to zero and then charges up (down) until it reaches the ½ V- switching level. That makes the output switch high and the process repeats.

Conclusion

In all of these circuits, with either negative or positive feedback, the output voltage vo cannot increase without bounds. It is bounded in the positive direction by V+, the op-amp positive power supply voltage, and is bounded in the negative direction by V-, the op-amp negative supply voltage. If the output voltage is within these bounds, va – vb must be very small. If va – vb were not very small, vo would soon be forced to one of its limits. Linear circuits use negative feedback to keep this difference small. Without negative feedback you can reasonably assume that the circuit is some kind of switching circuit and that the output is always at one or the other of its limits. This only scratches the surface of what you can do with op-amps. Get a copy of The Op- amp Cookbook for lots more ideas presented in a no-nonsense way.