* Z:\home\khalils\Downloads\files\data\raw_asc\LT1805.asc
* Generated by LTspice 26.0.1 for Windows.
* Inverting DC Restore
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT1805.asy)
R11 V+ N012 2k
D2 N011 N005 1N4148
D4 N012 N006 1N4148
C3 IN2 0 0.1
C4 N006 0 0.1
D3 N012 N010 1N4148
R6 N005 V- 1Meg
R2 N001 IN1 1k
R12 N006 V- 1Meg
V3 IN2 N004 PULSE(0 50m 10u 1u 1u 88u 100u) Rser=10
R7 OUT2 N002 10k
V4 N004 0 PWL(0 0 1m .1)
V5 V+ 0 5
V1 IN1 N003 PULSE(0 50m 10u 1u 1u 88u 100u) Rser=10
V2 N003 0 PWL(0 0 1m .1)
R9 N010 N008 100k
R1 OUT1 N001 10k
R10 N008 OUT2 10k
C2 N005 0 0.1
R4 N007 OUT1 10k
R5 V+ N011 2k
V6 V- 0 -5
D1 N011 N009 1N4148
R3 N009 N007 100k
R8 N002 IN2 1k
C1 IN1 0 0.1
XU1 N005 N001 OUT1 V+ V- 0 N007 0 N008 N009 N010 N006 N002 OUT2 LT1805 ;pnba +INA)-INA)OUTA)V+)V-)+INB)-INB)+INC)-INC)OUTB)OUTC)+IND)-IND)OUTD
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 1m
.lib LT1805.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 1268 2116
WIRE -160 672 -256 672
WIRE 272 672 176 672
WIRE -288 768 -368 768
WIRE -160 768 -160 672
WIRE -160 768 -208 768
WIRE -128 768 -160 768
WIRE 176 768 176 672
WIRE 176 768 144 768
WIRE 224 768 176 768
WIRE 384 768 304 768
WIRE -864 864 -1168 864
WIRE -592 864 -784 864
WIRE -496 864 -592 864
WIRE -368 864 -368 768
WIRE -368 864 -416 864
WIRE -128 864 -368 864
WIRE 384 864 384 768
WIRE 384 864 144 864
WIRE 432 864 384 864
WIRE 608 864 512 864
WIRE 848 864 608 864
WIRE 1232 864 928 864
WIRE -1168 912 -1168 864
WIRE -592 912 -592 864
WIRE 608 912 608 864
WIRE 1232 912 1232 864
WIRE -128 960 -448 960
WIRE 464 960 144 960
WIRE -592 1008 -592 976
WIRE 608 1008 608 976
WIRE -1168 1024 -1168 992
WIRE 1232 1024 1232 992
WIRE -128 1056 -192 1056
WIRE 224 1056 144 1056
WIRE -448 1088 -448 960
WIRE -448 1088 -688 1088
WIRE 464 1088 464 960
WIRE 704 1088 464 1088
WIRE -128 1152 -176 1152
WIRE 192 1152 144 1152
WIRE -128 1248 -320 1248
WIRE 336 1248 144 1248
WIRE -448 1344 -528 1344
WIRE -320 1344 -320 1248
WIRE -320 1344 -368 1344
WIRE -272 1344 -320 1344
WIRE -160 1344 -192 1344
WIRE -128 1344 -160 1344
WIRE 176 1344 144 1344
WIRE 208 1344 176 1344
WIRE 336 1344 336 1248
WIRE 336 1344 288 1344
WIRE 384 1344 336 1344
WIRE 544 1344 464 1344
WIRE -160 1456 -160 1344
WIRE 176 1456 176 1344
WIRE -688 1568 -688 1088
WIRE -576 1568 -688 1568
WIRE -448 1568 -576 1568
WIRE -336 1568 -448 1568
WIRE -160 1568 -160 1520
WIRE -160 1568 -272 1568
WIRE 176 1568 176 1520
WIRE 288 1568 176 1568
WIRE 464 1568 352 1568
WIRE 592 1568 464 1568
WIRE 704 1568 704 1088
WIRE 704 1568 592 1568
WIRE -576 1632 -576 1568
WIRE -448 1632 -448 1568
WIRE -160 1632 -160 1568
WIRE 176 1632 176 1568
WIRE 464 1632 464 1568
WIRE 592 1632 592 1568
WIRE -576 1776 -576 1696
WIRE -448 1776 -448 1712
WIRE -400 1776 -448 1776
WIRE 464 1776 464 1712
WIRE 464 1776 416 1776
WIRE 592 1776 592 1696
WIRE -160 1792 -160 1712
WIRE -128 1792 -160 1792
WIRE 176 1792 176 1712
WIRE 176 1792 144 1792
WIRE -80 1904 -144 1904
WIRE 144 1904 80 1904
WIRE -80 1952 -80 1904
WIRE 80 1952 80 1904
WIRE -80 2096 -80 2032
WIRE 80 2096 80 2032
SYMBOL diode 160 1520 M180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D3
SYMATTR Value 1N4148
SYMBOL diode 288 1552 M90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D4
SYMATTR Value 1N4148
SYMBOL res 480 1616 M0
SYMATTR InstName R12
SYMATTR Value 1Meg
SYMBOL res -192 752 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL res 368 1328 M90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R10
SYMATTR Value 10k
SYMBOL diode -272 1552 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D2
SYMATTR Value 1N4148
SYMBOL cap 624 912 M0
SYMATTR InstName C3
SYMATTR Value 0.1
SYMBOL cap -608 912 R0
SYMATTR InstName C1
SYMATTR Value 0.1
SYMBOL res 192 1328 M90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R9
SYMATTR Value 100k
SYMBOL res -176 1328 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 100k
SYMBOL voltage -1168 896 R0
SYMATTR InstName V2
SYMATTR Value PWL(0 0 1m .1)
SYMBOL res 160 1728 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R11
SYMATTR Value 2k
SYMBOL voltage -80 1936 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V5
SYMATTR Value 5
SYMBOL voltage 832 864 M90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
WINDOW 123 60 56 VTop 2
SYMATTR InstName V3
SYMATTR Value PULSE(0 50m 10u 1u 1u 88u 100u)
SYMATTR Value2 Rser=10
SYMBOL res 208 752 M90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R7
SYMATTR Value 10k
SYMBOL res -464 1616 R0
SYMATTR InstName R6
SYMATTR Value 1Meg
SYMBOL LT1805 0 1024 R0
SYMATTR InstName U1
SYMBOL cap 608 1632 M0
SYMATTR InstName C4
SYMATTR Value 0.1
SYMBOL voltage -768 864 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
WINDOW 123 60 56 VTop 2
SYMATTR InstName V1
SYMATTR Value PULSE(0 50m 10u 1u 1u 88u 100u)
SYMATTR Value2 Rser=10
SYMBOL res -352 1328 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL voltage 80 1936 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V6
SYMATTR Value -5
SYMBOL res 416 848 M90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R8
SYMATTR Value 1k
SYMBOL diode -144 1520 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL voltage 1232 896 M0
SYMATTR InstName V4
SYMATTR Value PWL(0 0 1m .1)
SYMBOL cap -592 1632 R0
SYMATTR InstName C2
SYMATTR Value 0.1
SYMBOL res -144 1728 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R5
SYMATTR Value 2k
SYMBOL res -400 848 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1k
FLAG -256 672 OUT1
FLAG -592 1008 0
FLAG -1168 1024 0
FLAG -592 864 IN1
FLAG -176 1152 0
FLAG -528 1344 OUT1
FLAG -128 1792 V+
FLAG -400 1776 V-
FLAG -576 1776 0
FLAG 272 672 OUT2
FLAG 608 1008 0
FLAG 1232 1024 0
FLAG 608 864 IN2
FLAG 192 1152 0
FLAG 544 1344 OUT2
FLAG 144 1792 V+
FLAG 416 1776 V-
FLAG 592 1776 0
FLAG 224 1056 V+
FLAG -192 1056 V-
FLAG -80 2096 0
FLAG 80 2096 0
FLAG -144 1904 V+
FLAG 144 1904 V-
TEXT 0 648 Bottom 2 ;Inverting DC Restore
TEXT -40 696 Left 2 !.tran 1m