Op-Amp
Physical Networks
Run the live example
Free · no sign-up · runs in your browser
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.
Mathematical Model
Inputs & Outputs
| Direction | ID | Label | Type | 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 |
Parameters
| Parameters | Label | Type | Default | Description |
|---|---|---|---|---|
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 |
Usage Examples
Example 1: Inverting Amplifier
Set and feedback for .
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.
Remarks & Best Practices
- 3-Terminal vs 5-Terminal: Leave
V+andV-unconnected for 3-terminal operation; wire physical sources toV+andV-insaturatingmode to simulate supply ripple or noise. - Linear Mode: Use
linearmode when building fast linear filter or analog PI-controller loops.
Related Components
- Resistor/docs.md" class="bw-link">Resistor
- Capacitor/docs.md" class="bw-link">Capacitor
- VoltageSource/docs.md" class="bw-link">VoltageSource