* Z:\home\khalils\Downloads\files\data\raw_asc\LT1672.asc
* Generated by LTspice 26.0.1 for Windows.
* Battery Current Monitor
* Library below included based on ModelFile attribute of instance XU2, XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT1672.asy)
R4 N004 V+ 200
I1 0 N001 SINE(0 1 1)
R2 N002 N001 200
R3 N003 V+ 200
Q1 N004 OUTA DISCHARGE 0 2N4124
R6 DISCHARGE 0 2K
XU1 N004 N002 OUTA V+ 0 LT1672 ;pnba IN+)IN-)OUT)VCC)VEE
XU2 N005 N003 OUTB V+ 0 LT1672 ;pnba IN+)IN-)OUT)VCC)VEE
R7 CHARGE 0 2K
Q2 N005 OUTB CHARGE 0 2N4124
R1 V+ N001 0.1
V1 V+ 0 12
R5 N005 N001 200
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran 1
.lib LT1672.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 1504 680
WIRE 0 64 -496 64
WIRE 16 64 0 64
WIRE 112 64 96 64
WIRE 512 64 112 64
WIRE 544 64 512 64
WIRE -496 80 -496 64
WIRE 544 80 544 64
WIRE -176 160 -192 160
WIRE -96 160 -112 160
WIRE 0 160 0 64
WIRE 0 160 -16 160
WIRE 16 160 0 160
WIRE 112 160 112 64
WIRE 112 160 96 160
WIRE 128 160 112 160
WIRE 224 160 208 160
WIRE 320 160 304 160
WIRE -496 176 -496 160
WIRE -192 176 -192 160
WIRE 304 176 304 160
WIRE 544 176 544 160
WIRE -112 192 -112 160
WIRE -112 192 -160 192
WIRE 224 192 224 160
WIRE 272 192 224 192
WIRE -224 208 -304 208
WIRE 416 208 336 208
WIRE -112 224 -160 224
WIRE 272 224 224 224
WIRE -192 256 -192 240
WIRE -112 256 -112 224
WIRE -96 256 -112 256
WIRE 16 256 96 160
WIRE 16 256 -16 256
WIRE 96 256 16 160
WIRE 128 256 96 256
WIRE 224 256 224 224
WIRE 224 256 208 256
WIRE 304 256 304 240
WIRE -112 288 -112 256
WIRE 224 288 224 256
WIRE -304 336 -304 208
WIRE -176 336 -304 336
WIRE 416 336 416 208
WIRE 416 336 288 336
WIRE -112 464 -112 384
WIRE -112 464 -144 464
WIRE 224 464 224 384
WIRE 256 464 224 464
WIRE -112 480 -112 464
WIRE 224 480 224 464
WIRE -112 576 -112 560
WIRE 224 576 224 560
SYMBOL voltage 544 64 R0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL res 224 240 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 200
SYMBOL npn -176 288 R0
SYMATTR InstName Q1
SYMATTR Value 2N4124
SYMBOL res 112 48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 0.1
SYMBOL res -128 464 R0
SYMATTR InstName R6
SYMATTR Value 2K
SYMBOL LT1672 -192 208 M0
SYMATTR InstName U1
SYMBOL res 224 144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 200
SYMBOL current -496 160 M180
WINDOW 0 28 75 Left 2
WINDOW 3 39 21 Left 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName I1
SYMATTR Value SINE(0 1 1)
SYMBOL res -112 240 M90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 200
SYMBOL res 208 464 R0
SYMATTR InstName R7
SYMATTR Value 2K
SYMBOL npn 288 288 M0
SYMATTR InstName Q2
SYMATTR Value 2N4124
SYMBOL LT1672 304 208 R0
SYMATTR InstName U2
SYMBOL res -112 144 M90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 200
FLAG 304 256 0
FLAG 224 576 0
FLAG -192 160 V+
FLAG -192 256 0
FLAG -112 576 0
FLAG 544 176 0
FLAG -496 176 0
FLAG -144 464 DISCHARGE
FLAG 256 464 CHARGE
FLAG -304 208 OUTA
FLAG 416 208 OUTB
FLAG 304 160 V+
FLAG 512 64 V+
TEXT -24 632 Left 2 !.tran 1
TEXT 48 0 Bottom 2 ;Battery Current Monitor