* SPICE netlist
V1 12v 0 12
V2 5v 0 5
V3 N013 0 SINE(0 1 15.625k) AC 1
XU1 N016 N007 12v 0 N003 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 5v N005 12v 0 N006 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
XU3 N008 N001 12v 0 out 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 5v N016 1Meg
R2 N002 5v 1.8k
R3 N003 N007 47k
C1 N002 N007 1n
C2 N003 N002 1n
R4 N004 N003 2.7k
C3 N004 N005 1n
C4 N004 N006 1n
R5 N006 N005 82k
R6 N012 N006 10k
C5 out N012 1n
R7 N008 N012 10k
C6 5v N008 1n
R8 N001 5v 10k
R9 out N001 15k
D1 N014 N015 1N4148X
R10 N015 0 860k
C7 N015 0 2.2n
XU4 N011 out 12v 0 N009 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
R11 5v N011 100
R12 N011 0 10k
R13 N010 N009 20k
R14 0 N010 10k
C8 N016 N015 1n
L1 N013 N014 1.4m
C9 N014 0 1.1n
.tran 1m

* LTspice schematic (.asc)
Version 4
SHEET 1 2240 448
WIRE 352 -208 336 -208
WIRE 448 -208 432 -208
WIRE 464 -208 448 -208
WIRE 560 -208 544 -208
WIRE -352 -176 -352 -224
WIRE -336 -176 -352 -176
WIRE -240 -176 -256 -176
WIRE -192 -176 -240 -176
WIRE -80 -176 -128 -176
WIRE 48 -176 0 -176
WIRE 160 -176 48 -176
WIRE -240 -160 -240 -176
WIRE 336 -128 336 -208
WIRE 48 -96 48 -112
WIRE 64 -96 48 -96
WIRE 160 -96 160 -112
WIRE 160 -96 144 -96
WIRE -352 -80 -352 -176
WIRE -240 -80 -240 -96
WIRE -208 -80 -240 -80
WIRE -80 -80 -80 -176
WIRE -80 -80 -128 -80
WIRE 336 -64 256 -64
WIRE 448 -64 448 -208
WIRE 464 -64 448 -64
WIRE 560 -64 560 -208
WIRE 768 -64 560 -64
WIRE 560 -48 560 -64
WIRE 560 -48 528 -48
WIRE 928 -48 832 -48
WIRE 1104 -48 1008 -48
WIRE 336 -32 336 -64
WIRE 464 -32 336 -32
WIRE 704 -32 704 -96
WIRE 768 -32 704 -32
WIRE 704 16 704 -32
WIRE -240 32 -240 -80
WIRE -208 32 -240 32
WIRE 48 32 48 -96
WIRE 80 32 48 32
WIRE -80 48 -80 -80
WIRE -80 48 -144 48
WIRE 160 48 160 -96
WIRE 160 48 144 48
WIRE 256 48 256 16
WIRE 256 48 240 48
WIRE 384 48 256 48
WIRE 560 48 560 -48
WIRE 560 48 448 48
WIRE -880 64 -1040 64
WIRE -720 64 -800 64
WIRE -624 64 -720 64
WIRE -528 64 -560 64
WIRE -448 64 -528 64
WIRE -416 64 -448 64
WIRE -352 64 -352 0
WIRE -208 64 -352 64
FLAG 64 224 0
FLAG -48 224 0
FLAG -1120 64 0
FLAG -48 144 12v
IOPIN 512 224 Out
FLAG 64 144 5v
IOPIN 624 224 Out
FLAG -176 80 0
FLAG 112 80 0
FLAG 496 -16 0
FLAG -352 -224 5v
IOPIN 208 -144 In
FLAG -176 16 12v
IOPIN 384 96 In
FLAG 112 16 12v
IOPIN 672 96 In
FLAG 80 64 5v
IOPIN 640 144 In
FLAG 496 -80 12v
IOPIN 1056 0 In
FLAG 560 -48 out
FLAG 336 -208 5v
IOPIN 896 -128 In
FLAG -448 128 0
FLAG -528 144 0
FLAG 704 -176 5v
IOPIN 1264 -96 In
FLAG 704 96 0
FLAG 800 -16 0
FLAG 1104 32 0
FLAG -720 128 0
FLAG 800 -80 12v
IOPIN 1360 0 In
SYMBOL voltage -48 128 R0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL voltage 64 128 R0
SYMATTR InstName V2
SYMATTR Value 5
SYMBOL voltage -1024 64 R90
SYMATTR Value2 AC 1
SYMATTR Value SINE(0 1 15.625k)
SYMATTR InstName V3
SYMBOL Opamps\\UniversalOpamp2 -176 48 R0
SYMATTR InstName U1
SYMBOL Opamps\\UniversalOpamp2 112 48 R0
SYMATTR InstName U2
SYMBOL Opamps\\UniversalOpamp2 496 -48 R0
SYMATTR InstName U3
SYMBOL res -368 -96 R0
SYMATTR InstName R1
SYMATTR Value 1Meg
SYMBOL res -240 -192 R90
SYMATTR InstName R2
SYMATTR Value 1.8k
SYMBOL res -112 -96 R90
SYMATTR InstName R3
SYMATTR Value 47k
SYMBOL cap -256 -160 R0
SYMATTR InstName C1
SYMATTR Value 1n
SYMBOL cap -128 -192 R90
SYMATTR InstName C2
SYMATTR Value 1n
SYMBOL res 16 -192 R90
SYMATTR InstName R4
SYMATTR Value 2.7k
SYMBOL cap 32 -176 R0
SYMATTR InstName C3
SYMATTR Value 1n
SYMBOL cap 144 -176 R0
SYMATTR InstName C4
SYMATTR Value 1n
SYMBOL res 160 -112 R90
SYMATTR InstName R5
SYMATTR Value 82k
SYMBOL res 256 32 R90
SYMATTR InstName R6
SYMATTR Value 10k
SYMBOL cap 448 32 R90
SYMATTR InstName C5
SYMATTR Value 1n
SYMBOL res 240 -80 R0
SYMATTR InstName R7
SYMATTR Value 10k
SYMBOL cap 320 -128 R0
SYMATTR InstName C6
SYMATTR Value 1n
SYMBOL res 448 -224 R90
SYMATTR InstName R8
SYMATTR Value 10k
SYMBOL res 560 -224 R90
SYMATTR InstName R9
SYMATTR Value 15k
SYMBOL diode -624 80 R270
SYMATTR InstName D1
SYMATTR Value 1N4148X
SYMBOL res -544 48 R0
SYMATTR InstName R10
SYMATTR Value 860k
SYMBOL cap -464 64 R0
SYMATTR InstName C7
SYMATTR Value 2.2n
SYMBOL Opamps\\UniversalOpamp2 800 -48 R0
SYMATTR InstName U4
SYMBOL res 688 -192 R0
SYMATTR InstName R11
SYMATTR Value 100
SYMBOL res 688 0 R0
SYMATTR InstName R12
SYMATTR Value 10k
SYMBOL res 1024 -64 R90
SYMATTR InstName R13
SYMATTR Value 20k
SYMBOL res 1120 48 R180
SYMATTR InstName R14
SYMATTR Value 10k
SYMBOL cap -352 48 R90
SYMATTR InstName C8
SYMATTR Value 1n
SYMBOL ind -896 80 R270
SYMATTR InstName L1
SYMATTR Value 1.4m
SYMBOL cap -736 64 R0
SYMATTR InstName C9
SYMATTR Value 1.1n