*OPAMP Voltage Follower V1 4 0 0 sin( 0 1.2 500 ) R1 4 3 1 R2 1 2 1 R3 2 0 1MEG X1 3 2 1 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 .1m 5m 0 .PLOT TRAN v(3) v(1) .END .
Op Amp Voltage Follower
- The voltage gain is set by the ratio of the feedback resistors R2 and R3.
Vo/Vi=1+R2/R3
SIMULATION
- Plot the input V(4) and output V(1) of the Transient Analysis.
- The innards of the opamp device is defined by a subcircuit.
SEE ALSO