📐 Operational Amplifier — FAQ
The two golden rules of the ideal op-amp, and the amplifier circuits you build from them.
What is an operational amplifier?
An operational amplifier (op-amp) is a high-gain differential voltage amplifier. It amplifies the difference between its two inputs (V+ and V-) by a very large open-loop gain, typically 100,000 or more. With negative feedback it becomes a precise, predictable building block for analogue circuits.
What are the two golden rules of an ideal op-amp?
Rule 1: no current flows into either input (infinite input impedance). Rule 2: with negative feedback, the op-amp drives its output so that V+ equals V- (the virtual short). Almost every op-amp circuit can be analysed using just these two rules.
What is a virtual ground?
In an inverting amplifier the non-inverting input (V+) is tied to ground, so the golden rules force V- to sit at ground potential too — without actually being connected to ground. This node is called a virtual ground: it stays at 0 V while still carrying signal current through the resistors.
What is the gain of an inverting amplifier?
For an inverting amplifier the closed-loop gain is -Rf/Rin, where Rin is the input resistor and Rf the feedback resistor. The minus sign means the output is inverted (180 degrees out of phase) relative to the input.
What is the gain of a non-inverting amplifier?
For a non-inverting amplifier the gain is 1 + Rf/Rin. The output is in phase with the input and the gain is always at least 1. Setting Rf = 0 (or Rin = infinity) gives a unity-gain buffer.
How does a summing amplifier work?
A summing amplifier feeds several inputs through their own resistors into the virtual ground of an inverting amp. Because the node is held at 0 V, the currents simply add: Vout = -Rf(V1/R1 + V2/R2 + ...). With equal resistors it produces a weighted (or plain) inverted sum.
What does an integrator op-amp do?
An integrator replaces the feedback resistor with a capacitor. The input current charges the capacitor, so the output voltage is the time-integral of the input: Vout = -(1/RC) times the integral of Vin dt. A square-wave input becomes a triangle wave at the output.
Why does the inverting amplifier flip the signal?
The input signal enters the inverting (-) input through Rin. When the input rises, the op-amp output must fall to keep the virtual ground at 0 V via the feedback resistor. That opposing action is what produces the 180 degree phase inversion.
What is clipping or saturation?
A real op-amp cannot output more than its supply rails. If the input times the gain exceeds the rail voltage, the output flattens at the rail — this is clipping or saturation. The simulation shows the waveform flat-topping when the requested output exceeds the supply.
What are op-amps used for in real circuits?
Op-amps are everywhere: audio preamplifiers, active filters, voltage followers, comparators, oscillators, sensor signal conditioning, analogue computers, and instrumentation. Their predictable feedback behaviour makes them the workhorse of analogue electronics.