* Z:\tmp\asc_dec_bjh7r6w2\0d9d1ac4ebc7_core_sense_amp1_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
R17 N018 0 220
D2 N004 N003 1N750
R16 N017 N021 {12/Iset}
R14 N002 CA {Rt}
R2 N015 N017 {Rfb}
Q1 CA N007 N014 0 2N3904
R18 N004 0 500
VINA INA 0 PWL file=ampl_train.pwl AC 0.5
R3 N009 N006 {Rfb2}
R1 N014 N017 {Rfb}
Q4 OA N013 N010 0 2N3906
R13 N005 CB {Rt}
R7 N011 N019 4.7k
R12 V+ N002 1m
.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 -64 -1328 -112 -1328
WIRE -32 -1328 -64 -1328
WIRE 144 -1328 64 -1328
WIRE 368 -1328 144 -1328
WIRE 304 -1264 240 -1264
WIRE -112 -1200 -112 -1328
WIRE 64 -1200 64 -1328
WIRE 240 -1200 240 -1264
WIRE -64 -800 -112 -800
WIRE 0 -800 -64 -800
WIRE 240 -800 80 -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 1088 -432 1088 -480
WIRE 1248 -432 1088 -432
WIRE 1088 -368 1088 -432
WIRE 1088 -240 1088 -288
WIRE 240 -192 240 -800
WIRE 432 -192 432 -800
WIRE 240 -64 240 -112
WIRE 512 -64 240 -64
WIRE 688 -64 512 -64
WIRE 1312 0 1312 -384
WIRE 1312 0 1216 0
WIRE 1408 0 1312 0
WIRE 432 64 432 -112
WIRE 512 64 432 64
WIRE 848 64 512 64
WIRE 1216 64 1216 0
WIRE 240 112 240 -64
WIRE 432 112 432 64
WIRE 176 160 -144 160
WIRE 592 160 496 160
WIRE 1216 192 1216 144
WIRE 1408 192 1408 144
WIRE 1120 208 1120 -64
WIRE 1120 208 752 208
WIRE 912 240 912 112
WIRE 1152 240 912 240
WIRE 1568 240 1568 -64
WIRE 1568 240 1472 240
WIRE 240 256 240 208
WIRE 432 256 432 208
WIRE 2592 336 2592 288
WIRE 1408 384 1408 288
WIRE 1488 384 1408 384
WIRE 1744 384 1488 384
WIRE 240 400 240 336
WIRE 352 400 240 400
WIRE 432 400 432 336
WIRE 432 400 352 400
WIRE 592 432 592 160
WIRE 592 432 -144 432
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 352 496 352 400
WIRE 2592 496 2592 448
WIRE 1408 512 1408 384
WIRE 2592 656 2592 576
WIRE 752 672 752 512
WIRE 912 672 912 512
WIRE 352 736 352 576
SYMBOL res 2576 480 R0
SYMATTR InstName R17
SYMATTR Value 220
SYMBOL diode 1104 -480 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D2
SYMATTR Value 1N750
SYMBOL res 336 480 R0
SYMATTR InstName R16
SYMATTR Value {12/Iset}
SYMBOL res 224 -208 R0
SYMATTR InstName R14
SYMATTR Value {Rt}
SYMBOL res 416 240 R0
SYMATTR InstName R2
SYMATTR Value {Rfb}
SYMBOL npn 176 112 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL res 1072 -384 R0
SYMATTR InstName R18
SYMATTR Value 500
SYMBOL voltage 64 -1216 R0
WINDOW 123 24 44 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 0.5
SYMATTR InstName VINA
SYMATTR Value PWL file=ampl_train.pwl
SYMBOL res 1200 160 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R3
SYMATTR Value {Rfb2}
SYMBOL res 224 240 R0
SYMATTR InstName R1
SYMATTR Value {Rfb}
SYMBOL pnp 1472 288 R180
SYMATTR InstName Q4
SYMATTR Value 2N3906
SYMBOL res 416 -208 R0
SYMATTR InstName R13
SYMATTR Value {Rt}
SYMBOL res 736 416 R0
SYMATTR InstName R7
SYMATTR Value 4.7k
SYMBOL res -16 -784 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R12
SYMATTR Value 1m
FLAG -64 -800 V+
FLAG 64 -1120 0
FLAG -112 -1120 0
FLAG 240 -1120 0
FLAG -64 -1328 V-
FLAG 144 -1328 INA
FLAG 512 -64 CA
FLAG 512 64 CB
FLAG 1488 464 OB
FLAG 1488 384 OA
FLAG 1088 -240 0
FLAG 2592 656 0