Basic opamp model to use with ltspice using the schematic option.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
408 B

2 years ago
  1. * OPAMP MACRO MODEL, SINGLE-POLE
  2. * connections: non-inverting input
  3. * | inverting input
  4. * | | output
  5. * | | |
  6. .SUBCKT newOpamp 1 2 3
  7. * INPUT IMPEDANCE
  8. RIN 1 2 10MEG
  9. * DC GAIN (100K) AND POLE 1 (10HZ)
  10. EGAIN 3 0 1 2 100K
  11. RP1 3 4 1K
  12. CP1 4 0 15.915UF
  13. * OUTPUT BUFFER AND RESISTANCE
  14. EBUFFER 5 0 4 0 1
  15. ROUT 5 6 10
  16. .ENDS