* Z:\home\khalils\Downloads\files\data\raw_asc\155f97ea00f2_L1_C4.asc
* Generated by LTspice 26.0.1 for Windows.
* LM324 OPERATIONAL AMPLIFIER "MACROMODEL" SUBCIRCUIT
* CREATED USING PARTS RELEASE 4.01 ON 09/08/89 AT 10:54
* (REV N/A) SUPPLY VOLTAGE: 5V
* CONNECTIONS: NON-INVERTING INPUT
* | INVERTING INPUT
* | | POSITIVE POWER SUPPLY
* | | | NEGATIVE POWER SUPPLY
* | | | | OUTPUT
* | | | | |
*
* Library below included based on ModelFile attribute of instance XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\UniversalOpAmp5.asy)
VLN 0 92 DC 40
RP 3 4 30.31E3
VE 54 4 DC .6
XU1 N004 N003 Vcc Vss Vo1 LM324 ;pnba In+)In-)V+)V-)OUT
EGND 99 0 POLY(2) (3,0) (4,0) 0 .5 .5
V3 Vcc 0 10
R4 Vo1 N004 10k
VLP 91 0 DC 40
DLN 92 90 DX
C2 6 7 20.00E-12
XU2 N002 N001 Vcc Vss voIdeal level5 Avol=1Meg GBW=10Meg Phimargin=45 SlewPos=10Meg SlewNeg=10Meg En=0 Enk=0 In=0 Ink=0 Rcm=500Meg Ccm=1p Rdiff=500k Cdiff=2p Ro=1k Vos=0 Ibp=2n Ibn=1n Iq=1m Rail=0 Ilimit=25m ;pnba In+)In-)V+)V-)OUT
R2 0 N003 10k
DE 54 5 DX
C1 11 12 5.544E-12
R2 6 9 100.0E3
VC 3 53 DC 2.100
R6 0 N001 10k
DC 5 53 DX
R8 voIdeal N002 10k
RC2 4 12 7.957E3
IEE 3 10 DC 10.04E-6
REE 10 99 19.92E6
RC1 4 11 7.957E3
DP 4 3 DX
R1 N003 Vin 10k
RO1 8 5 50
HLIM 90 0 VLIM 1K
R5 N001 Vin 10k
VLIM 7 8 DC 0
Q1 11 2 13 QX
V1 Vin 0 PWL(0 0 1m 10 2m 0 3m 10)
R3 Vref N004 2k
GCM 0 6 10 99 7.067E-9
RE2 14 10 2.773E3
VB 9 0 DC 0
RE1 13 10 2.773E3
Q2 12 1 14 QX
GA 6 0 11 12 125.7E-6
DLP 90 91 DX
FB 7 99 POLY(5) VB VC VE VLP VLN 0 15.91E6 -20E6 20E6 20E6 -20E6
V2 Vref 0 2
R7 Vref N002 2k
V4 0 Vss 0
RO2 7 99 50
.SUBCKT LM324 1 2 3 4 5
.MODEL DX D(IS=800.0E-18)
.MODEL QX PNP(IS=800.0E-18 BF=250)
.ENDS
.tran 0 3m 0 0.1m
.lib UniversalOpAmp5.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 2516 10852
WIRE 0 -400 -32 -400
WIRE 0 -368 0 -400
WIRE 112 -288 112 -304
WIRE 0 -272 0 -288
WIRE 80 -272 0 -272
WIRE 0 -256 0 -272
WIRE 208 -256 144 -256
WIRE 240 -256 208 -256
WIRE 80 -240 48 -240
WIRE 112 -192 112 -224
WIRE 0 -144 0 -176
WIRE 48 -128 48 -240
WIRE 112 -128 48 -128
WIRE 208 -128 208 -256
WIRE 208 -128 192 -128
WIRE 48 -112 48 -128
WIRE -320 -80 -320 -96
WIRE -208 -80 -208 -96
WIRE 304 -80 304 -112
WIRE 400 -80 400 -112
WIRE 48 0 48 -32
WIRE 48 0 16 0
WIRE -320 16 -320 0
WIRE -208 16 -208 0
WIRE 304 16 304 0
WIRE 400 16 400 0
WIRE 32 48 0 48
WIRE 32 80 32 48
WIRE 144 160 144 144
WIRE 32 176 32 160
WIRE 112 176 32 176
WIRE 32 192 32 176
WIRE 240 192 176 192
WIRE 256 192 240 192
WIRE 112 208 80 208
WIRE 144 256 144 224
WIRE 32 304 32 272
WIRE 80 320 80 208
WIRE 144 320 80 320
WIRE 240 320 240 192
WIRE 240 320 224 320
WIRE 80 336 80 320
WIRE 80 448 80 416
WIRE 80 448 48 448
IOPIN 256 192 Out
IOPIN 48 448 In
IOPIN 0 48 In
IOPIN 16 0 In
IOPIN -32 -400 In
IOPIN 240 -256 Out
SYMBOL res 64 -16 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R7
SYMATTR Value 2k
SYMBOL res 48 176 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL res 240 304 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL OpAmps\\opamp2 144 128 R0
SYMATTR InstName U1
SYMATTR Value LM324
SYMBOL res 16 -160 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R6
SYMATTR Value 10k
SYMBOL res 16 -272 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R5
SYMATTR Value 10k
SYMBOL voltage -208 -96 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 43 63 Left 2
SYMATTR Value 2
SYMATTR InstName V2
SYMBOL voltage -320 -96 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 -69 -94 VRight 2
SYMATTR Value PWL(0 0 1m 10 2m 0 3m 10)
SYMATTR InstName V1
SYMBOL res 96 432 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R3
SYMATTR Value 2k
SYMBOL res 48 288 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL OpAmps\\UniversalOpAmp5 112 -256 R0
SYMATTR InstName U2
SYMBOL voltage 304 -96 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 10
SYMBOL voltage 400 -96 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value 0
SYMBOL res 208 -144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R8
SYMATTR Value 10k
FLAG -320 16 0
FLAG 304 16 0
FLAG -320 -96 Vin
FLAG 400 -112 0
FLAG 304 -112 Vcc
FLAG 144 144 Vcc
FLAG 400 16 Vss
FLAG 144 256 Vss
FLAG 256 192 Vo1
FLAG 32 304 0
FLAG -208 16 0
FLAG -208 -96 Vref
FLAG 48 448 Vref
FLAG 0 48 Vin
FLAG 112 -304 Vcc
FLAG 112 -192 Vss
FLAG 0 -144 0
FLAG 16 0 Vref
FLAG -32 -400 Vin
FLAG 240 -256 voIdeal
TEXT 1344 -552 Left 2 !* LM324 OPERATIONAL AMPLIFIER "MACROMODEL" SUBCIRCUIT\n* CREATED USING PARTS RELEASE 4.01 ON 09/08/89 AT 10:54\n* (REV N/A)      SUPPLY VOLTAGE: 5V\n* CONNECTIONS:   NON-INVERTING INPUT\n*                | INVERTING INPUT\n*                | | POSITIVE POWER SUPPLY\n*                | | | NEGATIVE POWER SUPPLY\n*                | | | | OUTPUT\n*                | | | | |\n.SUBCKT LM324    1 2 3 4 5\n*\n  C1   11 12 5.544E-12\n  C2    6  7 20.00E-12\n  DC    5 53 DX\n  DE   54  5 DX\n  DLP  90 91 DX\n  DLN  92 90 DX\n  DP    4  3 DX\n  EGND 99  0 POLY(2) (3,0) (4,0) 0 .5 .5\n  FB    7 99 POLY(5) VB VC VE VLP VLN 0 15.91E6 -20E6 20E6 20E6 -20E6\n  GA    6  0 11 12 125.7E-6\n  GCM   0  6 10 99 7.067E-9\n  IEE   3 10 DC 10.04E-6\n  HLIM 90  0 VLIM 1K\n  Q1   11  2 13 QX\n  Q2   12  1 14 QX\n  R2    6  9 100.0E3\n  RC1   4 11 7.957E3\n  RC2   4 12 7.957E3\n  RE1  13 10 2.773E3\n  RE2  14 10 2.773E3\n  REE  10 99 19.92E6\n  RO1   8  5 50\n  RO2   7 99 50\n  RP    3  4 30.31E3\n  VB    9  0 DC 0\n  VC 3 53 DC 2.100\n  VE   54  4 DC .6\n  VLIM  7  8 DC 0\n  VLP  91  0 DC 40\n  VLN   0 92 DC 40\n.MODEL DX D(IS=800.0E-18)\n.MODEL QX PNP(IS=800.0E-18 BF=250)\n.ENDS
TEXT -352 136 Left 2 !.tran 0 3m 0 0.1m