* Z:\home\khalils\Downloads\files\data\raw_asc\c6f21cc564d5_L1_C3_caso2.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
* | | | | |
*

DC 5 53 DX
GCM 0 6 10 99 7.067E-9
RC2 4 12 7.957E3
HLIM 90 0 VLIM 1K
DLN 92 90 DX
Q1 11 2 13 QX
Q2 12 1 14 QX
D1 N002 Vo1 1N4148
EGND 99 0 POLY(2) (3,0) (4,0) 0 .5 .5
R2 6 9 100.0E3
VLP 91 0 DC 40
GA 6 0 11 12 125.7E-6
VE 54 4 DC .6
V4 0 Vss 10
VC 3 53 DC 2.100
VLN 0 92 DC 40
R1 N002 N001 10k
IEE 3 10 DC 10.04E-6
C2 6 7 20.00E-12
RO1 8 5 50
C1 11 12 5.544E-12
DP 4 3 DX
RE1 13 10 2.773E3
V1 Vin 0 SINE(0 {Vin} 1k)
R4 Vo2 N003 10k
DE 54 5 DX
D2 Vo1 N001 1N4148
REE 10 99 19.92E6
XU1 Vin N001 Vcc Vss Vo1 LM324 ;pnba In+)In-)V+)V-)OUT
V3 Vcc 0 10
RP 3 4 30.31E3
RC1 4 11 7.957E3
R2 N003 N002 5k
VB 9 0 DC 0
FB 7 99 POLY(5) VB VC VE VLP VLN 0 15.91E6 -20E6 20E6 20E6 -20E6
VLIM 7 8 DC 0
R3 N001 0 10k
XU2 Vin N003 Vcc Vss Vo2 LM324 ;pnba In+)In-)V+)V-)OUT
RO2 7 99 50
DLP 90 91 DX
RE2 14 10 2.773E3
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 0 5m 0 2m
.step param Vin list 10m 1 5 10
.SUBCKT LM324 1 2 3 4 5
.MODEL DX D(IS=800.0E-18)
.MODEL QX PNP(IS=800.0E-18 BF=250)
.ENDS
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2516 10852
WIRE -144 -80 -144 -96
WIRE 544 -80 544 -112
WIRE 624 -80 624 -128
WIRE 96 -64 64 -64
WIRE 240 -64 176 -64
WIRE 304 -64 240 -64
WIRE 416 -64 384 -64
WIRE 240 -32 240 -64
WIRE -144 16 -144 0
WIRE 544 16 544 0
WIRE 624 16 624 0
WIRE -32 64 -80 64
WIRE 64 64 64 -64
WIRE 64 64 48 64
WIRE 144 64 64 64
WIRE 240 64 240 32
WIRE 240 64 208 64
WIRE 416 80 416 -64
WIRE 448 80 416 80
WIRE 560 80 528 80
WIRE -80 112 -80 64
WIRE 144 160 144 144
WIRE 64 176 64 64
WIRE 112 176 64 176
WIRE 480 176 480 160
WIRE 240 192 240 64
WIRE 240 192 176 192
WIRE 256 192 240 192
WIRE 416 192 416 80
WIRE 448 192 416 192
WIRE 64 208 32 208
WIRE 112 208 64 208
WIRE 560 208 560 80
WIRE 560 208 512 208
WIRE 576 208 560 208
WIRE 448 224 416 224
WIRE 144 256 144 224
WIRE 480 272 480 240
WIRE 64 304 64 208
WIRE 416 304 416 224
WIRE 416 304 64 304
IOPIN 32 208 In
IOPIN 576 208 Out
IOPIN 256 192 Out
SYMBOL res 400 -80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 5k
SYMBOL diode 224 -32 R0
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL res 192 -80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL voltage -144 -96 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 -50 -37 VRight 2
SYMATTR Value SINE(0 {Vin} 1k)
SYMATTR InstName V1
SYMBOL OpAmps\\opamp2 144 128 R0
SYMATTR InstName U1
SYMATTR Value LM324
SYMBOL OpAmps\\opamp2 480 144 R0
SYMATTR InstName U2
SYMATTR Value LM324
SYMBOL voltage 544 -96 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 10
SYMBOL diode 208 48 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D2
SYMATTR Value 1N4148
SYMBOL res 544 64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL voltage 624 -96 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value 10
SYMBOL res 64 48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 10k
FLAG -144 16 0
FLAG 544 16 0
FLAG 32 208 Vin
FLAG -144 -96 Vin
FLAG 624 -128 0
FLAG 544 -112 Vcc
FLAG 144 144 Vcc
FLAG 480 160 Vcc
FLAG 624 16 Vss
FLAG 480 272 Vss
FLAG 144 256 Vss
FLAG 576 208 Vo2
FLAG -80 112 0
FLAG 256 192 Vo1
TEXT -184 312 Left 2 !.tran 0 5m 0 2m
TEXT 8 -176 Left 2 !.step param Vin list 10m 1 5 10
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\n