Op-amps in the real world
Sixteen real op-amps from the LM358 to the LT1028 with their datasheet specs, and what those specs do to your circuit — closed-loop bandwidth, slew-rate distortion, DC offset budget, noise with 1/f corners, phase margin and capacitive loads, rail-to-rail limits — plus a selector that shortlists parts for your requirements.
Added
Works with
- Timing, filters, and analog design Electronicsthe ideal op-amp gain formulas and resistor pairs this tool then checks against a real part
- Active filter designer Electronicsfilter stages whose GBW needed figure this tool turns into a real part choice and phase margin
- ADC accuracy Electronicsput the op-amp's DC error budget here into the ADC's offset line and full-scale accuracy
- Circuit simulator Electronicssimulate the stage — its noise analysis uses the same en, in and 4kTR model and the same LM358, TL072 and NE5532 figures
- RTDs, thermocouples and load cells Sensorsthermocouple and bridge amplifiers, where offset and drift in µV become degrees and grams
- Noise lab Electronicsthe noise concepts behind this tab, and a whole-chain budget from the sensor through filters to the ADC
How to use it
Textbook op-amps have infinite gain, bandwidth and input impedance. Real ones run out of gain at high frequency, slew, have offset and bias current, hiss, ring into capacitive loads, and can’t reach their supply rails. This tool takes a catalogue of sixteen real parts — from the 1968 LM741 and the ubiquitous LM358 through audio parts (NE5532, OPA2134, OPA1612), rail-to-rail CMOS (MCP6002, TLV9062), zero-drift precision (AD8628, ADA4528) and the 3 A OPA548 — and works out what each limitation costs in your circuit.
How to use it
-
Open the Catalogue to compare the parts; click a row for the details, its datasheet, and which figures are estimates.
-
In each calculator tab, pick an op-amp from the list (it fills in its datasheet figures, which you can then edit) or choose Custom and enter your own.
-
Bandwidth: enter Rf and Rg for an inverting or non-inverting stage; read the noise gain, the −3 dB bandwidth, the gain error at your frequency, and how splitting the gain into stages helps.
-
Slew rate: enter the output amplitude and frequency; watch the output turn from a sine into a triangle as you drag the frequency past the full-power bandwidth, and read the THD.
-
DC errors: enter the resistors, temperature range and full scale for a worst-case and typical output-offset budget, and try Set Rp = Rf‖Rg to see bias-current compensation work.
-
Noise: enter the source resistance, the resistors and the band; read the rms output noise, which source dominates, and which catalogue part is quietest from that source.
-
Stability: load an example (a follower into 1 nF, an isolation resistor, in-loop compensation, a photodiode amplifier) and change CL, Riso, Cf; the phase margin, Bode plot and step response update.
-
Input/output range: enter the supply, gain and input range to check common-mode and output-swing limits on a single supply.
-
Selector: enter your requirements; the matching parts are ranked, and the rejected ones say why.
The models
-
Catalogue. Typical figures at 25 °C from each maker’s datasheet (TI, Analog Devices, Microchip; the document is named on each part), with the maximum beside the typical for offset, drift, bias and offset current where it is given. Figures marked ≈ are estimates — read off a typical curve (1/f corners, output swing against load), or a usual value for that kind of part where the datasheet is silent (the open-loop output resistance, the phase margin used for the second pole). Check the current datasheet before committing a design.
-
Bandwidth. A single-pole op-amp, A(f) = A0/(1 + jf/fp) with fp = GBW/A0. The loop sees the noise gain 1 + Rf/Rg whatever the configuration, so the closed-loop bandwidth is GBW/(1 + Rf/Rg): a gain of −1 has half the bandwidth of a follower. The gain error at f is from G/(1 + NG/A(jf)). n identical stages in cascade have a bandwidth √(21/n − 1) times one stage’s.
-
Slew rate. The full-power bandwidth is SR/(2π·Vpeak). The animation integrates dV/dt = clamp(ωc·(Vin − Vout), ±SR), the small-signal pole and the slew limit together, and the THD comes from the first fifteen harmonics.
-
DC errors. Vout = NG·(Vos − Ib+·Rp) + Ib−·Rf with Ib± = Ib ± Ios/2. The worst case adds the magnitudes at their maximums; typical is the root-sum-square of typical values. A resistor Rp = Rf‖Rg at the + input cancels equal bias currents, leaving only Ios·Rf; FET and CMOS bias currents double every 10 °C. Put the total into the offset line of the ADC error budget.
-
Noise. The same model as the circuit simulator's noise analysis: 4kT·R for each resistor, en in series with the + input, in from each input to ground, each carried to the output by its own gain and added in power, at 27 °C by default. The densities follow en(f) = ewhite·√(1 + fcorner/f), and the closed-loop pole GBW/NG rolls them off. The rms is a numerical integral over your band (×6.6 for peak-to-peak). The quietest op-amp for a source resistance Rs minimises √(en² + (in·Rs)² + 4kT·Rs); the noise figure is lowest near the optimum source resistance en/in (Motchenbacher & Connelly, Low-Noise Electronic System Design).
-
Stability. A two-pole op-amp — the dominant pole and a second pole placed to give the datasheet phase margin — with its open-loop output resistance Ro, driving Riso and CL, with Rf taken from the op-amp pin or from the load (in-loop compensation), Cf across the feedback, and Cin at the − input. The loop gain is solved by nodal analysis, the step response by trapezoidal integration. For a two-pole loop, phase margin maps to damping and overshoot exactly (45° ≈ 23%, 60° ≈ 9%). The transimpedance Cf for a maximally flat response solves 1/Q = ω0·(Rf·Cf + 1/ωT) with ω0² = ωT/(Rf·(Cin + Cf)) for Q = 0.707; Graeme’s 45° value is (1 + √(1 + 8π·Rf·Cin·GBW))/(4π·Rf·GBW) (TI SBOA055, Graeme, Photodiode Amplifiers).
-
Input/output range. The common-mode range and output headroom from the datasheet, with the headroom growing linearly with load current between the light-load figure and a loaded one. Parts that reverse phase (TL072, LM741) send the output to the wrong rail when the input leaves the range.
-
Selector. Hard limits remove parts (supply, GBW, slew, maximum offset, bias, noise, rail-to-rail, output current, price, minimum stable gain, phase reversal); what is left is ranked by noise from your source resistance, offset, speed, price, or supply current.
Further reading: TI’s Op Amps for Everyone (SLOD006), Analog Devices' tutorials MT-033 (gain and bandwidth), MT-037 (offset), MT-038 (bias current) and MT-048 (noise), and Tim Green’s Operational Amplifier Stability series.
Feedback is a gift. Something to improve, a feature to add, or a bug? Tell me.
Runs entirely in your browser; nothing you type leaves this page.