Operational Amplifiers
The ideal op-amp, golden rules, inverting and non-inverting configurations, summing and difference amplifiers, integrators, and differentiators
1. The Ideal Op-Amp
An operational amplifier is a differential-input, single-output voltage amplifier with very high open-loop gain \( A_{OL} \). The ideal op-amp has three defining properties:
The output is: \( V_{out} = A_{OL}(V^+ - V^-) \). With \( A_{OL} \to \infty \), even a microvolt difference drives the output to the supply rail β so op-amps are always used with negative feedback.
2. The Golden Rules of Op-Amp Analysis
When an op-amp is operating in its linear region with negative feedback, two rules simplify analysis:
The differential input voltage is zero: \( V^+ = V^- \). Feedback forces the inverting input to track the non-inverting input.
Zero current flows into either input: \( I^+ = I^- = 0 \). Follows from infinite input impedance.
These two rules are sufficient to analyze virtually any linear op-amp circuit without knowing the internal architecture. They hold as long as the output is not saturated.
3. Inverting Amplifier
Applying the golden rules: \( V^- = V^+ = 0 \) (virtual ground), so\( I_{in} = V_{in}/R_{in} \). Since no current enters the op-amp input, this same current flows through \( R_f \):
The gain magnitude is \( |A_v| = R_f/R_{in} \), set entirely by the ratio of two resistors β independent of the op-amp's open-loop gain (as long as it is large).
4. Standard Op-Amp Configurations
5. Python: Op-Amp Circuit Simulations
Simulate: (1) non-inverting amplifier closed-loop gain vs frequency, (2) integrator step response with saturation, and (3) three-input summing amplifier combining 200 Hz, 800 Hz, and 1600 Hz signals.
Click Run to execute the Python code
Code will be executed with Python 3 on the server