Changes

Jump to: navigation, search
/* Example: An Analog Integrator Macromodel */
An equivalent macromodel of the above circuit is given in the following figure, which represents [[RF.Spice]]'s "Analog Integrator Block". In this model, the ideal Op Amp has been replaced with the linear controlled voltage source E2:
:<math> E_2 = (-10^9) . v_{R_5R_6} </math>
representing an open-loop gain of 1G. The nonlinear controlled source B<sub>1</sub> is defined as:
:<math> B_1 = -A . E_2 + v_{offset} </math>
where A is a gain parameter with a default unit value and v<sub>offset</sub> is an arbitrary offset voltage with a default zero value.
The relationship between the input and output voltages is given by":
:<math> v_{out}(t) \approx -A . \int v_{in}(t) dt + v_{offset} </math>
<table>
28,333
edits