HW Interview
AN-01 · Chapter 2 · Analog & Op-Amps

The three op-amp rules

What are the three rules that let you analyze any negative-feedback op-amp circuit quickly?

Level● screening
TrackGeneral board
Really testingThe foundation for every op-amp follow-up.

Free full answer — one of 12 questions answered in full on this site.

Think first. Before you read on: what does "very large open-loop gain" force the two inputs to do — and in which circuits does that stop being true?
Show the answer

Say this first: Treat the op-amp as ideal while it has negative feedback and is not clipped: (1) the voltage between its two inputs is driven to zero, so V+ ≈ V−; (2) the inputs draw no current; (3) so write KCL at the inverting input and solve for Vout.

Then explain: These come from infinite open-loop gain and infinite input impedance. They fail when there is no negative feedback (comparator), when the output saturates at a rail, when the signal is beyond the GBW, or when slew-rate limited.

Follow-ups: Derive the inverting gain: (0 − Vin)/R1 = (Vout − 0)/Rf → Vout = −(Rf/R1)·Vin.

Common mistake. Using "V+ = V−" on a circuit with no negative feedback — a comparator or a Schmitt trigger. The rule comes from the feedback loop, not from the op-amp itself.

Going deeper

Where rule 1 really comes from. Vout = A·(V+ − V−). With A = 100,000 and Vout = 5 V, the inputs differ by only 50 µV — "zero" for any board you will ever build. Note that it is the feedback that forces this, not the op-amp alone: cut the feedback path and the same part slams into a rail.

Worked example. Non-inverting stage, R1 = 1 kΩ to ground, Rf = 9 kΩ. Rule 2 says no current enters the − input, so V− = Vout·1/10. Rule 1 says V− = Vin. So Vout = 10·Vin. With finite gain the exact result is G = 10/(1 + 10/A): at A = 100,000 the error is about 0.01%.

Where people go wrong

Say it in the room: "I'll treat it as ideal while it has negative feedback and stays linear — then I'll check gain-bandwidth, swing and slew."

More like this in the book

This is AN-01 from Hardware Engineer Interview Questions. The book has 16 questions on analog & op-amps and 141 in all, each answered the same way: what to say first, how to explain it, the numbers worth quoting and the follow-ups that come next.

About the bookRead a free sample (PDF)

Errata

No corrections known for this question. All errata

Ask about this question

Stuck on a step, or think something is wrong? Send it with AN-01 in the subject. Good questions get answered on this page, and corrections go into the next printing.

Ask about AN-01

Related

AN-02 Inverting gain of −10, non-ideal →