* SPICE netlist
XU1 N003 N001 VSP VSN N002 level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
XU2 N012 N010 VSP VSN N011 level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
R1 N001 P001 470
R2 N002 N001 15k
R3 N011 N010 15k
R4 N004 N002 10k
R5 N005 N004 10k
XU3 N009 N004 VSP VSN N005 level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
R6 N009 N011 10k
R7 0 N009 10k
R8 N007 N005 1k
R9 N008 N007 1k
C1 N007 Vout 100n
C2 N008 0 100n
XU4 N008 N006 VSP VSN Vout level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
R10 N006 0 20k
R11 Vout N006 10k
V1 N003 N012 PULSE(0 1m 1m 10n 10n 40m 80m) AC 1
R12 N012 0 10k
V2 VSP 0 5V
V3 0 VSN 5V
R13 P001 N010 39
;dc V1 -5 5 1u
.ac dec 10000 1m 10k
;tran 160m

* LTspice schematic (.asc)
Version 4
SHEET 1 1792 704
WIRE -192 -336 -256 -336
WIRE -96 -320 -128 -320
WIRE -192 -304 -432 -304
WIRE -720 -256 -816 -256
WIRE -96 -240 -96 -320
WIRE -16 -240 -96 -240
WIRE 80 -240 64 -240
WIRE 112 -240 80 -240
WIRE 224 -240 192 -240
WIRE 560 -224 528 -224
WIRE 672 -224 640 -224
WIRE 720 -224 672 -224
WIRE 848 -224 800 -224
WIRE -816 -208 -816 -256
WIRE 528 -192 528 -224
WIRE -256 -128 -256 -336
WIRE -256 -128 -304 -128
WIRE -208 -128 -256 -128
WIRE -96 -128 -96 -240
WIRE -96 -128 -128 -128
WIRE -432 -80 -432 -304
WIRE 672 -64 672 -224
WIRE 720 -64 672 -64
WIRE 80 -48 80 -240
WIRE 128 -48 80 -48
WIRE 848 -48 848 -224
WIRE 848 -48 784 -48
WIRE 896 -48 848 -48
WIRE -816 -32 -816 -128
WIRE -816 -32 -896 -32
WIRE 224 -32 224 -240
WIRE 224 -32 192 -32
WIRE 304 -32 224 -32
WIRE 432 -32 384 -32
WIRE 464 -32 432 -32
WIRE 592 -32 544 -32
WIRE 720 -32 592 -32
WIRE -896 -16 -896 -32
WIRE 128 -16 80 -16
WIRE -256 32 -304 32
WIRE -208 32 -256 32
WIRE -96 32 -128 32
WIRE -816 64 -816 -32
WIRE 432 64 432 -32
WIRE 592 64 592 -32
WIRE 592 144 592 128
WIRE -96 160 -96 32
WIRE -32 160 -96 160
WIRE 80 160 80 -16
WIRE 80 160 48 160
WIRE 144 160 80 160
WIRE 256 160 224 160
WIRE -816 192 -816 144
WIRE -720 192 -816 192
WIRE 256 192 256 160
WIRE -256 208 -256 32
WIRE -192 208 -256 208
WIRE 432 208 432 128
WIRE 848 208 848 -48
WIRE 848 208 432 208
WIRE -96 224 -96 160
WIRE -96 224 -128 224
WIRE -432 240 -432 0
WIRE -192 240 -432 240
WIRE -432 272 -432 240
FLAG 256 192 0
FLAG 592 144 0
FLAG 528 -192 0
FLAG -432 352 0
FLAG -896 -16 0
FLAG -160 -352 VSP
FLAG -160 192 VSP
FLAG 160 -64 VSP
FLAG 752 -80 VSP
FLAG -720 -256 VSP
FLAG -160 -288 VSN
FLAG -160 256 VSN
FLAG 160 0 VSN
FLAG 752 -16 VSN
FLAG -720 192 VSN
FLAG 896 -48 Vout
SYMBOL OpAmps\\UniversalOpAmp2 -160 -320 R0
SYMATTR InstName U1
SYMBOL OpAmps\\UniversalOpAmp2 -160 224 R0
SYMATTR InstName U2
SYMBOL res -288 -144 M0
SYMATTR InstName R1
SYMATTR Value 470
SYMBOL res -112 -144 R90
SYMATTR InstName R2
SYMATTR Value 15k
SYMBOL res -112 16 R90
SYMATTR InstName R3
SYMATTR Value 15k
SYMBOL res 80 -256 R90
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL res 208 -256 R90
SYMATTR InstName R5
SYMATTR Value 10k
SYMBOL OpAmps\\UniversalOpAmp2 160 -32 R0
SYMATTR InstName U3
SYMBOL res 64 144 R90
SYMATTR InstName R6
SYMATTR Value 10k
SYMBOL res 240 144 R90
SYMATTR InstName R7
SYMATTR Value 10k
SYMBOL res 400 -48 R90
SYMATTR InstName R8
SYMATTR Value 1k
SYMBOL res 560 -48 R90
SYMATTR InstName R9
SYMATTR Value 1k
SYMBOL cap 416 64 R0
SYMATTR InstName C1
SYMATTR Value 100n
SYMBOL cap 576 64 R0
SYMATTR InstName C2
SYMATTR Value 100n
SYMBOL OpAmps\\UniversalOpAmp2 752 -48 R0
SYMATTR InstName U4
SYMBOL res 656 -240 R90
SYMATTR InstName R10
SYMATTR Value 20k
SYMBOL res 816 -240 R90
SYMATTR InstName R11
SYMATTR Value 10k
SYMBOL voltage -432 -96 R0
SYMATTR Value PULSE(0 1m 1m 10n 10n 40m 80m)
SYMATTR Value2 AC 1
SYMATTR InstName V1
SYMBOL res -448 256 R0
SYMATTR InstName R12
SYMATTR Value 10k
SYMBOL voltage -816 -224 R0
SYMATTR InstName V2
SYMATTR Value 5V
SYMBOL voltage -816 48 R0
SYMATTR InstName V3
SYMATTR Value 5V
SYMBOL res -320 -64 R0
SYMATTR InstName R13
SYMATTR Value 39