electronics:opamps:opamp-feedback
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| electronics:opamps:opamp-feedback [2026/05/15 12:21] – oscar | electronics:opamps:opamp-feedback [2026/12/02 08:38] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Feedback Capacitors ====== | ||
| - | |||
| - | ---- | ||
| - | |||
| - | ===== Purpose ===== | ||
| - | Purposes for adding capacitor in the feedback loop of opamps: | ||
| - | |||
| - | === Improve stability: === | ||
| - | Real op-amps are not ideal. An op-amp already contains internal poles and phase shift. External components (wiring capacitance, | ||
| - | |||
| - | === Create a low-pass response: === | ||
| - | The resistor and capacitor form a frequency-dependent feedback network. At low frequencies: | ||
| - | |||
| - | === Reduce noise === | ||
| - | Wide bandwidth means more noise.By limiting bandwidth, the capacitor reduces: RF pickup, broadband noise, | ||
| - | |||
| - | === Compensate for input capacitance: | ||
| - | This is extremely common in: oscilloscope probes, photodiode amplifiers, high impedance sensors, differential probes, transimpedance amplifiers, etc. Input capacitance introduces another pole that can destabilize the circuit. The feedback capacitor creates a compensating zero/pole pair. | ||
| - | |||
| - | ===== Size of the capacitor ===== | ||
| - | There is no universal value. The value depends on: | ||
| - | * feedback resistor value | ||
| - | * op-amp bandwidth and phase margin | ||
| - | * input capacitance | ||
| - | * desired bandwidth | ||
| - | * required settling time | ||
| - | * noise requirements | ||
| - | |||
| - | ===== How to calculate? ===== | ||
| - | ==== CASE 1 — Simple bandwidth limiting ==== | ||
| - | Adding Cf creates a low-pass filter in the feedback path.The cutoff frequency is approximately: | ||
| - | fc = 1 / (2π * Rf * Cf) | ||
| - | So: | ||
| - | * larger capacitor → lower bandwidth | ||
| - | * larger resistor → lower bandwidth | ||
| - | ==== CASE 2 — Compensation for input capacitance ==== | ||
| - | This is more subtle and very important in fast/ | ||
| - | * op-amp input capacitance | ||
| - | * PCB stray capacitance | ||
| - | * cable capacitance | ||
| - | * transistor gate capacitance | ||
| - | This capacitance together with Rin creates a pole: | ||
| - | fp = 1 / (2π * Rin * Cin ) | ||
| - | This pole can destroy phase margin. A feedback capacitor introduces a zero that compensates it. | ||
| - | A common approximation is: | ||
| - | Cf ≈ Cin * (Rin / Rf) | ||
| - | This is widely used as a starting point. | ||
| - | ==== CASE 3 — Transimpedance amplifiers ==== | ||
| - | For photodiodes and probes, the feedback capacitor is often mandatory. Without it: huge peaking, oscillation, | ||
| - | The optimal value depends on: | ||
| - | * op-amp GBP | ||
| - | * total input capacitance | ||
| - | * feedback resistor | ||
| - | A common approximation: | ||
| - | Cf ≈ SQRT( Cin / ( 2π * Rf * GBW ) ) | ||
| - | where: | ||
| - | GBW = op-amp gain-bandwidth product | ||
| - | Cin = total input capacitance | ||
| - | |||
| - | But in practice this is usually refined using: | ||
| - | * SPICE simulation | ||
| - | * phase margin analysis | ||
| - | * bench tuning | ||
