Determine the output voltage polarity of this opamp (with reference to ground), given the following input conditions:

In these illustrations, I have likened the opamp’s action to that of a singlepole, doublethrow switch, showing the “connection” made between power supply terminals and the output terminal.

Determining which “way” the output of an opamp drives under different input voltage conditions is confusing to many students. Discuss this with them, and ask them to present any principles or analogies they use to remember “which way is which.”
Don’t just sit there! Build something!! 
Learning to mathematically analyze circuits requires much study and practice. Typically, students practice by working through lots of sample problems and checking their answers against those provided by the textbook or the instructor. While this is good, there is a much better way.
You will learn much more by actually building and analyzing real circuits, letting your test equipment provide the “answers” instead of a book or another person. For successful circuitbuilding exercises, follow these steps:
Avoid using the model 741 opamp, unless you want to challenge your circuit design skills. There are more versatile opamp models commonly available for the beginner. I recommend the LM324 for DC and lowfrequency AC circuits, and the TL082 for AC projects involving audio or higher frequencies.
As usual, avoid very high and very low resistor values, to avoid measurement errors caused by meter “loading”. I recommend resistor values between 1 kΩ and 100 kΩ.
One way you can save time and reduce the possibility of error is to begin with a very simple circuit and incrementally add components to increase its complexity after each analysis, rather than building a whole new circuit for each practice problem. Another timesaving technique is to reuse the same components in a variety of different circuit configurations. This way, you won’t have to measure any component’s value more than once.
Let the electrons themselves give you the answers to your own “practice problems”!
It has been my experience that students require much practice with circuit analysis to become proficient. To this end, instructors usually provide their students with lots of practice problems to work through, and provide answers for students to check their work against. While this approach makes students proficient in circuit theory, it fails to fully educate them.
Students don’t just need mathematical practice. They also need real, handson practice building circuits and using test equipment. So, I suggest the following alternative approach: students should build their own “practice problems” with real components, and try to mathematically predict the various voltage and current values. This way, the mathematical theory “comes alive,” and students gain practical proficiency they wouldn’t gain merely by solving equations.
Another reason for following this method of practice is to teach students scientific method: the process of testing a hypothesis (in this case, mathematical predictions) by performing a real experiment. Students will also develop real troubleshooting skills as they occasionally make circuit construction errors.
Spend a few moments of time with your class to review some of the “rules” for building circuits before they begin. Discuss these issues with your students in the same Socratic manner you would normally discuss the worksheet questions, rather than simply telling them what they should and should not do. I never cease to be amazed at how poorly students grasp instructions when presented in a typical lecture (instructor monologue) format!
A note to those instructors who may complain about the “wasted” time required to have students build real circuits instead of just mathematically analyzing theoretical circuits:
What is the purpose of students taking your course?
If your students will be working with real circuits, then they should learn on real circuits whenever possible. If your goal is to educate theoretical physicists, then stick with abstract analysis, by all means! But most of us plan for our students to do something in the real world with the education we give them. The “wasted” time spent building real circuits will pay huge dividends when it comes time for them to apply their knowledge to practical problems.
Furthermore, having students build their own practice problems teaches them how to perform primary research, thus empowering them to continue their electrical/electronics education autonomously.
In most sciences, realistic experiments are much more difficult and expensive to set up than electrical circuits. Nuclear physics, biology, geology, and chemistry professors would just love to be able to have their students apply advanced mathematics to real experiments posing no safety hazard and costing less than a textbook. They can’t, but you can. Exploit the convenience inherent to your science, and get those students of yours practicing their math on lots of real circuits!
An operational amplifier is a particular type of differential amplifier. Most opamps receive two input voltage signals and output one voltage signal:

Here is a single opamp, shown under two different conditions (different input voltages). Determine the voltage gain of this opamp, given the conditions shown:


Also, write a mathematical formula solving for differential voltage gain (A_{V}) in terms of an opamp’s input and output voltages.
A_{V} = 530,000

Followup question: convert this voltage gain figure (as a ratio) into a voltage gain figure in decibels.
The calculations for voltage gain here are not that different from the voltage gain calculations for any other amplifier, except that here we’re dealing with a differential amplifier instead of a singleended amplifier.
A differential voltage gain of 530,000 is not unreasonable for a modern operational amplifier! A gain so extreme may come as a surprise to many students, but they will discover later the utility of such a high gain.
Many opamp circuits require a dual or split power supply, consisting of three power terminals: V, V, and Ground. Draw the necessary connections between the 6volt batteries in this schematic diagram to provide 12 V, 12 V, and Ground to this opamp:


I encourage your students to learn how to power opamp circuits with interconnected batteries, because it really helps to build their understanding of what a “split” power supply is, as well as allow them to build functioning opamp circuits in the absence of a quality benchtop power supply.
The 8pin DualInlinePackage (DIP) is a common format in which single and dual operational amplifiers are housed. Shown here are the case outlines for two 8pin DIPs. Draw the internal opamp connections for a single opamp unit, and for a dual opamp unit:

You will need to research some opamp datasheets to find this information. Examples of single opamp chips include the LM741, CA3130, and TL081. Examples of dual opamp chips include the LM1458 and TL082.

Ask your students to reveal their information sources, and what specific models of opamp they researched.
Shown here is a simplified schematic diagram of one of the operational amplifiers inside a TL08x (TL081, TL082, or TL084) opamp integrated circuit:

Qualitatively determine what will happen to the output voltage (V_{out}) if the voltage on the noninverting input (V_{in }) increases, and the voltage on the inverting input (V_{in−}) remains the same (all voltages are positive quantities, referenced to V). Explain what happens at every stage of the opamp circuit (voltages increasing or decreasing, currents increasing or decreasing) with this change in input voltage.
Here, I’ve labeled a few of the important voltage changes in the circuit, resulting from the increase in noninverting input voltage (V_{in }):

The answer provided here is minimal. Challenge your students to follow the whole circuit through until the end, qualitatively assessing voltage and current changes.
Incidentally, the strangelooking doublecircle symbol is a current source. Ask your students if they were able to find a reference anywhere describing what this symbol means.
Shown here is a simplified schematic diagram of one of the operational amplifiers inside an LM324 quad opamp integrated circuit:

Qualitatively determine what will happen to the output voltage (V_{out}) if the voltage on the inverting input (V_{in−}) increases, and the voltage on the noninverting input (V_{in }) remains the same (all voltages are positive quantities, referenced to ground). Explain what happens at every stage of the opamp circuit (voltages increasing or decreasing, currents increasing or decreasing) with this change in input voltage.
Here, I’ve labeled a few of the important voltage changes in the circuit, resulting from the increase in inverting input voltage (V_{in−}):

The answer provided here is minimal. Challenge your students to follow the whole circuit through until the end, qualitatively assessing voltage and current changes.
Incidentally, the strangelooking doublecircle symbol is a current source. Ask your students if they were able to find a reference anywhere describing what this symbol means.
One of the first popular operational amplifiers was manufactured by Philbrick Researches, and it was called the K2W. Built with two dualtriode vacuum tubes, its original schematic diagram looked like this:

To make this opamp circuit easier for modern students to understand, I’ll substitute equivalent solidstate components for all tubes in the original design:

Explain the configuration (commonsource, commondrain, or commongate) of each transistor in the modernized schematic, identifying the function of each in the operational amplifier circuit.
Q_{1} and Q_{2} form a differential pair, outputting a signal proportional to the difference in voltage between the two inputs. Q_{3} is a (bypassed) commonsource voltage amplifier, while Q_{4} is a sourcefollower (commondrain), providing voltage gain and current gain, respectively.
The answer as given is incomplete. One could elaborate more on the function of each transistor, and by doing so understand the original amplifier circuit a little better. Explore this circuit with your students, challenging them to follow through the logic of the design, trying to figure out what the designer(s) intended.
This question also provides the opportunity to draw parallels between Dtype MOSFET operation and the behavior of triodetype vacuum tubes. As with Dtype MOSFETs, triodes were “normally halfon” devices, whose platecathode current conduction could be enhanced or depleted by applying voltage to the grid (with respect to the cathode).
Determine the functions for as many components as you can in the following schematic diagram of a model 741 operational amplifier:

I’ll let you and your classmates have fun with this question!
Although the model 741 operational amplifier is considered obsolete by many modern standards, it is still a suitable circuit for this kind of exploration with students. Being able to look over a schematic diagram and figure out what the components do is an important troubleshooting skill. The fact that human circuit designers tend to repeat specific circuit elements and “modules” (such as the commoncollector amplifier or the current mirror) in their designs rather than invent something completely novel for each design simplifies the task of later interpretation.
Predict how the operation of this operational amplifier circuit will be affected as a result of the following faults. Specifically, identify whether the output voltage (V_{out}) will move in a positive direction (closer to the V rail) or in a negative direction (closer to ground). Consider each fault independently (i.e. one at a time, no multiple faults):

For each of these conditions, explain why the resulting effects will occur.
The purpose of this question is to approach the domain of circuit troubleshooting from a perspective of knowing what the fault is, rather than only knowing what the symptoms are. Although this is not necessarily a realistic perspective, it helps students build the foundational knowledge necessary to diagnose a faulted circuit from empirical data. Questions such as this should be followed (eventually) by other questions asking students to identify likely faults based on measurements.
Predict how the operation of this operational amplifier circuit will be affected as a result of the following faults. Specifically, identify whether the output voltage (V_{out}) will move in a positive direction (closer to the V rail) or in a negative direction (closer to the V rail). Consider each fault independently (i.e. one at a time, no multiple faults):

For each of these conditions, explain why the resulting effects will occur.
The purpose of this question is to approach the domain of circuit troubleshooting from a perspective of knowing what the fault is, rather than only knowing what the symptoms are. Although this is not necessarily a realistic perspective, it helps students build the foundational knowledge necessary to diagnose a faulted circuit from empirical data. Questions such as this should be followed (eventually) by other questions asking students to identify likely faults based on measurements.
Ideally, what should the output voltage of an opamp do if the noninverting voltage is greater (more positive) than the inverting voltage?

In this condition, the output of the opamp should saturate positive ( V), as if a direct connection were made inside the opamp between the output terminal and the V power supply terminal:

Determining which “way” the output of an opamp drives under different input voltage conditions is confusing to many students. Discuss this with them, and ask them to present any principles or analogies they use to remember “which way is which.”
A helpful model for understanding opamp function is one where the output of an opamp is thought of as being the wiper of a potentiometer, the wiper position automatically adjusted according to the difference in voltage measured between the two inputs:

To elaborate further, imagine an extremely sensitive, analog, zerocenter voltmeter inside the opamp, where the movingcoil mechanism of the voltmeter mechanically drives the potentiometer wiper. The wiper’s position would then be proportional to both the magnitude and polarity of the difference in voltage between the two input terminals.
Realistically, building such a voltmeter/potentiometer mechanism with the same sensitivity and dynamic performance as a solidstate opamp circuit would be impossible, but the point here is to model the opamp in terms of components that we are already very familiar with, not to suggest an alternative construction for real opamps.
Describe how this model helps to explain the output voltage limits of an opamp, and also where the opamp sources or sinks load current from.
The output voltage of an opamp cannot exceed either power supply “rail” voltage, and it is these “rail” connections that either source or sink load current.
Followup question: does this model realistically depict the input characteristics (especially input impedance) of an opamp? Why or why not?
Students have told me that this opamp model öpened their eyes” to the behavior of opamp outputs, especially in situations where they would have otherwise expected an opamp to deliver an output voltage exceeding one of the rail voltages, or where the path of load current was critical. One of the common fallacies new students have about opamps is that output current somehow originates from current at one or both of the input terminals. This model also helps to shatter that illusion.
As a new instructor, I used to be shocked to see such misunderstandings in my students’ thinking. Surely from their previous experience with singletransistor amplifier circuits they knew the DC output voltage could never exceed the power supply rail voltages, right? Surely they understood that the current gain provided by multiple transistor stages effectively isolated output loading from the input(s), so that increased load at the output had negligible effect on input current, right? Well, not necessarily so!
The major reasons I am so adamant about having students expose their conceptions and thinking processes in a classroom discussion (rather than quietly listen to me lecture) is to be able to detect and correct these kinds of misunderstandings, and to be able to instill a sense of internal dialogue so that students learn to detect and correct the same kinds of misunderstandings on their own. Deep and critical thought does not seem to be a natural tendency in most human beings. To the contrary, a great many people seem perfectly content with meager and shallow comprehensions of the world around them, and must be prodded into assessing what they think they know. Pose questions to your students that challenge shallow thinking, that expose misunderstandings, and that force students to think more deeply than they are used to. In my opinion, building these metacognitive skills and habits is the very essence of higher education.
In this circuit, an opamp turns on an LED if the proper input voltage conditions are met:

Trace the complete path of current powering the LED. Where, exactly, does the LED get its power from?
The arrows shown in this diagram trace “conventional” current flow, not electron flow:

The important thing to note here is that the load current does not pass through either of the opamp’s input terminals. All load current is sourced by the opamp’s power supply! Discuss the importance of this fact with your students.
Ideally, when the two input terminals of an opamp are shorted together (creating a condition of zero differential voltage), and those two inputs are connected directly to ground (creating a condition of zero commonmode voltage), what should this opamp’s output voltage be?

In reality, the output voltage of an opamp under these conditions is not the same as what would be ideally predicted. Identify the fundamental problem in real opamps, and also identify the best solution.
Ideally, V_{out} = 0 volts. However, the output voltage of a real opamp under these conditions will invariably be “saturated” at full positive or full negative voltage due to differences in the two branches of its (internal) differential pair input circuitry. To counter this, the opamp needs to be “trimmed” by external circuitry.
Followup question: the amount of differential voltage required to make the output of a real opamp settle at 0 volts is typically referred to as the input offset voltage. Research some typical input offset voltages for real operational amplifiers.
Challenge question: identify a model of opamp that provides extra terminals for this “trimming” feature, and explain how it works.
In many ways, real opamps fall short of their ideal expectations. However, modern opamps are far, far better than the first models manufactured. And with such a wide variety of models to choose from, it is possible to obtain an almost perfect match for whatever design application you have, for a modest price.
If possible, discuss how “trimming” works in a real opamp. If your students took the “challenge” and found some opamp datasheets describing how to implement trimming, have them relate the connection of external components to the opamp’s internal circuitry.
What does it mean if an operational amplifier has the ability to “swing its output rail to rail”? Why is this an important feature to us?
Being able to “swing” the output voltage “rail to rail” means that the full range of an opamp’s output voltage extends to within millivolts of either power supply “rail” ( V and V).
Challenge question: identify at least one opamp model that has this ability, and at least one that does not. Bring the datasheets for these opamp models with you for reference during discussion time.
Discuss what this feature means to us as circuit builders in a practical sense. Ask those students who tackled the challenge question to look up the output voltage ranges of their opamp models. Exactly how close to V and V can the output voltage of an opamp lacking “railtorail” output capability “swing”?
A very important parameter of operational amplifier performance is slew rate. Describe what “slew rate” is, and why it is important for us to consider in choosing an opamp for a particular application.
“Slew rate” is the maximum rate of voltage change over time ([dv/dt]) that an opamp can output.
Ask your students why [dv/dt] might be an important parameter in a circuit? In what application(s) might we need the opamp to “swing” its output voltage rapidly? In what application(s) might we not care about the opamp’s slew rate?
Some precision operational amplifiers are programmable. What does this feature mean? In what way can you “program” an opamp?
A “programmable” opamp is one with extra connections to its internal circuitry allowing you to set the current source values using external components.
What possible benefits are there to “programming” the current source values in an operational amplifier? Discuss this with your students, asking them to share what they’ve found through their research.
Published under the terms and conditions of the Creative Commons Attribution License
by Cabe Atwell
by Gary Elinoff
by Cabe Atwell