* Z:\tmp\asc_dec_bjh7r6w2\0f372a54eaf8_Current_Sense_4_examples_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
R12 0 N007 10K
R18 N012 N011 10K
I4 N015 0 PWL(0 0 100m 1) load
V1 VB N005 9 Rser=0
R16 N008 0 100K
R21 C3 N012 100K
R27 N017 N018 1k
XU2 N008 N007 VB N009 C2 LT1001 ;pnba In+)In-)V+)V-)OUT
XU1 N004 N003 VB 0 C1 LT1001 ;pnba In+)In-)V+)V-)OUT
R13 N006 0 1Meg
R3 N002 N001 .1
R15 N008 0 10K
R10 N011 N010 .1
R7 N004 0 10K
* Library below included based on ModelFile attribute of instance XU2, XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT1001A.asy)
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1204 2100
WIRE -304 -96 -336 -96
WIRE -16 -96 -96 -96
WIRE 16 -96 -16 -96
WIRE 128 -96 96 -96
WIRE 816 -96 128 -96
WIRE -16 -48 -16 -96
WIRE 128 -48 128 -96
WIRE 512 -16 448 -16
WIRE 640 -16 592 -16
WIRE -336 64 -336 -96
WIRE 512 96 512 64
WIRE 128 112 128 32
WIRE 448 112 448 -16
WIRE 448 112 128 112
WIRE 480 112 448 112
WIRE 640 128 640 -16
WIRE 640 128 544 128
WIRE 672 128 640 128
WIRE -16 144 -16 32
WIRE 480 144 -16 144
WIRE 512 192 512 160
WIRE -16 208 -16 144
WIRE 128 208 128 112
WIRE -336 320 -336 144
WIRE -16 320 -16 288
WIRE 128 320 128 288
WIRE 832 480 112 480
WIRE 960 480 832 480
WIRE 832 512 832 480
WIRE 960 512 960 480
WIRE 496 560 432 560
WIRE 624 560 576 560
WIRE 832 640 832 592
WIRE 960 640 960 592
WIRE 112 656 112 608
WIRE 432 656 432 560
WIRE 432 656 112 656
WIRE 496 672 496 640
WIRE 432 688 432 656
WIRE 464 688 432 688
WIRE 624 704 624 560
WIRE 624 704 528 704
WIRE 656 704 624 704
WIRE -32 720 -32 608
WIRE 288 720 -32 720
WIRE 464 720 288 720
WIRE -32 784 -32 720
WIRE 112 784 112 656
WIRE 496 784 496 736
WIRE 288 800 288 720
WIRE -32 896 -32 864
WIRE 112 896 112 864
WIRE 288 896 288 880
WIRE -32 1056 -112 1056
WIRE 0 1056 -32 1056
WIRE 112 1056 80 1056
WIRE 288 1056 112 1056
WIRE 832 1056 288 1056
WIRE 288 1088 288 1056
WIRE -32 1104 -32 1056
WIRE 112 1104 112 1056
WIRE 496 1136 432 1136
WIRE 624 1136 576 1136
WIRE 112 1232 112 1184
WIRE 432 1232 432 1136
WIRE 432 1232 112 1232
WIRE 496 1248 496 1216
WIRE 432 1264 432 1232
WIRE 464 1264 432 1264
WIRE 624 1280 624 1136
WIRE 624 1280 528 1280
WIRE 656 1280 624 1280
WIRE -32 1296 -32 1184
WIRE 288 1296 288 1168
WIRE 288 1296 -32 1296
WIRE 464 1296 288 1296
WIRE -32 1360 -32 1296
WIRE 112 1360 112 1232
WIRE 496 1360 496 1312
WIRE 288 1376 288 1296
WIRE 832 1632 176 1632
WIRE 960 1632 832 1632
WIRE 832 1664 832 1632
WIRE 960 1664 960 1632
WIRE 672 1744 336 1744
WIRE 832 1792 832 1744
WIRE 960 1792 960 1744
WIRE 288 1824 288 1808
WIRE 464 1824 288 1824
WIRE 576 1824 544 1824
WIRE 496 1936 496 1904
WIRE 464 1952 128 1952
WIRE 576 1968 576 1824
WIRE 576 1968 528 1968
WIRE 464 1984 176 1984
WIRE 496 2048 496 2000
SYMBOL res 96 880 M180
WINDOW 0 36 76 Left 0
WINDOW 3 36 40 Left 0
SYMATTR InstName R12
SYMATTR Value 10K
SYMBOL res 96 1200 M180
WINDOW 0 36 76 Left 0
WINDOW 3 36 40 Left 0
SYMATTR InstName R18
SYMATTR Value 10K
SYMBOL current 960 1664 R0
WINDOW 3 24 144 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 24 116 Left 0
SYMATTR Value PWL(0 0 100m 1)
SYMATTR SpiceLine load
SYMATTR InstName I4
SYMBOL Misc\\battery -336 48 R0
WINDOW 123 0 0 Left 0
WINDOW 39 24 132 Left 0
SYMATTR SpiceLine Rser=0
SYMATTR InstName V1
SYMATTR Value 9
SYMBOL res 272 784 R0
SYMATTR InstName R16
SYMATTR Value 100K
SYMBOL res 592 1120 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R21
SYMATTR Value 100K
SYMBOL res 448 1840 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R27
SYMATTR Value 1k
SYMBOL Opamps\\LT1001A 496 640 R0
SYMATTR InstName U2
SYMBOL Opamps\\LT1001A 512 64 R0
SYMATTR InstName U1
SYMBOL res 816 496 R0
SYMATTR InstName R13
SYMATTR Value 1meg
SYMBOL res 112 -112 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R3
SYMATTR Value .1
SYMBOL res -16 768 M0
SYMATTR InstName R15
SYMATTR Value 10K
SYMBOL res 96 1040 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R10
SYMATTR Value .1
SYMBOL res 0 192 M0
SYMATTR InstName R7
SYMATTR Value 10K
FLAG 128 320 0
FLAG 512 192 0
FLAG -16 320 0
FLAG 512 64 VB
FLAG -304 -96 VB
FLAG 112 896 0
FLAG 832 640 0
FLAG -32 896 0
FLAG 960 640 0
FLAG 496 640 VB
FLAG 288 896 0
FLAG 672 128 C1
FLAG 656 704 C2
FLAG 496 1216 VB
FLAG 656 1280 C3
FLAG 832 1792 0
FLAG 960 1792 0
FLAG 496 1904 VB