* Z:\home\khalils\Downloads\files\data\raw_asc\6572a94701d4_conditioning-circuit.asc
* Generated by LTspice 26.0.1 for Windows.
* Differential to single-ended circuit\nG = 5
* Gain + offset circuit\nG = 20, Offset = 2.5
* Adjustable 5V reference for offset
* 5K trimpot for \noffset adj.
* Low-pass filter\nfcut = 1061 Hz (Vin)\nfcut = 26 Hz (Vref)
* ...to window \ncomparator circuit
* From AMC1200\nisolation amplifier...
* ...to buffered \nBNC monitor
* Resistor for\nstability under \ncapacitive loads\n(coaxial cables)
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\AD8421.asy)
;dc Vamc1200 -0.025 0.025 0.01
;ac dec 5 10 100k
R8 Vmonitor N009 50
R1 N004 N007 2490
R6 N006 N005 1500
Vamc1200 N003 0 AC 1
XU4 N009 N010 N009 opamp Aol=100K GBW=10Meg ;pnba invin)noninvin)out
XU3 N001 N006 Vdet opamp Aol=100K GBW=10Meg ;pnba invin)noninvin)out
C1 N006 0 100n
R4 N012 N011 14k
C2 N010 0 100n
R2 N015 N014 620
V3 N002 0 14
V2 N008 0 -14
R7 N006 N013 60400
Vref N014 0 5
Rg N001 0 2490
RTrimVref N011 0 2256.4
R3 N013 N012 620
XU1 0 N004 N007 N003 N008 0 N005 N002 AD8421 ;pnba IN-)RG1)RG2)IN+)VEE)REF)OUT)VCC
XU2 N012 N015 N013 opamp Aol=100K GBW=10Meg ;pnba invin)noninvin)out
Rf Vdet N001 47000
R5 N010 N005 1500
.dc Vamc1200 -2 2 0.1
.lib opamp.sub
.lib AD8421.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1060 856
WIRE -64 -176 -64 -192
WIRE 224 -112 144 -112
WIRE 416 -112 304 -112
WIRE 448 -112 416 -112
WIRE 560 -112 528 -112
WIRE 144 -64 144 -112
WIRE -64 -48 -64 -96
WIRE -96 -32 -384 -32
WIRE -384 0 -384 -32
WIRE -96 0 -192 0
WIRE -192 16 -192 0
WIRE 416 16 416 -112
WIRE 448 16 416 16
WIRE 560 32 560 -112
WIRE 560 32 512 32
WIRE 688 32 560 32
WIRE 160 48 80 48
WIRE 224 48 160 48
WIRE 368 48 304 48
WIRE 448 48 368 48
WIRE -96 96 -192 96
WIRE -384 128 -384 80
WIRE -96 128 -384 128
WIRE -384 160 -384 128
WIRE -64 160 -64 144
WIRE 656 160 528 160
WIRE 528 208 528 160
WIRE 560 208 528 208
WIRE 656 224 656 160
WIRE 656 224 624 224
WIRE 736 224 656 224
WIRE 912 224 816 224
WIRE 160 240 160 48
WIRE 416 240 160 240
WIRE 528 240 496 240
WIRE 560 240 528 240
WIRE -64 256 -64 240
WIRE 528 272 528 240
WIRE 528 352 528 336
WIRE -288 448 -384 448
WIRE -160 448 -208 448
WIRE -32 448 -80 448
WIRE 0 448 -32 448
WIRE 112 448 80 448
WIRE 208 448 112 448
WIRE 368 448 368 48
WIRE 368 448 288 448
WIRE -384 496 -384 448
WIRE 368 496 368 448
WIRE -32 576 -32 448
WIRE 0 576 -32 576
WIRE 112 592 112 448
WIRE 112 592 64 592
WIRE 368 592 368 560
WIRE -240 608 -336 608
WIRE 0 608 -160 608
WIRE -336 624 -336 608
WIRE -336 720 -336 704
SYMBOL cap 512 272 R0
SYMATTR InstName C2
SYMATTR Value 100n
SYMBOL res -64 432 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 14k
SYMBOL res 512 224 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 1500
SYMBOL res 96 432 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 620
SYMBOL voltage -64 -80 R180
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 14
SYMBOL res 320 32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value 1500
SYMBOL voltage -336 608 R0
WINDOW 0 -91 49 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Vref
SYMATTR Value 5
SYMBOL OpAmps\\opamp 480 -32 R0
SYMATTR InstName U3
SYMBOL res -192 432 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName TrimVref
SYMATTR Value 2256.4
SYMBOL res 304 432 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R7
SYMATTR Value 60400
SYMBOL res -144 592 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 620
SYMBOL OpAmps\\opamp 592 160 R0
SYMATTR InstName U4
SYMBOL OpAmps\\opamp 32 528 R0
SYMATTR InstName U2
SYMBOL res 832 208 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R8
SYMATTR Value 50
SYMBOL cap 352 496 R0
SYMATTR InstName C1
SYMATTR Value 100n
SYMBOL res -208 0 R0
SYMATTR InstName R1
SYMATTR Value 2490
SYMBOL voltage -64 144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value -14
SYMBOL res 320 -128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Rg
SYMATTR Value 2490
SYMBOL OpAmps\\AD8421 -64 48 R0
SYMATTR InstName U1
SYMBOL voltage -384 -16 R0
WINDOW 0 -161 94 Left 2
WINDOW 123 -161 122 Left 2
WINDOW 39 0 0 Left 0
SYMATTR InstName Vamc1200
SYMATTR Value2 AC 1
SYMATTR Value ""
SYMBOL res 544 -128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Rf
SYMATTR Value 47000
FLAG -336 720 0
FLAG -384 496 0
FLAG 368 592 0
FLAG 144 -64 0
FLAG -64 256 0
FLAG -64 -192 0
FLAG 16 112 0
FLAG -384 160 0
FLAG 688 32 Vdet
FLAG 912 224 Vmonitor
FLAG 528 352 0
TEXT -672 -408 Left 2 !;dc Vamc1200 -0.025 0.025 0.01\n.dc Vamc1200 -2 2 0.1\n;ac dec 5 10 100k
TEXT -672 -272 Left 2 !.lib opamp.sub
TEXT -64 -280 Center 2 ;Differential to single-ended circuit\nG = 5
TEXT 376 -232 Center 2 ;Gain + offset circuit\nG = 20, Offset = 2.5
TEXT -96 656 Left 2 ;Adjustable 5V reference for offset
TEXT -248 352 Center 2 ;5K trimpot for \noffset adj.
TEXT 552 440 Center 2 ;Low-pass filter\nfcut = 1061 Hz (Vin)\nfcut = 26 Hz (Vref)
TEXT 736 72 Center 2 ;...to window \ncomparator circuit
TEXT -664 24 Center 2 ;From AMC1200\nisolation amplifier...
TEXT 976 256 Center 2 ;...to buffered \nBNC monitor
TEXT 784 280 Center 2 ;Resistor for\nstability under \ncapacitive loads\n(coaxial cables)