OA

Op-Amp

Physical Networks
Ejecutar el ejemplo en vivo Gratis · sin registro · funciona en tu navegador

Acausal operational amplifier for analog controllers, active filters, comparators, and signal conditioning in MNA circuits. Works as a clean 3-terminal block (in_p, in_n, out) or a 5-terminal block with physically wired V+ and V- supply rails.

Modelo Matemático

Vout=Aol(V+−V−)−RoutIout(linear)Vtarget=Vmid+Vhalftanh⁡ ⁣(Aol(V+−V−)−VmidVhalf)(saturating)V_{\text{out}} = A_{ol}(V_+ - V_-) - R_{\text{out}} I_{\text{out}} \quad (\text{linear}) \qquad V_{\text{target}} = V_{\text{mid}} + V_{\text{half}} \tanh\!\left(\frac{A_{ol}(V_+ - V_-) - V_{\text{mid}}}{V_{\text{half}}}\right) \quad (\text{saturating})

Entradas y Salidas

Direction ID Label Tipo Status
→ In in_p + number Required
→ In in_n - number Required
→ In out Out number Required
→ In v_pos V+ number Optional
→ In v_neg V- number Optional

Parámetros

Parámetros Label Tipo Por defecto Descripción
model Op-Amp Model select linear Linear solves in 1 step; Saturating clips smoothly at V+/V- rails (parameter or wired supply)
openLoopGain Open-Loop Gain (Aol) number 100000 Differential open-loop voltage gain V_out / (V+ - V-)
vPos Positive Rail (V+) number 15 Upper saturation limit when V+ port is not wired
vNeg Negative Rail (V-) number -15 Lower saturation limit when V- port is not wired
outputResistance Output Resistance (Rout) number 50 Series output impedance
inputResistance Input Resistance (Rin) number 10000000 Differential input resistance between + and - terminals

Ejemplos de Uso

Example 1: Inverting Amplifier

Set Rin=1 kΩR_{\text{in}} = 1\text{ k}\Omega and feedback Rf=4.7 kΩR_f = 4.7\text{ k}\Omega for G=−4.7G = -4.7.

Example 2: Non-Inverting Amplifier and Integrator

Open the collapsible _More examples_ drawer in the manual Demo tab for the non-inverting amplifier, analog integrator, differential amplifier, and comparator circuits.

Observaciones y Buenas Prácticas

  • 3-Terminal vs 5-Terminal: Leave V+ and V- unconnected for 3-terminal operation; wire physical sources to V+ and V- in saturating mode to simulate supply ripple or noise.
  • Linear Mode: Use linear mode when building fast linear filter or analog PI-controller loops.

Bloques Relacionados