* Z:\tmp\asc_dec_bjh7r6w2\0509baf8f5b5_Draft16_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
C8 N009 N008 1n
R14 ERR N020 25k
D11 N006 N005 D
R12 VSENSE FCOM 100R
R6 N001 N002 800R
M1 N001 N005 N006 N006 IRFP240
XU4 N018 N020 FVCC FVEE ERR LT1357 ;pnba In+)In-)V+)V-)OUT
R3 NC_01 FCOM 1k
R8 N003 N016 500k
D12 N004 N005 D
R15 N012 N018 25k
R22 N019 N021 25k
C3 N010 N011 100n
XU2 N014 N013 FVCC FVEE N013 LT1357 ;pnba In+)In-)V+)V-)OUT
C7 FVCC FCOM 100n
VIN1 N012 FCOM PULSE(2 -5 0 100n 100n 0.2ms 0.4ms 7)
V1 N001 LO 200
Q3 N003 N002 N001 0 2N3906
.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 NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
* Library below included based on ModelFile attribute of instance XU4, XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT1358.asy)
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 3524 1344
WIRE 624 -544 448 -544
WIRE 1232 -544 624 -544
WIRE 1328 -544 1232 -544
WIRE 448 -512 448 -544
WIRE 624 -464 512 -464
WIRE 560 -416 448 -416
WIRE 1232 -416 1232 -544
WIRE 624 -336 624 -368
WIRE 1008 -336 624 -336
WIRE 1184 -336 1072 -336
WIRE 1232 -272 1232 -320
WIRE 1232 -272 1184 -272
WIRE 1232 -208 1232 -272
WIRE 1328 -208 1296 -208
WIRE 1232 -160 1232 -208
WIRE 624 -80 624 -336
WIRE 1184 -80 624 -80
WIRE 1680 -80 1536 -80
WIRE 1744 -80 1680 -80
WIRE 448 -16 448 -416
WIRE 1232 -16 1232 -64
WIRE 1232 -16 1184 -16
WIRE 1232 16 1232 -16
WIRE 1328 16 1232 16
WIRE 1232 48 1232 16
WIRE 928 80 880 80
WIRE 1040 80 992 80
WIRE 1168 96 1088 96
WIRE 624 176 624 -80
WIRE 672 176 624 176
WIRE 880 208 880 80
WIRE 896 208 880 208
WIRE 1040 224 1040 80
WIRE 1040 224 960 224
WIRE 1072 224 1040 224
WIRE 1088 224 1088 96
WIRE 1088 224 1072 224
WIRE 1104 224 1088 224
WIRE 1232 224 1184 224
WIRE 1408 224 1232 224
WIRE 1424 224 1408 224
WIRE 1504 224 1424 224
WIRE 1568 224 1504 224
WIRE 1712 224 1648 224
WIRE 1728 224 1712 224
WIRE 624 240 336 240
WIRE 672 240 624 240
WIRE 688 240 672 240
WIRE 896 240 688 240
WIRE 688 304 624 304
WIRE 1072 352 1072 224
WIRE 624 512 624 304
WIRE 2912 656 2800 656
WIRE 2160 704 2064 704
WIRE 2064 752 2064 704
WIRE 2080 752 2064 752
WIRE 2160 768 2160 704
WIRE 2160 768 2144 768
WIRE 2272 768 2160 768
WIRE 2080 784 1904 784
WIRE 2448 784 2448 768
WIRE 2640 784 2448 784
WIRE 2800 784 2800 656
WIRE 448 864 448 64
WIRE 2352 864 2352 768
WIRE 2368 864 2352 864
WIRE 2448 880 2448 784
WIRE 2448 880 2432 880
WIRE 2720 880 2720 784
WIRE 2736 880 2720 880
WIRE 2368 896 2352 896
WIRE 2816 896 2800 896
WIRE 2928 896 2816 896
WIRE 2960 896 2960 880
WIRE 2960 896 2928 896
WIRE 2736 912 2720 912
WIRE 2272 992 1952 992
WIRE 2352 992 2352 896
WIRE 2720 1008 2720 912
WIRE 2736 1008 2720 1008
WIRE 2816 1008 2816 896
WIRE 2816 1008 2800 1008
SYMBOL cap 992 64 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 -59 31 VTop 2
SYMATTR InstName C8
SYMATTR Value 1n
SYMBOL res 2816 1024 M270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R14
SYMATTR Value 25k
SYMBOL diode 1200 -272 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D11
SYMBOL res 1664 208 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R12
SYMATTR Value 100R
SYMBOL res 608 -560 R0
SYMATTR InstName R6
SYMATTR Value 800R
SYMBOL nmos 1184 -416 R0
SYMATTR InstName M1
SYMATTR Value IRFP240
SYMBOL OpAmps\\LT1358 2768 960 M180
SYMATTR InstName U4
SYMBOL res 1216 128 R0
SYMATTR InstName R3
SYMATTR Value 1k
SYMBOL res 432 -32 R0
SYMATTR InstName R8
SYMATTR Value 500k
SYMBOL diode 1008 -320 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D12
SYMBOL res 2816 800 M270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R15
SYMATTR Value 25k
SYMBOL res 2368 976 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R22
SYMATTR Value 25k
SYMBOL cap 672 240 R0
SYMATTR InstName C3
SYMATTR Value 100n
SYMBOL OpAmps\\LT1358 2112 704 R0
SYMATTR InstName U2
SYMBOL cap 1520 -144 R0
SYMATTR InstName C7
SYMATTR Value 100n
SYMBOL voltage 2912 640 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 -129 -58 Left 2
SYMATTR Value PULSE(2 -5 0 100n 100n 0.2ms 0.4ms 7)
SYMATTR InstName VIN1
SYMBOL voltage 1328 -560 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 42 41 Left 2
SYMATTR Value 200
SYMATTR InstName V1
SYMBOL pnp 512 -416 R180
SYMATTR InstName Q3
SYMATTR Value 2N3906
FLAG 1328 16 FVCC
FLAG 1536 -144 FVCC
FLAG 1536 -16 FVEE
FLAG 1408 160 FVCC
FLAG 928 192 FVCC
FLAG 928 256 FVEE
FLAG 1504 224 FCOM
FLAG 2112 736 FVCC
FLAG 2112 800 FVEE
FLAG 1680 -80 FCOM
FLAG 2400 848 FVCC
FLAG 2400 912 FVEE
FLAG 2432 992 FCOM
FLAG 2928 896 ERR
FLAG 800 80 ERR
FLAG 2912 736 FCOM
FLAG 1712 224 VSENSE
FLAG 1328 -128 LO
FLAG 1328 -464 LO
FLAG 1728 304 LO
FLAG 832 352 LO
FLAG 2768 928 FVCC
FLAG 2768 864 FVEE
FLAG 2640 1008 FCOM