* Z:\tmp\asc_dec_bjh7r6w2\11e86379a628_Draft2_dec1.asc
* Generated by LTspice 26.0.1 for Windows.
R4 N015 0 4k
M1 N005 N002 N006 N006 IRLH5036
V4 N016 0 24
C2 N013 0 100n
R15 0 FB_IN 10k
D2 N003 N004 D
XU3 N010 N008 Vcc 0 N008 AD712 ;pnba In+)In-)V+)V-)OUT
R18 N003 N002 1k
R11 Vcontrol N007 10k
XU5 FB_IN N014 Vcc 0 N014 AD712 ;pnba In+)In-)V+)V-)OUT
R17 N001 N006 1
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.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 XU3, XU5 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\AD713.asy)
.lib ADI1.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1492 884
WIRE -288 -912 -640 -912
WIRE 160 -912 -288 -912
WIRE -288 -848 -288 -912
WIRE 160 -816 160 -912
WIRE -288 -720 -288 -768
WIRE -256 -720 -288 -720
WIRE -80 -720 -176 -720
WIRE 32 -720 -16 -720
WIRE 32 -656 32 -720
WIRE -288 -624 -288 -720
WIRE -368 -576 -640 -576
WIRE 32 -576 32 -592
WIRE 32 -576 -272 -576
WIRE 160 -576 160 -736
WIRE 160 -576 32 -576
WIRE 1200 -160 1152 -160
WIRE 1328 -160 1280 -160
WIRE 896 -80 672 -80
WIRE 768 -32 768 -96
WIRE 672 -16 672 -80
WIRE 736 -16 672 -16
WIRE 1216 -16 1216 -48
WIRE 896 0 896 -80
WIRE 896 0 800 0
WIRE 1040 0 896 0
WIRE 1152 0 1152 -160
WIRE 1152 0 1120 0
WIRE 1184 0 1152 0
WIRE -640 16 -640 -128
WIRE -640 16 -736 16
WIRE 736 16 544 16
WIRE 1328 16 1328 -160
WIRE 1328 16 1248 16
WIRE 1376 16 1328 16
WIRE 768 64 768 32
WIRE -688 80 -736 80
WIRE -384 80 -688 80
WIRE 1008 112 944 112
WIRE -656 144 -736 144
WIRE 944 144 944 112
WIRE -656 208 -656 144
WIRE -1072 256 -1072 16
WIRE -1072 256 -1232 256
WIRE -688 256 -688 80
WIRE -688 256 -1072 256
WIRE -656 304 -656 272
WIRE -512 336 -512 304
WIRE -784 368 -1008 368
WIRE -912 416 -912 352
WIRE -1008 432 -1008 368
WIRE -944 432 -1008 432
WIRE -784 448 -784 368
WIRE -784 448 -880 448
WIRE -704 448 -784 448
WIRE -512 448 -512 416
WIRE -512 448 -624 448
WIRE -432 448 -432 112
WIRE -432 448 -512 448
WIRE -944 464 -1056 464
WIRE -512 480 -512 448
WIRE -912 512 -912 480
WIRE -512 592 -512 560
WIRE -1552 672 -1664 672
WIRE -1424 672 -1424 576
WIRE -1424 672 -1472 672
WIRE -1360 672 -1424 672
WIRE -1216 672 -1280 672
WIRE -1664 736 -1664 672
WIRE -1216 752 -1216 672
WIRE -1664 864 -1664 816
SYMBOL res -528 464 R0
SYMATTR InstName R4
SYMATTR Value 4k
SYMBOL nmos -368 -624 M90
SYMATTR InstName M1
SYMATTR Value IRLH5036
SYMBOL voltage -1664 720 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value 24
SYMBOL cap -672 208 R0
SYMATTR InstName C2
SYMATTR Value 100n
SYMBOL res -1264 656 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R15
SYMATTR Value 10k
SYMBOL diode -80 -704 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D2
SYMBOL OpAmps\\AD713 768 -64 R0
SYMATTR InstName U3
SYMBOL res -160 -736 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R18
SYMATTR Value 1k
SYMBOL res 1296 -176 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R11
SYMATTR Value 10k
SYMBOL OpAmps\\AD713 -912 384 R0
SYMATTR InstName U5
SYMBOL res 144 -832 R0
SYMATTR InstName R17
SYMATTR Value 1
FLAG -656 304 0
FLAG -512 592 0
FLAG -512 304 Vcc
FLAG 768 64 0
FLAG 768 -96 Vcc
FLAG -1056 464 FB_IN
FLAG 1376 16 Vcontrol
FLAG 1216 -48 Vcc
FLAG -1216 752 0
FLAG -1664 864 0
FLAG -1424 576 FB_IN
FLAG -912 512 0
FLAG -912 352 Vcc