9/12/09

PSpice / GNUCAP :: Op.Amp Inverting Amplifier

spice Op.Amp Inverting Amplifier

Op.Amp Inverting Amplifier Op.Amp Non-Inverting Amplifier

*OPAMP INVERTING AMP
V1 1 0 0        sin( 0 1.2 500 )
R1 1 2  100
R2 2 4  100
X1 0 2 4        OPAMP
.SUBCKT OPAMP   1 2 6
R_in    1 2     10MEG
E_gain  3 0 1 2 100k
R_p1    3 4     1k
C_p1    4 0     1.59p
E_buffer        5 0 4 0 1       
R_out   5 6     10
.ENDS
.TRAN   .2m 5m 0
.PLOT TRAN v(4) v(1)
.END
.

The voltage gain for the inverting configuration is set by the ratio of the feedback resistors R1 and R2.

Vo/Vi=-R2/R1

SIMULATION :

  • Plot the input V(1) and output V(4) of the Transient Analysis.
  • The innards of the opamp device is defined by a subcircuit.

    See Also :

  • Op.Amp Non-Inverting Amplifier

    spice OpAmp-InvertingAmp ( DXF Format )

    spice OpAmp-InvertingAmp ( TXT )

    spice OpAmp-InvertingAmp ( Online )