* SPICE netlist
XU1 0 N001 12V -12V N002 AD712 ;pnba In+)In-)V+)V-)OUT
V1 12V 0 12
V2 -12V 0 -12
V3 N008 0 SINE(0 4.7 1000 0 0 0 20) AC 1
R1 N001 N008 100k
R2 N002 N001 68k
C1 N002 N001 47p
R7 N010 N002 10k
R8 N013 N002 10k
R9 0 N010 10k
R10 N013 0 0.01
XU2 0 N003 12V -12V N004 AD712 ;pnba In+)In-)V+)V-)OUT
R3 N003 N010 100k
R4 N004 N003 100k
C2 N004 N003 47p
XU3 0 N015 12V -12V N016 AD712 ;pnba In+)In-)V+)V-)OUT
R5 N015 N013 100k
R6 N016 N015 100k
C3 N016 N015 47p
XU4 N004 N006 12V -12V N007 AD712 ;pnba In+)In-)V+)V-)OUT
V4 5V 0 5
D2 N017 N019 D
C4 N019 0 100n
XU5 N016 N017 12V -12V N017 AD712 ;pnba In+)In-)V+)V-)OUT
C5 N011 0 100n
XU6 N011 N005 12V -12V N009 AD712 ;pnba In+)In-)V+)V-)OUT
R11 N005 5V 100k
R12 0 N005 1k
R13 N007 N006 100k
R14 N006 0 100k
XU7 N011 N012 12V -12V N014 AD712 ;pnba In+)In-)V+)V-)OUT
R15 N012 12V 100k
R16 0 N012 22k
XU8 N011 N018 12V -12V N020 AD712 ;pnba In+)In-)V+)V-)OUT
R17 N018 12V 100k
R18 0 N018 27k
R19 N011 0 100k
D1 N007 N011 1N4148
.tran 0.1

* LTspice schematic (.asc)
Version 4
SHEET 1 2992 912
WIRE -856 -440 -872 -440
WIRE -744 -440 -792 -440
WIRE 40 -424 24 -424
WIRE 152 -424 104 -424
WIRE 776 -392 744 -392
WIRE 888 -392 856 -392
WIRE 904 -392 888 -392
WIRE 1016 -392 984 -392
WIRE 312 -376 280 -376
WIRE 408 -376 392 -376
WIRE 472 -376 408 -376
WIRE 584 -376 552 -376
WIRE -872 -360 -872 -440
WIRE -856 -360 -872 -360
WIRE -744 -360 -744 -440
WIRE -744 -360 -776 -360
WIRE 280 -360 280 -376
WIRE 1016 -360 1016 -392
WIRE 24 -344 24 -424
WIRE 40 -344 24 -344
WIRE 152 -344 152 -424
WIRE 152 -344 120 -344
WIRE 984 -264 984 -280
WIRE -824 -248 -824 -264
WIRE 504 -248 504 -264
WIRE 888 -248 888 -392
WIRE 952 -248 888 -248
WIRE -984 -232 -1224 -232
WIRE -872 -232 -872 -360
WIRE -872 -232 -904 -232
WIRE -856 -232 -872 -232
WIRE 72 -232 72 -248
WIRE 408 -232 408 -376
WIRE 472 -232 408 -232
WIRE 1096 -232 1016 -232
WIRE -744 -216 -744 -360
WIRE -744 -216 -792 -216
WIRE -712 -216 -744 -216
WIRE -648 -216 -712 -216
WIRE -472 -216 -568 -216
WIRE -88 -216 -472 -216
WIRE 24 -216 24 -344
WIRE 24 -216 -8 -216
WIRE 40 -216 24 -216
WIRE 584 -216 584 -376
WIRE 584 -216 536 -216
WIRE 632 -216 584 -216
WIRE 744 -216 696 -216
WIRE 840 -216 744 -216
WIRE 888 -216 840 -216
WIRE 952 -216 888 -216
WIRE -856 -200 -888 -200
WIRE 152 -200 152 -344
WIRE 152 -200 104 -200
WIRE 472 -200 152 -200
WIRE 744 -200 744 -216
WIRE -472 -184 -472 -216
WIRE 40 -184 8 -184
WIRE 888 -184 888 -216
WIRE 984 -184 984 -200
WIRE -888 -168 -888 -200
WIRE -824 -168 -824 -184
WIRE 504 -168 504 -184
WIRE 8 -152 8 -184
WIRE 72 -152 72 -168
WIRE -1496 -120 -1496 -136
WIRE -1384 -120 -1384 -136
WIRE -1304 -120 -1304 -136
WIRE -1224 -120 -1224 -232
WIRE 744 -104 744 -136
WIRE -472 -88 -472 -104
WIRE -408 -88 -472 -88
WIRE 888 -88 888 -104
WIRE -472 -72 -472 -88
WIRE 1032 -72 968 -72
WIRE 1144 -72 1112 -72
WIRE 1160 -72 1144 -72
WIRE 1272 -72 1240 -72
WIRE -408 -56 -408 -88
WIRE 1272 -40 1272 -72
WIRE -1496 -24 -1496 -40
WIRE -1384 -24 -1384 -40
WIRE -1304 -24 -1304 -40
WIRE -1224 -24 -1224 -40
WIRE -712 24 -712 -216
WIRE -648 24 -712 24
WIRE -472 24 -472 8
WIRE -472 24 -568 24
WIRE 1240 56 1240 40
WIRE 1144 72 1144 -72
WIRE 1208 72 1144 72
WIRE 1352 88 1272 88
WIRE 40 104 24 104
WIRE 152 104 104 104
WIRE 840 104 840 -216
WIRE 1208 104 840 104
WIRE 440 136 280 136
WIRE 1240 136 1240 120
WIRE 24 184 24 104
WIRE 40 184 24 184
WIRE 152 184 152 104
WIRE 152 184 120 184
WIRE 1176 248 1112 248
WIRE 1288 248 1256 248
WIRE 1304 248 1288 248
WIRE 1416 248 1384 248
WIRE 360 280 360 264
WIRE 1416 280 1416 248
WIRE 72 296 72 280
WIRE 280 296 280 136
WIRE 328 296 280 296
WIRE -472 312 -472 24
WIRE -88 312 -472 312
WIRE 24 312 24 184
WIRE 24 312 -8 312
WIRE 40 312 24 312
WIRE 440 312 440 136
WIRE 440 312 392 312
WIRE 552 312 440 312
WIRE 664 312 616 312
WIRE 152 328 152 184
WIRE 152 328 104 328
WIRE 328 328 152 328
WIRE 664 328 664 312
WIRE 40 344 8 344
WIRE 360 360 360 344
WIRE 8 376 8 344
WIRE 72 376 72 360
WIRE 1384 376 1384 360
WIRE 1288 392 1288 248
WIRE 1352 392 1288 392
WIRE 1496 408 1416 408
WIRE 664 424 664 392
WIRE 840 424 840 104
WIRE 1352 424 840 424
WIRE 1384 456 1384 440
FLAG -1384 -24 0
FLAG -1304 -24 0
FLAG -1224 -24 0
FLAG -1384 -136 12V
FLAG -824 -264 12V
FLAG -1304 -136 -12V
FLAG -824 -168 -12V
FLAG -888 -168 0
FLAG -408 -56 0
FLAG 72 -248 12V
FLAG 72 -152 -12V
FLAG 8 -152 0
FLAG 72 280 12V
FLAG 72 376 -12V
FLAG 8 376 0
FLAG 504 -264 12V
FLAG 504 -168 -12V
FLAG -1496 -24 0
FLAG -1496 -136 5V
FLAG 664 424 0
FLAG 360 264 12V
FLAG 360 360 -12V
FLAG 744 -104 0
FLAG 984 -280 12V
FLAG 984 -184 -12V
FLAG 1016 -360 0
FLAG 744 -392 5V
FLAG 280 -360 0
FLAG 1240 40 12V
FLAG 1240 136 -12V
FLAG 1272 -40 0
FLAG 968 -72 12V
FLAG 1384 360 12V
FLAG 1384 456 -12V
FLAG 1416 280 0
FLAG 1112 248 12V
FLAG 888 -88 0
SYMBOL OpAmps\\AD711 -824 -280 R0
SYMATTR InstName U1
SYMBOL voltage -1384 -136 R0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL voltage -1304 -136 R0
SYMATTR InstName V2
SYMATTR Value -12
SYMBOL voltage -1224 -136 R0
SYMATTR Value2 AC 1
SYMATTR InstName V3
SYMATTR Value SINE(0 4.7 1000 0 0 0 20)
SYMBOL res -888 -248 R90
SYMATTR InstName R1
SYMATTR Value 100k
SYMBOL res -760 -376 R90
SYMATTR InstName R2
SYMATTR Value 68k
SYMBOL cap -792 -456 R90
SYMATTR InstName C1
SYMATTR Value 47p
SYMBOL res -552 -232 R90
SYMATTR InstName R7
SYMATTR Value 10k
SYMBOL res -552 8 R90
SYMATTR InstName R8
SYMATTR Value 10k
SYMBOL res -456 -88 R180
SYMATTR InstName R9
SYMATTR Value 10k
SYMBOL res -456 24 R180
SYMATTR InstName R10
SYMATTR Value 0.01
SYMBOL OpAmps\\AD711 72 -264 R0
SYMATTR InstName U2
SYMBOL res 8 -232 R90
SYMATTR InstName R3
SYMATTR Value 100k
SYMBOL res 136 -360 R90
SYMATTR InstName R4
SYMATTR Value 100k
SYMBOL cap 104 -440 R90
SYMATTR InstName C2
SYMATTR Value 47p
SYMBOL OpAmps\\AD711 72 264 R0
SYMATTR InstName U3
SYMBOL res 8 296 R90
SYMATTR InstName R5
SYMATTR Value 100k
SYMBOL res 136 168 R90
SYMATTR InstName R6
SYMATTR Value 100k
SYMBOL cap 104 88 R90
SYMATTR InstName C3
SYMATTR Value 47p
SYMBOL OpAmps\\AD711 504 -280 R0
SYMATTR InstName U4
SYMBOL voltage -1496 -136 R0
SYMATTR InstName V4
SYMATTR Value 5
SYMBOL diode 552 328 R270
SYMATTR InstName D2
SYMBOL cap 648 328 R0
SYMATTR InstName C4
SYMATTR Value 100n
SYMBOL OpAmps\\AD711 360 248 R0
SYMATTR InstName U5
SYMBOL cap 728 -200 R0
SYMATTR InstName C5
SYMATTR Value 100n
SYMBOL OpAmps\\AD711 984 -296 R0
SYMATTR InstName U6
SYMBOL res 872 -408 R90
SYMATTR InstName R11
SYMATTR Value 100k
SYMBOL res 1000 -408 R90
SYMATTR InstName R12
SYMATTR Value 1k
SYMBOL res 568 -392 R90
SYMATTR InstName R13
SYMATTR Value 100k
SYMBOL res 408 -392 R90
SYMATTR InstName R14
SYMATTR Value 100k
SYMBOL OpAmps\\AD711 1240 24 R0
SYMATTR InstName U7
SYMBOL res 1128 -88 R90
SYMATTR InstName R15
SYMATTR Value 100k
SYMBOL res 1256 -88 R90
SYMATTR InstName R16
SYMATTR Value 22k
SYMBOL OpAmps\\AD711 1384 344 R0
SYMATTR InstName U8
SYMBOL res 1272 232 R90
SYMATTR InstName R17
SYMATTR Value 100k
SYMBOL res 1400 232 R90
SYMATTR InstName R18
SYMATTR Value 27k
SYMBOL res 872 -200 R0
SYMATTR InstName R19
SYMATTR Value 100k
SYMBOL diode 632 -200 R270
SYMATTR InstName D1
SYMATTR Value 1N4148