* Z:\tmp\asc_dec_bjh7r6w2\1367de861198_Waveform_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
XU3 0 N005 +15 -15 N017 LT1001 ;pnba In+)In-)V+)V-)OUT
J1 N002 N016 0 2N3819
D3 N012 0 1N4148
D4 N016 SQR 1N4148
R6 N001 TRI 10k
R12 +15 N005 1Meg
V1 N013 0 PULSE(-3 -3 0 1)
C1 TRI N002 1n
XU4 0 N008 +15 -15 N009 LT1001 ;pnba In+)In-)V+)V-)OUT
Q2 N005 N009 N015 0 2N3904
R15 N010 0 20k
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.model NJF NJF
.model PJF PJF
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.jft
* Library below included based on ModelFile attribute of instance XU3, XU4 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT1001.asy)
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1588 728
WIRE 400 -112 368 -112
WIRE 496 -112 464 -112
WIRE -304 -32 -304 -64
WIRE 160 -32 128 -32
WIRE 256 -32 224 -32
WIRE 368 -32 368 -112
WIRE 400 -32 368 -32
WIRE 496 -32 496 -112
WIRE 496 -32 480 -32
WIRE 672 0 672 -64
WIRE 256 16 256 -32
WIRE 496 16 496 -32
WIRE 64 32 48 32
WIRE 128 32 128 -32
WIRE 128 32 64 32
WIRE 256 64 256 16
WIRE 272 64 256 64
WIRE 368 64 368 -32
WIRE 368 64 352 64
WIRE 496 64 496 16
WIRE 528 64 496 64
WIRE 800 64 800 48
WIRE -304 80 -304 48
WIRE -304 80 -352 80
WIRE -256 80 -304 80
WIRE -64 80 -64 32
WIRE -64 80 -192 80
WIRE 1104 80 1104 48
WIRE 1104 80 1040 80
WIRE -480 96 -512 96
WIRE -384 96 -400 96
WIRE 128 96 128 32
WIRE 160 96 128 96
WIRE 368 96 368 64
WIRE 400 96 368 96
WIRE 976 96 944 96
WIRE -256 112 -256 80
WIRE -192 112 -192 80
WIRE 256 112 256 64
WIRE 256 112 224 112
WIRE 496 112 496 64
WIRE 496 112 464 112
WIRE -64 128 -64 80
WIRE -32 128 -64 128
WIRE 128 128 48 128
WIRE 160 128 128 128
WIRE 400 128 368 128
WIRE 672 128 672 64
WIRE 752 128 672 128
WIRE 1104 128 1104 80
WIRE 128 144 128 128
WIRE -624 160 -672 160
WIRE -512 160 -512 96
WIRE -512 160 -544 160
WIRE -384 160 -384 96
WIRE -320 160 -384 160
WIRE -96 160 -128 160
WIRE 880 160 800 160
WIRE 368 176 368 128
WIRE 672 176 672 128
WIRE 800 176 800 160
WIRE -512 208 -512 160
WIRE -480 208 -512 208
WIRE -384 224 -384 160
WIRE -384 224 -416 224
WIRE -480 240 -512 240
WIRE -256 240 -256 208
WIRE -224 240 -256 240
WIRE -192 240 -192 208
WIRE -192 240 -224 240
WIRE 64 240 64 32
WIRE 128 240 128 224
WIRE 944 240 944 96
WIRE 1024 240 944 240
WIRE 1104 240 1104 208
WIRE 1104 240 1024 240
WIRE -224 256 -224 240
WIRE -512 288 -512 240
WIRE 1024 288 1024 240
WIRE 208 304 112 304
WIRE 528 304 528 64
WIRE 528 304 272 304
WIRE 672 304 672 240
WIRE 800 304 800 256
WIRE -352 352 -352 80
WIRE -320 352 -352 352
WIRE -224 352 -224 336
WIRE -224 352 -256 352
WIRE 64 352 64 336
WIRE 1024 400 1024 368
WIRE -352 464 -352 352
WIRE -320 464 -352 464
WIRE -224 480 -224 352
WIRE -224 480 -256 480
WIRE -320 496 -352 496
WIRE -352 528 -352 496
SYMBOL Opamps\\LT1001 -288 416 R0
SYMATTR InstName U3
SYMBOL njf 112 240 M0
SYMATTR InstName J1
SYMATTR Value 2N3819
SYMBOL diode 688 176 M0
SYMATTR InstName D3
SYMATTR Value 1N4148
SYMBOL diode 208 320 R270
WINDOW 0 32 32 VTop 0
WINDOW 3 0 32 VBottom 0
SYMATTR InstName D4
SYMATTR Value 1N4148
SYMBOL res 368 48 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R6
SYMATTR Value 10k
SYMBOL res -320 -48 R0
SYMATTR InstName R12
SYMATTR Value 1Meg
SYMBOL Misc\\signal -656 160 R90
WINDOW 0 -32 56 VBottom 0
WINDOW 3 32 56 VTop 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value PULSE(-3 -3 0 1)
SYMBOL cap 224 -48 R90
WINDOW 0 0 32 VBottom 0
WINDOW 3 32 32 VTop 0
SYMATTR InstName C1
SYMATTR Value 1n
SYMBOL Opamps\\LT1001 -448 160 R0
SYMATTR InstName U4
SYMBOL npn -320 112 R0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL res 1008 272 R0
SYMATTR InstName R15
SYMATTR Value 20k
FLAG 192 144 -15
FLAG 192 80 +15
FLAG 432 80 -15
FLAG 432 144 +15
FLAG 368 176 0
FLAG 128 240 0
FLAG 64 352 0
FLAG -288 448 +15
FLAG -288 512 -15
FLAG -304 -64 +15
FLAG -448 256 -15
FLAG -448 192 +15
FLAG -512 288 0
FLAG -752 160 0
FLAG 256 16 TRI
FLAG 368 480 0
FLAG 368 400 +15
FLAG 672 304 0
FLAG 800 304 0
FLAG 880 160 SIN
FLAG 496 16 SQR
FLAG 1008 112 -15
FLAG -352 528 0
FLAG 1024 400 0