* Z:\tmp\asc_dec_bjh7r6w2\11e86379a628_Draft2_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
V5 N005 N001 8
Q1 N011 N014 0 0 NPN
V2 N006 0 2.5
D1 N004 0 BZX84B20VLY
R9 N006 N011 100
C1 N010 0 2.2n
R14 FB_IN N018 102k
R3 Vcc N017 4k
R2 N008 N010 2k7
R5 N017 N016 1k5
XU4 N012 N007 Vcc 0 Vcontrol AD712 ;pnba In+)In-)V+)V-)OUT
R16 N001 N002 100k
R1 Vcc N008 270
.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
* Library below included based on ModelFile attribute of instance XU4 (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 -640 -816 -640 -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 -640 -576 -640 -736
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 160 -560 160 -576
WIRE 224 -320 112 -320
WIRE -1232 -240 -1232 -304
WIRE 112 -240 112 -320
WIRE 1200 -160 1152 -160
WIRE 1328 -160 1280 -160
WIRE 224 -144 224 -320
WIRE -1232 -128 -1232 -160
WIRE -640 -128 -1232 -128
WIRE 112 -128 112 -160
WIRE -960 -48 -1056 -48
WIRE -1056 -32 -1056 -48
WIRE 1216 -16 1216 -48
WIRE 1040 0 896 0
WIRE 1152 0 1152 -160
WIRE 1152 0 1120 0
WIRE 1184 0 1152 0
WIRE -960 16 -1072 16
WIRE 224 16 224 -64
WIRE 336 16 224 16
WIRE 1328 16 1328 -160
WIRE 1328 16 1248 16
WIRE 1376 16 1328 16
WIRE -1232 32 -1232 -128
WIRE 1184 32 1152 32
WIRE 224 48 224 16
WIRE 1216 80 1216 48
WIRE -16 96 -160 96
WIRE 160 96 64 96
WIRE 1152 112 1152 32
WIRE 1152 112 1088 112
WIRE -656 144 -736 144
WIRE 1152 144 1152 112
WIRE -352 176 -352 144
WIRE 224 192 224 144
WIRE -656 208 -656 144
WIRE -1232 256 -1232 112
WIRE -1072 256 -1072 16
WIRE -1072 256 -1232 256
WIRE -688 256 -688 80
WIRE -688 256 -1072 256
WIRE -1232 288 -1232 256
WIRE -656 304 -656 272
WIRE -512 336 -512 304
WIRE -784 368 -1008 368
WIRE -1232 400 -1232 352
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 -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
SYMBOL voltage -640 -720 R180
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V5
SYMATTR Value 8
SYMBOL npn 160 48 R0
SYMATTR InstName Q1
SYMBOL voltage 112 -256 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 2.5
SYMBOL zener 16 -656 R0
SYMATTR InstName D1
SYMATTR Value BZX84B20VLY
SYMBOL res 208 -160 R0
SYMATTR InstName R9
SYMATTR Value 100
SYMBOL cap -1248 288 R0
SYMATTR InstName C1
SYMATTR Value 2.2n
SYMBOL res -1456 656 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R14
SYMATTR Value 102k
SYMBOL res -528 320 R0
SYMATTR InstName R3
SYMATTR Value 4k
SYMBOL res -1248 16 R0
SYMATTR InstName R2
SYMATTR Value 2k7
SYMBOL res -608 432 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 1k5
SYMBOL OpAmps\\AD713 1216 -48 R0
SYMATTR InstName U4
SYMBOL res -304 -864 R0
SYMATTR InstName R16
SYMATTR Value 100k
SYMBOL res -1248 -256 R0
SYMATTR InstName R1
SYMATTR Value 270
FLAG -1232 400 0
FLAG -1056 -32 0
FLAG -656 304 0
FLAG -1232 -304 Vcc
FLAG -352 176 0
FLAG -512 592 0
FLAG -512 304 Vcc
FLAG 112 -128 0
FLAG 224 192 0
FLAG -1056 464 FB_IN
FLAG 1376 16 Vcontrol
FLAG 1216 80 0
FLAG 1216 -48 Vcc
FLAG -1424 576 FB_IN
FLAG 160 -560 0