Determine what the magnitude and polarity of the voltmeter’s indication will be in each case:


Here, students must apply Kirchhoff’s Voltage Law to determine what the voltmeter’s indication will be. This question works well as a prelude to determining comparator (openloop opamp) output polarities.
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.”
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.”
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.”
Although the following symbol is generally interpreted as an operational amplifier (“opamp”), it may also be used to represent a comparator:

What is the difference between a comparator such as the model LM319, and a true operational amplifier such as the model LM324? Are the two devices interchangeable, or is there any significant difference despite the exact same schematic symbols? Explain your answer.
Comparators are designed for openloop operation only (no feedback), while operational amplifiers are designed to perform well with feedback. For many simple applications, though, a true opamp does a reasonable job as a comparator.
The answer to this question invokes a couple of terms your students may not be familiar with yet: “openloop” and “feedback”. Discuss these terms with your students, asking them first if they were able to arrive at definitions for them.
In this circuit, a solar cell converts light into voltage for the opamp to “read” on its noninverting input. The opamp’s inverting input connects to the wiper of a potentiometer. Under what conditions does the LED energize?

The LED energizes under brightlight conditions, deenergizing when the light decreases below the threshold set by the potentiometer.
Followup question: determine what would have to be changed in this circuit to make the LED turn on when the solar cell becomes dark.
There is more than one way to accomplish the task posed by the followup question. Be sure to ask your students for their ideas on how to reverse the LED’s operation!
What does the phrase openloop voltage gain mean with reference to an operational amplifier? For a typical opamp, this gain figure is extremely high. Why is it important that the openloop voltage gain be high when using an opamp as a comparator?
“Openloop voltage gain” simply refers to the differential voltage gain of the amplifier, without any connections “feeding back” the amplifier’s output signal to one or more of its inputs. A high gain figure means that a very small differential voltage is able to drive the amplifier into saturation.
The word “saturation” is used often in electronics, especially in reference to amplifiers. Discuss the meaning and significance of this term with your students, especially in reference to comparator circuits, where the opamp is being used simply to compare to voltages and tell which one is greater.
A student is operating a simple comparator circuit and documenting the results in a table:

MMMM  MMMM  MMMM  MMMM 
V_{in( )}  V_{in(−)}  V_{out} 
3.00 V  1.45 V  10.5 V 
3.00 V  2.85 V  10.4 V 
3.00 V  3.10 V  1.19 V 
3.00 V  6.75 V  1.20 V 
V_{in( )}  V_{in(−)}  V_{out} 
2.36 V  6.50 V  1.20 V 
4.97 V  6.50 V  1.21 V 
7.05 V  6.50 V  10.5 V 
9.28 V  6.50 V  10.4 V 
V_{in( )}  V_{in(−)}  V_{out} 
10.4 V  9.87 V  10.6 V 
1.75 V  1.03 V  10.5 V 
0.31 V  1.03 V  10.5 V 
5.50  5.65 V  1.19 V 
One of these output voltage readings is anomalous. In other words, it does not appear to be “correct”. This is very strange, because these figures are real measurements and not predictions! Perplexed, the student approaches the instructor and asks for help. The instructor sees the anomalous voltage reading and says two words: latchup. With that, the student goes back to research what this phrase means, and what it has to do with the weird output voltage reading.
Identify which of these output voltage measurements is anomalous, and explain what “latchup” has to do with it.
Latchup occurs when one of the input voltage signals approaches too close to one of the power supply rail voltages. The result is the opamp output saturating “high” even if it isn’t supposed to.
Challenge question: suppose we expected both input voltages to range between 0 and 10 volts during normal operation of this comparator circuit. What could we change in the circuit to allow this range of operation and avoid latchup?
Ask your students what they found in their research on “latchup,” and if this is an idiosyncrasy of all opamp models, or just some.
Incidentally, the curved opamp symbol has no special meaning. This symbol was quite popular for representing opamps during their early years, but has since fallen out of favor. I show it here just to inform your students, in case they ever happen to encounter one of these symbols in an old electronic schematic.
In this automatic cooling fan circuit, a comparator is used to turn a DC motor on and off when the sensed temperature reaches the “setpoint” established by the potentiometer:

The circuit works just as it is supposed to in turning the motor on and off, but it has a strange problem: the transistor gets warm when the motor is off! Oddly enough, the transistor actually cools down when the motor turns on.
Describe what you would measure first in troubleshooting this problem. Based on the particular model of opamp used (a model LM741C), what do you suspect is the problem here?
The problem here is that the model 741 opamp cannot “swing” its output railtorail. An opamp with railtorail output voltage capability would not make the transistor heat up in the “off” mode.
Challenge question: what purpose does the capacitor serve in this circuit? Hint: the capacitor is not required in a “perfect world,” but it helps eliminate spurious problems in the real world!
I’ve actually encountered this transistor heating problem in designing and building a very similar DC motor control circuit using the 741. There is a way to overcome this problem without switching to a different model of opamp!
After discussing the nature of the problem with your students, you should talk about the virtues of getting a “low performance” opamp such as the model 741 to work in a scenario like this rather than changing to an opamp model capable of railtorail operation. In my estimation, switching to a more modern opamp in a circuit as simple as this is “cheating”. There is nothing about this circuit that fundamentally taxes the capabilities of a 741 opamp. All it takes is a little creativity to make it work properly.
Explain the operation of this soundactivated relay circuit:

The relay will energize if a loud enough sound is detected by the microphone. The threshold volume is set by the potentiometer.
Followup question: how could we equip this circuit with the ability to turn the relay off once it has been turned on?
There is a lot going on in this circuit that is not addressed in the answer I give. The basic purpose of the circuit should be fairly clear to understand, but the function of several components deserve further explanation. Ask your students to explain the functions of the diode on the comparator’s output, the diode in parallel with the relay coil, the zener diode in parallel with the potentiometer, and the SCR.
Calculate the amount of resistance that the thermistor much reach in order to turn the cooling fan on:

Thermistor resistance = 5.547 kΩ
Ask your students how they arrived at their solution for this question. There is definitely more than one way to do it!
Predict how the operation of this thermostat circuit (where the cooling fan motor is supposed to turn on when the temperature gets too high) will be affected as a result of the following faults. 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 thermostat circuit (where the cooling fan motor is supposed to turn on when the temperature gets too high) will be affected as a result of the following faults. 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 soundactivated relay circuit will be affected as a result of the following faults. 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.
Trace the output waveform of this comparator circuit:


Followup question: explain what the phrase duty cycle means with reference to a “square” or “pulse” waveform.
During discussion, ask your students to explain how the output waveform of this comparator circuit comes to be, step by step. Ask them how they arrived at their solution, and if there is a way this AC/DC problem can be simplified to one that is DC only for easier analysis (determining what the output voltage will do for a certain set of input conditions).
Explain what a window comparator circuit is (sometimes called a window discriminator), and identify at least one practical application for one.
A “window comparator” circuit detects when a voltage falls between two different reference voltages. I’ll let you figure out some practical applications for such a circuit!
Ask your students where they found the answer for this question, and further explore some of the practical applications they offer.
Photovoltaic solar panels produce the most output power when facing directly into sunlight. To maintain proper positioning, “tracker” systems may be used to orient the panels’ direction as the sun “moves” from east to west across the sky:

One way to detect the sun’s position relative to the panel is to attach a pair of LightDependent Resistors (LDR’s) to the solar panel in such a way that each LDR will receive an equal amount of light only if the panel is pointed directly at the sun:

Two comparators are used to sense the differential resistance produced by these two LDR’s, and activate a tracking motor to tilt the solar panel on its axis when the differential resistance becomes too great. An “Hdrive” transistor switching circuit takes the comparators’ output signals and amplifies them to drive a permanentmagnet DC motor one way or the other:

In this circuit, what guarantees that the two comparators never output a “high” ( V) voltage simultaneously, thus attempting to move the tracking motor clockwise and counterclockwise at the same time?
With the potentiometers connected in series like this, the upper comparator’s reference voltage will always be greater than the lower comparator’s reference voltage. In order for both comparators to saturate their outputs “high,” the voltage from the photoresistor divider would have to be greater than the upper potentiometer’s voltage and less then the lower potentiometer’s voltage at the same time, which is an impossibility. This comparator configuration is commonly known as a window comparator circuit.
There is a lot going on in this comparator circuit for you and your students to discuss. Take time to talk about the operation of the entire circuit in detail, making sure students understand how every bit of it works.
If any of your students point out that there seem to be some power supply connections missing from the comparators (U_{1} and U_{2}), discuss the fact that this notation is often used when multiple opamps or comparators are contained in the same integrated circuit. Often, the power supply connections will be omitted entirely for the sake of simplicity! Since everyone understands that opamps need DC power in order to function, the V and V (or ground) connections are simply assumed.
One misunderstanding I’ve seen with beginning students is to assume that signal input connections and power connections to an opamp are equivalent. That is, if an opamp does not receive V/V power through the normal power terminals, it will operate off of whatever voltages appear at its inverting and noninverting inputs. Nothing could be further from the truth! An ïnput” connection to a circuit denotes a signal to be detected, measured, or manipulated. A “power” connection is completely different. To use a stereo analogy, this is confusing the audio patch cable connections with the power cord.
Predict how the operation of this solar panel tracking circuit (where the tracking motor turns in response to a difference in light sensed by the two photoresistors) will be affected as a result of the following faults. Assuming that the motor spins clockwise when its left terminal is negative and its right terminal is positive (when Q_{2} and Q_{3} are both on), specify the direction of rotation (or nonrotation) resulting from each fault. 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.
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!
Published under the terms and conditions of the Creative Commons Attribution License
by Robert Keim
by Cabe Atwell
by Robert Keim
by Robert Keim