* Z:\home\khalils\Downloads\files\data\raw_asc\b9cf8c1fb04a_Draft1.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU2, XU3 (C:\users\khalils\AppData\Local\LTspice\lib\sym\Comparators\LT1720.asy)
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT1001.asy)
R6 N003 0 1k
R7 N004 N003 9k
V2 N007 0 500mV
R10 N014 0 4k
R3 N010 N011 1k
R5 N011 0 1Meg
R14 N006 N013 680
R1 N010 N009 50
R4 N011 0 1k
XU3 N004 N014 NC_02 0 N013 LT1720 ;pnba In+)In-)V+)V-)OUT
V1 N009 0 12
R9 N008 N014 2k
XU1 N007 N003 NC_03 0 N004 LT1001 ;pnba In+)In-)V+)V-)OUT
R11 N002 N012 10k
D2 N002 N006 QTLP690C
XU2 N004 N008 NC_01 0 N012 LT1720 ;pnba In+)In-)V+)V-)OUT
R13 N002 N013 10k
V3 N001 0 10
R8 N002 N008 4k
I1 0 N011 10m
D1 N002 N005 QTLP690C
R2 0 N010 2k
R12 N005 N012 680
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.op
.lib LT1720.sub
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2600 680
WIRE 1696 -224 1568 -224
WIRE 1984 -224 1776 -224
WIRE 1568 -208 1568 -224
WIRE 1952 -80 1680 -80
WIRE 2064 -80 1952 -80
WIRE 2192 -80 2064 -80
WIRE 2304 -80 2192 -80
WIRE 2064 -48 2064 -80
WIRE 2304 -48 2304 -80
WIRE 1408 -16 1360 -16
WIRE 1456 -16 1408 -16
WIRE 1632 -16 1536 -16
WIRE 1680 -16 1680 -80
WIRE 1280 16 1280 -16
WIRE 1952 32 1952 -80
WIRE 2064 32 2064 16
WIRE 2192 32 2192 -80
WIRE 2304 32 2304 16
WIRE 1408 80 1408 -16
WIRE 1424 80 1408 80
WIRE 1632 96 1632 -16
WIRE 1632 96 1488 96
WIRE 1744 96 1632 96
WIRE 1424 112 1280 112
WIRE 1680 112 1680 64
WIRE 1792 112 1680 112
WIRE 112 128 16 128
WIRE 240 128 192 128
WIRE 320 128 240 128
WIRE 496 128 400 128
WIRE 608 128 496 128
WIRE 736 128 608 128
WIRE 1952 128 1952 112
WIRE 1952 128 1856 128
WIRE 2064 128 2064 112
WIRE 2064 128 1952 128
WIRE 1744 144 1744 96
WIRE 1792 144 1744 144
WIRE 2192 144 2192 112
WIRE 2304 144 2304 112
WIRE 2304 144 2192 144
WIRE 1456 160 1456 128
WIRE 16 176 16 128
WIRE 608 176 608 128
WIRE 736 176 736 128
WIRE 1280 176 1280 112
WIRE 1680 176 1680 112
WIRE 496 192 496 128
WIRE 240 208 240 128
WIRE 1824 208 1824 160
WIRE 1680 288 1680 256
WIRE 1792 288 1680 288
WIRE 2192 304 2192 144
WIRE 2192 304 1856 304
WIRE 16 320 16 256
WIRE 240 320 240 288
WIRE 240 320 16 320
WIRE 368 320 240 320
WIRE 496 320 496 272
WIRE 496 320 368 320
WIRE 608 320 608 256
WIRE 608 320 496 320
WIRE 736 320 736 256
WIRE 736 320 608 320
WIRE 1280 320 1280 256
WIRE 1632 320 1632 96
WIRE 1792 320 1632 320
WIRE 368 352 368 320
WIRE 1824 368 1824 336
WIRE 1680 416 1680 288
WIRE 1680 528 1680 496
DATAFLAG 240 288 ""
DATAFLAG 240 160 ""
DATAFLAG 304 480 "I(R2)"
DATAFLAG 16 160 "I(V1)"
DATAFLAG 16 288 ""
DATAFLAG 496 176 ""
DATAFLAG 496 288 ""
SYMBOL OpAmps\\LT1001 1456 32 R0
SYMATTR InstName U1
SYMBOL res 256 304 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R2
SYMATTR Value 2k
SYMBOL res 1936 16 R0
SYMATTR InstName R11
SYMATTR Value 10k
SYMBOL res 592 160 R0
SYMATTR InstName R4
SYMATTR Value 1k
SYMBOL voltage 16 160 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL res 1552 -32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R7
SYMATTR Value 9k
SYMBOL res 2288 16 R0
SYMATTR InstName R14
SYMATTR Value 680
SYMBOL res 2048 16 R0
SYMATTR InstName R12
SYMATTR Value 680
SYMBOL Comparators\\LT1720 1824 240 R0
SYMATTR InstName U3
SYMBOL Comparators\\LT1720 1824 64 R0
SYMATTR InstName U2
SYMBOL LED 2288 -48 R0
SYMATTR InstName D2
SYMATTR Value QTLP690C
SYMBOL LED 2048 -48 R0
SYMATTR InstName D1
SYMATTR Value QTLP690C
SYMBOL voltage 1280 160 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 500mV
SYMBOL res 1664 -32 R0
SYMATTR InstName R8
SYMATTR Value 4k
SYMBOL res 2176 16 R0
SYMATTR InstName R13
SYMATTR Value 10k
SYMBOL res 1376 -32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value 1k
SYMBOL res 1664 400 R0
SYMATTR InstName R10
SYMATTR Value 4k
SYMBOL res 720 160 R0
SYMATTR InstName R5
SYMATTR Value 1Meg
SYMBOL res 208 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 50
SYMBOL res 1664 160 R0
SYMATTR InstName R9
SYMATTR Value 2k
SYMBOL current 496 272 R180
WINDOW 0 24 80 Left 2
WINDOW 3 24 0 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I1
SYMATTR Value 10m
SYMBOL voltage 1792 -224 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 10
SYMBOL res 304 144 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R3
SYMATTR Value 1k
FLAG 368 352 0
FLAG 1280 320 0
FLAG 1280 16 0
FLAG 1824 208 0
FLAG 1824 368 0
FLAG 1680 528 0
FLAG 1456 160 0
FLAG 1568 -208 0
TEXT -18 376 Left 2 !.op