OA

Op-Amp

Physical Networks
运行在线示例 免费 · 无需注册 · 直接在浏览器中运行

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.

数学模型

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})

输入与输出

Direction ID Label 类型 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

参数

参数 Label 类型 默认值 描述
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

使用示例

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.

说明与最佳实践

  • 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.

相关模块