* SPICE netlist
R1 N004 in 470
R2 N004 3.3 2.4k
V2 3.3 0 3.3
V3 0V 0 0
V4 N001 0 15
R3 opout N003 1k
R4 sig 0 2.4k
R5 N002 opout 2.4k
R6 0 N002 470
XU1 N004 N002 N001 0 opout lm358 ;pnba In+)In-)V+)V-)OUT
C1 sig 0 18p
I1 in 0 SINE(0 5 500 0 0)
R7 0 in 0.018
R8 N003 sig 470
D1 N003 3.3 D
R9 N007 in 120
R10 N007 3.3 2.4k
R11 opoutl N006 1k
R12 sigl 0 2.4k
R13 N005 opoutl 2.4k
R14 0 N005 120
XU2 N007 N005 N001 0 opoutl lm358 ;pnba In+)In-)V+)V-)OUT
C2 sigl 0 18p
R15 N006 sigl 470
D2 N006 3.3 D
.tran 0 2ms
.include lm358.lib

* LTspice schematic (.asc)
Version 4
SHEET 1 1072 560
WIRE 120 -280 -536 -280
WIRE 536 -280 120 -280
WIRE 312 -264 8 -264
WIRE 504 -264 312 -264
WIRE -200 -232 -360 -232
WIRE 8 -232 8 -264
WIRE 8 -232 -200 -232
WIRE 8 -216 8 -232
WIRE 184 -216 152 -216
WIRE 312 -216 312 -264
WIRE 120 -168 120 -280
WIRE 72 -152 72 -216
WIRE 72 -152 56 -152
WIRE 88 -152 72 -152
WIRE 184 -136 184 -216
WIRE 184 -136 152 -136
WIRE 200 -136 184 -136
WIRE 232 -136 200 -136
WIRE 312 -136 312 -152
WIRE 440 -136 392 -136
WIRE 456 -136 440 -136
WIRE 8 -120 8 -136
WIRE 88 -120 8 -120
WIRE -536 -104 -536 -280
WIRE -360 -104 -360 -232
WIRE -184 -104 -248 -104
WIRE -120 -104 -184 -104
WIRE -88 -104 -120 -104
WIRE 8 -104 8 -120
WIRE 8 -104 -8 -104
WIRE 56 -104 56 -152
WIRE 344 -104 296 -104
WIRE 392 -104 392 -136
WIRE 392 -104 344 -104
WIRE 296 -88 296 -104
WIRE -456 -24 -536 -24
WIRE -360 -24 -456 -24
WIRE -264 -24 -360 -24
WIRE -248 -24 -264 -24
WIRE -184 -24 -248 -24
WIRE 56 -24 -184 -24
WIRE 120 -24 120 -104
WIRE 120 -24 56 -24
WIRE 296 -24 120 -24
WIRE 344 -24 296 -24
WIRE 472 -24 344 -24
WIRE 536 8 536 -280
WIRE 536 8 120 8
WIRE 312 24 8 24
WIRE 504 24 504 -264
WIRE 504 24 312 24
WIRE 8 72 8 24
WIRE 184 72 152 72
WIRE 312 72 312 24
WIRE 120 120 120 8
WIRE 72 136 72 72
WIRE 72 136 56 136
WIRE 88 136 72 136
WIRE 184 152 184 72
WIRE 184 152 152 152
WIRE 200 152 184 152
WIRE 232 152 200 152
WIRE 312 152 312 136
WIRE 440 152 392 152
WIRE 456 152 440 152
WIRE 8 168 8 152
WIRE 88 168 8 168
WIRE -120 184 -120 -104
WIRE -88 184 -120 184
WIRE 8 184 8 168
WIRE 8 184 -8 184
WIRE 56 184 56 136
WIRE 344 184 296 184
WIRE 392 184 392 152
WIRE 392 184 344 184
WIRE 296 200 296 184
WIRE -536 264 -536 -24
WIRE 56 264 -536 264
WIRE 120 264 120 184
WIRE 120 264 56 264
WIRE 296 264 120 264
WIRE 344 264 296 264
WIRE 472 264 344 264
FLAG -264 -24 0
FLAG 200 -136 opout
FLAG -120 -104 in
FLAG -200 -232 3.3
FLAG -456 -104 0V
FLAG 440 -136 sig
FLAG 200 152 opoutl
FLAG 440 152 sigl
SYMBOL res 8 -120 R90
SYMATTR InstName R1
SYMATTR Value 470
SYMBOL res 24 -120 R180
SYMATTR InstName R2
SYMATTR Value 2.4k
SYMBOL voltage -360 -120 R0
SYMATTR InstName V2
SYMATTR Value 3.3
SYMBOL voltage -456 -120 R0
SYMATTR InstName V3
SYMATTR Value 0
SYMBOL voltage -536 -120 R0
SYMATTR InstName V4
SYMATTR Value 15
SYMBOL res 216 -120 R270
SYMATTR InstName R3
SYMATTR Value 1k
SYMBOL res 328 -120 R0
SYMATTR InstName R4
SYMATTR Value 2.4k
SYMBOL res 56 -200 R270
SYMATTR InstName R5
SYMATTR Value 2.4k
SYMBOL res 72 -8 R180
SYMATTR InstName R6
SYMATTR Value 470
SYMBOL Opamps/opamp2 120 -200 R0
SYMATTR InstName U1
SYMATTR Value lm358
SYMBOL cap 280 -88 R0
SYMATTR InstName C1
SYMATTR Value 18p
SYMBOL current -248 -104 R0
SYMATTR InstName I1
SYMATTR Value SINE(0 5 500 0 0)
SYMBOL res -168 -8 R180
SYMATTR InstName R7
SYMATTR Value 0.018
SYMBOL res 296 -120 R270
SYMATTR InstName R8
SYMATTR Value 470
SYMBOL diode 328 -152 R180
SYMATTR InstName D1
SYMBOL res 8 168 R90
SYMATTR InstName R9
SYMATTR Value 120
SYMBOL res 24 168 R180
SYMATTR InstName R10
SYMATTR Value 2.4k
SYMBOL res 216 168 R270
SYMATTR InstName R11
SYMATTR Value 1k
SYMBOL res 328 168 R0
SYMATTR InstName R12
SYMATTR Value 2.4k
SYMBOL res 56 88 R270
SYMATTR InstName R13
SYMATTR Value 2.4k
SYMBOL res 72 280 R180
SYMATTR InstName R14
SYMATTR Value 120
SYMBOL Opamps/opamp2 120 88 R0
SYMATTR InstName U2
SYMATTR Value lm358
SYMBOL cap 280 200 R0
SYMATTR InstName C2
SYMATTR Value 18p
SYMBOL res 296 168 R270
SYMATTR InstName R15
SYMATTR Value 470
SYMBOL diode 328 136 R180
SYMATTR InstName D2