*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 :
See Also :