Amplification & analog design · tree view
An op-amp is a differential amplifier with a huge internal gain; negative feedback forces its two inputs to almost equal voltages (the "virtual short"), and that one fact predicts inverting amps, summers, comparators and integrators.
The operational amplifier is arguably the most useful single device in analog electronic circuitry. With only a handful of external components, it can be made to perform a wide variety of analog signal processing tasks.
For all practical purposes, we can say that the output of an op-amp will be saturated fully positive if the (+) input is more positive than the (-) input, and saturated fully negative if the (+) input is less positive than the (-) input.
Let's say that our op-amp has a differential voltage gain of 200,000. If Vin equals 6 volts, the output voltage will be 5.999970000149999 volts. This creates just enough differential voltage (6 volts - 5.999970000149999 volts = 29.99985 µV) to cause 5.999970000149999 volts to be manifested at the output terminal, and the system holds there in balance.
By grounding the noninverting input, the negative feedback from the output seeks to hold the inverting input's voltage at 0 volts, as well. For this reason, the inverting input is referred to in this circuit as a virtual ground, being held at ground potential (0 volts) by the feedback, yet not directly connected to (electrically common with) ground.
However, with all resistor values equal to each other, the currents through each of the three resistors will be proportional to their respective input voltages. Since those three currents will add at the virtual ground node, the algebraic sum of those currents through the feedback resistor will produce a voltage at Vout equal to V1 + V2 + V3, except with reversed polarity. The reversal in polarity is what makes this circuit an inverting summer:
However, if we apply a constant, positive voltage to the input, the op-amp output will fall negative at a linear rate, in an attempt to produce the changing voltage across the capacitor necessary to maintain the current established by the voltage difference across the resistor. Conversely, a constant, negative voltage at the input results in a linear, rising (positive) voltage at the output. The output voltage rate-of-change will be proportional to the value of the input voltage.
So, an op-amp with positive feedback tends to stay in whatever output state its already in. It "latches" between one of two states, saturated positive or saturated negative. Technically, this is known as hysteresis.
Practical operational amplifier voltage gains are in the range of 200,000 or more, which makes them almost useless as an analog differential amplifier by themselves.
When the output of an op-amp is directly connected to its inverting (-) input, a voltage follower will be created. Whatever signal voltage is impressed upon the noninverting (+) input will be seen on the output.
An op-amp with negative feedback will try to drive its output voltage to whatever level necessary so that the differential voltage between the two inputs is practically zero. The higher the op-amp differential gain, the closer that differential voltage will be to zero.
Negative feedback creates a condition of equilibrium (balance). Positive feedback creates a condition of hysteresis (the tendency to "latch" in one of two extreme states).
Ideal rule: negative feedback drives the two inputs to (almost) the same voltage, so treat V+ = V− and take no input current. Rails ±15 V (assume output clamps there). Inverting stage: input resistor R_in from v_in to the − node, feedback R_f from − node to v_out, + grounded. Non-inverting stage: v_in straight to +, divider R_f (out→−) and R_g (−→ground). Final row is the book's finite-gain check: A_ol = 200,000 follower.
To predict the outcome:
| configuration | a_ol | r_in_r_g | r_f | predicted_gain | v_in | predicted_v_out |
|---|---|---|---|---|---|---|
| inverting | ideal | 10 kΩ | 100 kΩ | −10.0 | +0.50 V | −5.00 V |
| inverting | ideal | 1 kΩ | 4.7 kΩ | −4.7 | −0.20 V | +0.94 V |
| inverting (unity) | ideal | 22 kΩ | 22 kΩ | −1.0 | +1.20 V | −1.20 V |
| non-inverting | ideal | 10 kΩ (R_g) | 100 kΩ | +11.0 | +0.50 V | +5.50 V |
| non-inverting | ideal | 1 kΩ (R_g) | 4.7 kΩ | +5.7 | +0.50 V | +2.85 V |
| follower (R_f = 0) | ideal | — | 0 Ω | +1.0 | +0.50 V | +0.50 V |
| follower, finite gain | 200,000 | — | 0 Ω | 0.9999950 | +6.000000 V | +5.999970 V (inputs differ by 29.99985 µV) |
No feedback at all: the bare op-amp compares its two inputs with gain ≈200,000. With ±15 V rails it slams to +15 V (a 741 actually reaches only about +14 V/−13 V) whenever the inputs differ by more than a hair (15 V / 200,000 = 75 µV decides the state).
To predict the outcome:
| condition | v_plus | v_minus | output_state | outcome |
|---|---|---|---|---|
| comparator | 3.0 V | 1.0 V | +15 V (HIGH) | Verdict: V+ above V− → logic/alarm ON |
| comparator | 0.5 V | 2.7 V | −15 V (LOW) | Verdict: V+ below V− → output OFF |
| comparator, inputs equal | 2.500 V | 2.500 V | indeterminate | Verdict: ±75 µV of noise flips the state — add hysteresis (positive feedback) |
| square-wave converter | 0 V (reference) | 1 V-peak sine | square wave | Verdict: output flips each zero crossing → 50% duty square wave at the sine's frequency |
| low-battery alarm | 8.5 V (reference) | V_bat | +15 V at V_bat = 8.2 V | Verdict: battery sags below 8.5 V → V+ > V− → alarm LED lights |
| low-battery alarm, battery healthy | 8.5 V (reference) | V_bat = 9.0 V | −15 V (LOW) | Verdict: V− above V+ → no alarm |
Inverting configuration with several input resistors tied to the same virtual-ground − node; feedback resistor R_f from − node to output. Each input contributes its own current independently — the op-amp node adds them. Rails ±15 V.
To predict the outcome:
| v_1 | v_2 | v_3 | resistors | predicted_v_out | outcome |
|---|---|---|---|---|---|
| +1.00 V | +2.00 V | +3.00 V | all 10 kΩ, R_f = 10 kΩ | −6.00 V | clean sum, inverted |
| +0.70 V | −0.30 V | +1.50 V | all 10 kΩ, R_f = 10 kΩ | −1.90 V | algebraic sum — opposite inputs cancel |
| +2.00 V | +2.00 V | +2.00 V | all 10 kΩ, R_f = 10 kΩ | −6.00 V | equal inputs: passive average 2 V × gain 3 = 6 V |
| +1.00 V (10 kΩ) | +0.50 V (20 kΩ) | +2.00 V (10 kΩ) | weighted, R_f = 10 kΩ | −3.25 V | channel 2 mixed at half level — resistors set the mix |
| +5.00 V | +5.00 V | +5.00 V | all 10 kΩ, R_f = 10 kΩ | demands −15 V | clips at −V_sat — the mix saturates instead of summing |
Integrator: R = 10 kΩ from v_in to the − node, C = 100 nF from the − node to v_out (last row uses R = 47 kΩ, C = 10 µF). A constant input forces a constant current V_in/R through the capacitor, so the output ramps linearly at dV_out/dt = −V_in/(RC). Rails ±15 V.
To predict the outcome:
| v_in | r_and_c | ramp_rate | v_out_after_5_ms | v_out_after_10_ms | outcome |
|---|---|---|---|---|---|
| −1.00 V | 10 kΩ, 100 nF | +1000 V/s | +5.00 V | +10.00 V | rises until it clamps at +15 V at t = 15 ms |
| +0.50 V | 10 kΩ, 100 nF | −500 V/s | −2.50 V | −5.00 V | negative-going ramp, slope scales with input |
| −2.00 V | 47 kΩ, 10 µF | +4.26 V/s | +0.02 V | +0.04 V | big RC → slow totalizer-style ramp |
| 0 V | 10 kΩ, 100 nF | 0 V/s | holds | holds | no current, no charge, output frozen (at whatever it had reached) |