Sub topic 1
The op amp as a circuit element: terminals and symbol
An operational amplifier (op amp) is a small integrated circuit that you treat as a single component with a few terminals. Before you can analyze a circuit that contains one, you need to know what each terminal is for, which voltages and currents belong to it, and how the symbol maps onto the physical package. This chapter covers those basics. Later chapters add the ideal assumptions and the feedback rules.
Prerequisites
This chapter assumes you can do the following:
- Apply Ohm's law and Kirchhoff's current and voltage laws (KCL and KVL).
- Write node-voltage equations for resistor circuits.
- Recognize a voltage divider and a dependent source, in particular a voltage-controlled voltage source.
- Use the capacitor relation i = C dv/dt. It is not needed here, but later chapters rely on it.
You do not need any transistor-level knowledge. The op amp is treated as a black box with terminals.
The five terminals
The standard op amp symbol is a triangle that points in the direction of signal flow, from inputs on the left to the output on the right. The device has five connections that matter for analysis.
| Terminal | Common label | Role |
|---|---|---|
| Inverting input | v−, or the "−" input | Input whose voltage pushes the output in the opposite direction |
| Non-inverting input | v+, or the "+" input | Input whose voltage pushes the output in the same direction |
| Output | vo, or vout | Terminal that delivers the amplified signal and the load current |
| Positive supply | V+, VCC, or +Vs | Connection to the positive power rail |
| Negative supply | V−, VEE, or −Vs | Connection to the negative power rail, or to ground in a single-supply design |
The first three are the signal terminals. The last two supply power. A real op amp also has no ground pin of its own. All voltages, including the output, are measured against a common reference node that you define in the circuit.
Reading the symbol
In the triangle symbol, the two input terminals sit on the flat left side. The inverting input is marked "−" and the non-inverting input is marked "+". The output is the point on the right. The supply pins attach to the top and bottom edges, but many schematics leave them out to reduce clutter. When they are missing, you must remember that the device is powered and that the supply limits what the output can do.
The signs deserve careful reading. The "−" and "+" labels do not mean that one input is a negative voltage and the other a positive one. They describe how each input affects the output:
- Raising the voltage at the "+" input raises the output.
- Raising the voltage at the "−" input lowers the output.
Both inputs can sit at any voltage within the allowed input range, including negative voltages or zero. Only the sign of the difference matters for the direction of the output.
Schematic drawers sometimes swap the vertical position of the two inputs. Always identify the terminals by their "+" and "−" marks, never by whether they are drawn on the top or bottom.
The differential input
An op amp responds to the difference between its two inputs. Define the differential input voltage as
vd = v+ − v−
Here v+ and v− are node voltages measured relative to the common reference. The output is, to a first approximation,
vo = A · vd
where A is the open-loop gain. This is the relation of a voltage-controlled voltage source whose controlling voltage is vd. That is why the op amp appears in your prerequisites list next to the dependent source. For analysis, you can picture the output stage as a source of voltage A·vd in series with the output terminal.
A consequence is that a common voltage on both inputs, called the common-mode voltage, ideally produces no output. If v+ = v− = 3 V, then vd = 0 regardless of the 3 V. Real devices reject common-mode voltage only partially. That limit comes up in the chapter on where the ideal model fails.
Power supply connections
The supply pins do not carry signal, but they matter for two reasons.
First, the supplies set the limits of the output. The output cannot go above the positive rail or below the negative rail. A circuit powered from +15 V and −15 V is called a dual-supply design. A circuit powered from a single positive supply, such as +5 V, with the negative supply pin tied to ground is a single-supply design. In a single-supply design the output cannot go negative.
Second, the supplies provide the energy for the output. The op amp does not create power from nothing. When the output delivers current to a load, that current comes from one of the supply pins. This has a direct effect on KCL, as the next section explains.
KCL at the op amp
Suppose you draw a closed surface around the op amp and write KCL for the five terminals. The currents into the two inputs, plus the current at the output, plus the currents at the two supply pins, sum to zero. The signal-terminal currents alone do not sum to zero. If the output sources 5 mA into a load, those 5 mA flow in through a supply pin.
This is why you never write KCL at the output terminal of an ideal op amp circuit as a node equation that includes a hidden ground connection. The output node has the op amp's output current as an unknown, supplied by the power rails. The analysis method in a later chapter handles this by avoiding KCL at the op amp output and writing KCL at the input nodes instead.
Mapping the symbol to a physical package
The symbol is abstract, but a physical op amp is a package with numbered pins. The widely used 8-pin dual in-line package (the "741" pinout) assigns the functions as follows.
| Pin | Function |
|---|---|
| 1 | Offset null |
| 2 | Inverting input |
| 3 | Non-inverting input |
| 4 | Negative supply |
| 5 | Offset null |
| 6 | Output |
| 7 | Positive supply |
| 8 | No connection |
The offset null pins let you trim out a small built-in input voltage error. The ideal model ignores them. Pinouts differ between devices and between single, dual, and quad packages, so always check the datasheet for the part you use. Dual and quad packages contain two or four op amps that share the same supply pins.
Modeling the terminals in a simulator
Circuit simulators represent an op amp as a subcircuit with named pins. The following SPICE netlist defines a simple five-pin op amp using a voltage-controlled voltage source, and then places it in a unity-gain follower with the output tied back to the inverting input. The feedback connection is explained in a later chapter. Here the point is to see how the pin order maps to the terminals.
Op amp subcircuit with five pins in a follower
.subckt opamp inp inn out vpos vneg
E1 out 0 inp inn 1e5
Rin inp inn 1e12
.ends opamp
Vin in 0 DC 1
Vp vp 0 DC 15
Vn vn 0 DC -15
X1 in out out vp vn opamp
.op
.endThe pin order in the .subckt line is inp inn out vpos vneg, so the instance X1 in out out vp vn connects in to the non-inverting input, out to the inverting input, and out to the output. The operating-point result gives V(out) of about 0.99999 V, which is 1e5/(1 + 1e5) times the input.
Note that this simple model does not use the supply pins at all. The source E1 can produce any voltage, so the model ignores the rail limits. A more complete model clamps the output between the supplies. The rail effect is covered in the next chapters.
Common errors with terminals
- Swapping the inputs. Connecting feedback to the "+" input instead of the "−" input changes the circuit from stable to unstable. Check the marks on the symbol before you wire anything.
- Forgetting the supplies. An unpowered op amp does not amplify. In a simulator, a missing supply source can leave the output stuck or the netlist invalid.
- Treating the output as a free ground-referenced source. The output is referenced to the common node, and its current comes from the supplies.
- Assuming the pinout. The pin numbers above apply to one common package. Verify against the datasheet.
Summary of what to carry forward
- An op amp has two inputs, one output, and two supply connections.
- The output responds to vd = v+ − v−, with the "+" input in phase with the output and the "−" input opposite.
- The supplies set the output limits and provide the output current, so KCL on the signal terminals alone does not close.
- The next chapter states what "ideal" means and which physical property each assumption idealizes.
Exercise
An op amp is powered from +12 V and −12 V. The "+" input is at 2 V and the "−" input is at 5 V, both measured relative to the common reference. (a) What is vd? (b) Does the output tend to move toward the positive or the negative rail? (c) If the output delivers 3 mA to a load, where does that current come from?
Show answer
(a) vd = v+ − v− = 2 V − 5 V = −3 V. (b) Because vd is negative, the output tends to move toward the negative rail, −12 V, since the "−" input is the higher one and raising it lowers the output. (c) The 3 mA comes from the power supply pins, through the output stage of the op amp, not from the input terminals.
Exercise
Using the 8-pin pinout in this chapter, which pins would you connect to the signal source if you want the output to be in phase with the input, and which pin delivers the result to the load?
Show answer
Connect the source to pin 3, the non-inverting input, so the output is in phase with it. The output appears on pin 6, which you connect to the load. Pins 7 and 4 must be powered from the positive and negative supplies.