Kyros Engineering Engineering Tools
Home › Tools › Op-Amp Circuit Designer
// Analog tools Proto v0.1Gain stagesNoise budgetTIA

Op-Amp Circuit Designer

Choose a stage and a target gain. The tool picks real E-series resistors, then checks bandwidth, slew rate, output swing, offset and noise against the op-amp you pick. Transimpedance stages also get a feedback capacitor and a phase-margin check.

Runs entirely in your browser. Nothing is uploaded.

1 · Stage

V/V
Ω
V/V
Ω
V
Ω
F
F
F
A
A
± %

2 · Op-amp

Hz
dB
V/µs
V
A
A
V/√Hz
A/√Hz
Hz

3 · Supply and output

V
V
V
V
V
Hz

Result

Gain
—
Resistors
—
Gain window (tolerance)
—
Bandwidth, −3 dB
—
Full-power bandwidth
—
Input impedance
—
Feedback capacitor Cf
—
Bandwidth, −3 dB
—
Phase margin
—
Peaking
—
Full-power bandwidth
—
Noise-equivalent current
—
—

Swing and offset

Output range
—
Signal at output (peak)
—
Largest input before clipping
—
Output offset, worst case
—
Offset, referred to input
—
Finite-gain error (DC)
—

Noise budget

Output noise, rms
—
Referred to input
—
Peak-to-peak (6.6 σ)
—
SNR at full signal
—
SourceRMS at outputShare of power

Gain and bandwidth

Open-loop gain, noise gain (1/β) and the closed-loop response. The closed loop follows the noise gain until the open-loop curve crosses it.

Largest output swing vs frequency

Slew rate limits the peak amplitude to SR ÷ (2πf). The curve flattens at the rail limit. Your signal must sit under the curve.

// How it works

The equations behind each number

The op-amp is modelled as a single pole: A(f) = A0 / (1 + j f/fp) with fp = GBW / A0, plus a slew-rate limit and rail headroom. Every stage has a noise gain NG, which sets bandwidth, offset gain and noise gain.

inverting G = −Rf / R1 NG = 1 + Rf / R1 non-inverting G = 1 + Rf / R1 NG = G difference G = R2 / R1 (R3 = R1, R4 = R2) NG = 1 + R2 / R1 instrumentation G = (1 + 2·R1/Rg) · Gd first stage NG = 1 + 2·R1/Rg closed loop H(f) = G / (1 + NG / A(f)) f−3dB ≈ GBW / NG full power f_FP = SR / (2π · Vpk) rise time ≈ 0.35 / f−3dB

Resistor picking

The tool searches E-series values for R1 within a factor of 2.5 of your starting point and for the Rf nearest each, and keeps the pair whose gain is closest to the target. The gain window moves every resistor to its tolerance limit at once. For a difference amplifier the tool also evaluates all 16 tolerance corners to get the worst-case common-mode rejection, which is usually the real limit on the stage:

CMRR(worst) ≈ (1 + G) / (4 · tol) 1 % resistors, G = 1 → 34 dB

Offset error budget

Vout,err = Vos · NG + Ib(−)·Rf − Ib(+)·Rp·NG (worst case over the sign of Ios)

With a bias-compensation resistor Rp = R1 ‖ Rf on an inverting stage, the bias term shrinks to about Ios · Rf. For bipolar op-amps that is the difference between nanovolts and millivolts at the output.

Noise

Every source is referred to the output, shaped by the closed-loop response and integrated from 0.1 Hz to the band limit. Voltage noise carries a 1/f term: en² · (1 + fc/f). Resistors contribute √(4kTR), scaled by the gain they see. Current noise flows through the resistance at each input. The table lists each source's rms and share of the total power, so you can see which one to attack. Sources add in power, so a source with a third of the largest one's rms barely matters.

Transimpedance stage

A photodiode current flows into the inverting input, so the detector capacitance Ct adds a zero to the noise gain. Without a feedback capacitor the loop gain crosses the zero at a shallow angle and the stage rings. The calculated Cf gives a maximally flat (Butterworth) response:

Cf = (1 + √(1 + 4π·GBW·Rf·Ct)) / (2π·GBW·Rf) Ct = Cdetector + Cin(amp) f−3dB ≈ √(GBW / (2π·Rf·Ct)) feedback pole fF = 1 / (2π·Rf·Cf) ≈ f−3dB / √2

This reproduces the 3.5 MHz feedback pole and roughly 0.2 pF in the OPA657 datasheet's 200 kΩ, 49 pF example. The tool then computes the phase margin of the real loop, including the finite open-loop DC gain, and reports peaking. Noise is dominated by en × (1 + Ct/Cf) at high frequency: a large detector capacitance costs noise, not just bandwidth.

Limits

References

  1. Texas Instruments, OPA657 datasheet SBOS197F, section 9.2 (wideband transimpedance design example: Rf 200 kΩ, CD 49 pF, GBP 1.6 GHz, feedback pole 3.5 MHz), and the electrical characteristics table.
  2. Texas Instruments, LM358B SLOS068A; TLV9061 SBOS839N; TL072H (in SLOS080W); OPA1612 SBOS450C. Typical values and output headroom as noted in each preset.
  3. Texas Instruments, SBOA055, Compensate Transimpedance Amplifiers Intuitively: noise gain, feedback zero and the role of Cf.
  4. Analog Devices, MT-037: Op Amp Input Offset Voltage; MT-038: Op Amp Input Bias and Input Offset Current; MT-047: Op Amp Noise Relationships; MT-049: Op Amp Total Output Noise Calculations for Single-Stage Amplifiers.
  5. Analog Devices, MT-061: Instrumentation Amplifier Basics and MT-042: Op Amp Common-Mode Rejection: in-amp gain, and the difference-amplifier CMRR relation (1 + G) / (4t).
  6. Texas Instruments, SLOA011 (Understanding Operational Amplifier Specifications): slew rate and full-power bandwidth, FPBW = SR / (2π·Vp).

Analog front end not as quiet as the math says?

Kyros designs sensor front ends, transimpedance and instrumentation stages, and the layout and shielding that decide whether the noise budget holds on a real board.

Talk about your project →