* Z:\tmp\asc_dec_bjh7r6w2\0d9d1ac4ebc7_core_sense_amp1_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
R5 0 N015 {Rt2}
Q13 N002 N002 N001 0 2N3906
R19 N001 N003 {R_th}
R20 N006 output 100
R6 0 OB {Rt2}
Q3 OB N013 N009 0 2N3906
Q5 N005 CA N010 0 2N3904
Q11 output N012 N018 0 2N3904
Q7 N006 N011 N014 0 2N3904
D3 N012 output BAT54
D1 sense_out N011 BAT54
R10 N014 N012 220
Q12 N007 N004 N003 0 2N3906
R8 N013 N020 4.7k
.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
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 4868 1856
WIRE 1088 -800 912 -800
WIRE 1312 -800 1088 -800
WIRE 1808 -800 1312 -800
WIRE 1312 -736 1312 -800
WIRE 1088 -704 1088 -800
WIRE 1216 -656 1152 -656
WIRE 1088 -576 1088 -608
WIRE 1216 -576 1216 -656
WIRE 1216 -576 1088 -576
WIRE 1088 -544 1088 -576
WIRE 1312 -480 1312 -656
WIRE 1088 -432 1088 -480
WIRE 1248 -432 1088 -432
WIRE 1088 -368 1088 -432
WIRE 1088 -240 1088 -288
WIRE 752 -112 752 -800
WIRE 512 -64 240 -64
WIRE 688 -64 512 -64
WIRE 2832 -32 2592 -32
WIRE 1312 0 1312 -384
WIRE 512 64 432 64
WIRE 848 64 512 64
WIRE 2288 96 2288 -32
WIRE 2832 96 2832 -32
WIRE 1216 192 1216 144
WIRE 2592 192 2592 -32
WIRE 752 208 752 -16
WIRE 1120 208 1120 -64
WIRE 1120 208 752 208
WIRE 2192 224 2176 224
WIRE 2288 224 2288 176
WIRE 2288 224 2256 224
WIRE 2736 224 2720 224
WIRE 2832 224 2832 176
WIRE 2832 224 2800 224
WIRE 912 240 912 112
WIRE 1152 240 912 240
WIRE 2288 240 2288 224
WIRE 2528 240 2288 240
WIRE 2288 288 2288 240
WIRE 2832 288 2832 224
WIRE 2912 288 2832 288
WIRE 2976 288 2912 288
WIRE 2096 336 1968 336
WIRE 2176 336 2176 224
WIRE 2176 336 2096 336
WIRE 2224 336 2176 336
WIRE 2592 336 2592 288
WIRE 2832 400 2832 288
WIRE 752 432 752 208
WIRE 912 432 912 240
WIRE 2592 448 2592 416
WIRE 2720 448 2720 224
WIRE 2720 448 2592 448
WIRE 2768 448 2720 448
WIRE 1216 464 1216 288
WIRE 1488 464 1216 464
WIRE 1904 464 1488 464
WIRE 2592 496 2592 448
WIRE 1216 512 1216 464
WIRE 1408 512 1408 384
WIRE 1216 624 1216 592
WIRE 1312 624 1216 624
WIRE 1408 624 1408 592
WIRE 1408 624 1312 624
WIRE 2288 656 2288 384
WIRE 2592 656 2592 576
WIRE 2832 656 2832 496
WIRE 752 672 752 512
WIRE 912 672 912 512
WIRE 1312 672 1312 624
SYMBOL res 1392 608 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R5
SYMATTR Value {Rt2}
SYMBOL pnp 1152 -608 R180
SYMATTR InstName Q13
SYMATTR Value 2N3906
SYMBOL res 1296 -752 R0
SYMATTR InstName R19
SYMATTR Value {R_th}
SYMBOL res 2816 80 R0
SYMATTR InstName R20
SYMATTR Value 100
SYMBOL res 1200 608 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R6
SYMATTR Value {Rt2}
SYMBOL pnp 1152 288 M180
SYMATTR InstName Q3
SYMATTR Value 2N3906
SYMBOL npn 688 -112 R0
SYMATTR InstName Q5
SYMATTR Value 2N3904
SYMBOL npn 2768 400 R0
SYMATTR InstName Q11
SYMATTR Value 2N3904
SYMBOL npn 2528 192 R0
SYMATTR InstName Q7
SYMATTR Value 2N3904
SYMBOL diode 2736 240 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D3
SYMATTR Value BAT54
SYMBOL diode 2192 240 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value BAT54
SYMBOL res 2576 320 R0
SYMATTR InstName R10
SYMATTR Value 220
SYMBOL pnp 1248 -384 M180
SYMATTR InstName Q12
SYMATTR Value 2N3906
SYMBOL res 896 416 R0
SYMATTR InstName R8
SYMATTR Value 4.7k
FLAG 512 -64 CA
FLAG 512 64 CB
FLAG 1488 464 OB
FLAG 1312 672 0
FLAG 2096 336 sense_out
FLAG 2912 288 output
FLAG 1088 -240 0