* SPICE netlist
I1 N009 N007 PULSE(0 100n 1n 0 0 20u 0.1m)
D1 N007 N009 D
C1 N007 N009 4p
R1 N007 N009 10Meg
V1 N009 0 5V
R2 N007 0 100k
R3 N004 N003 90k
R4 N003 0 10k
C2 N006 N004 100n
R5 N006 2V5 16k
R6 N002 2V5 100
R7 Vsns2 N002 50k
V3 5V 0 5V
R8 5V N020 100.14k
R9 N020 0 100.16k
C3 N020 0 1
C4 N018 N015 100n
R10 2V5 N018 56
R11 2V5 N015 1k
C5 2V5 0 9
XU4 0 N005 PWM 5V N008 Vt Vt 5V NE555 ;pnba GND)TRIG)OUT)RST)CV)THRS)DIS)Vcc
C6 N008 0 100n
D2 N005 5V BAT54
R12 5V N005 1k
C7 N005 P001 100n
R13 5V Vt 6.82k
C8 Vt 0 9.9n
R14 N013 N012 3.6k
R15 N017 N012 15k
R16 N012 PWMDIS 3.6k
C9 N012 0 68n
R17 N019 0 3.6k
R18 N019 5V 3.6k
C10 5V 0 68n
C11 N013 N017 6.8n
C12 VpulseDIS 0 530n
R19 VpulseDIS N013 10k
R20 N001 Vsns2 1k
R21 Vtest N001 22k
XU1 N007 N003 5V 0 N004 TLC081 ;pnba In+)In-)V+)V-)OUT
XU2 N006 N002 5V 0 Vsns2 TLC081 ;pnba In+)In-)V+)V-)OUT
XU9 N020 N015 5V 0 N018 TLC081 ;pnba In+)In-)V+)V-)OUT
XU5 N019 N017 5V 0 N013 TL082 ;pnba In+)In-)V+)V-)OUT
XU3 N001 2V5 5V 0 Vtest TLC081 ;pnba In+)In-)V+)V-)OUT
R22 VDC N011 18k
C13 VDC 0 313n
R23 P001 Vtest 10
R24 5V N005 10k
XU6 N016 N014 5V 0 N011 TLC081 ;pnba In+)In-)V+)V-)OUT
R25 N011 N010 3.9k
R26 N010 PWM 3.9k
R27 N014 N010 15k
C14 N010 0 0.15n
C15 N011 N010 0.05n
R28 N016 5V 10k
R29 N016 0 6.8k
.tran 0 30m 0 700n
.include TLC081.mod

* LTspice schematic (.asc)
Version 4
SHEET 1 3696 1744
WIRE 264 -824 216 -824
WIRE 440 -808 328 -808
WIRE 520 -808 440 -808
WIRE 264 -792 216 -792
WIRE 120 -728 88 -728
WIRE 216 -728 216 -792
WIRE 216 -728 200 -728
WIRE 216 -648 216 -728
WIRE 312 -648 216 -648
WIRE 440 -648 440 -808
WIRE 440 -648 392 -648
WIRE 952 -440 952 -488
WIRE 952 -440 872 -440
WIRE 1016 -440 952 -440
WIRE 8 -408 -88 -408
WIRE 184 -408 88 -408
WIRE 776 -408 776 -440
WIRE 872 -392 872 -440
WIRE -1016 -376 -1064 -376
WIRE -872 -376 -936 -376
WIRE 1016 -376 1016 -440
WIRE 1768 -360 1768 -424
WIRE -1224 -344 -1304 -344
WIRE -1064 -344 -1064 -376
WIRE -1064 -344 -1144 -344
WIRE -200 -344 -216 -344
WIRE -88 -344 -88 -408
WIRE -88 -344 -120 -344
WIRE -1304 -328 -1304 -344
WIRE 1208 -328 1112 -328
WIRE 1496 -328 1432 -328
WIRE 1112 -312 1112 -328
WIRE -88 -280 -88 -344
WIRE 8 -280 -88 -280
WIRE -1064 -264 -1064 -344
WIRE -1016 -264 -1064 -264
WIRE 184 -264 184 -408
WIRE 184 -264 72 -264
WIRE 264 -264 184 -264
WIRE 616 -264 584 -264
WIRE 776 -264 776 -328
WIRE 776 -264 760 -264
WIRE 872 -264 872 -312
WIRE 872 -264 776 -264
WIRE 1016 -264 1016 -312
WIRE 1016 -264 872 -264
WIRE 1208 -264 1016 -264
WIRE 1496 -264 1432 -264
WIRE -872 -248 -872 -376
WIRE -872 -248 -952 -248
WIRE -616 -248 -872 -248
WIRE -504 -248 -552 -248
WIRE 8 -248 -504 -248
WIRE -1720 -232 -1848 -232
WIRE -1592 -232 -1720 -232
WIRE -1464 -232 -1592 -232
WIRE -1160 -232 -1464 -232
WIRE -1016 -232 -1160 -232
WIRE 1768 -232 1768 -280
WIRE 1768 -232 1704 -232
WIRE 1208 -200 1128 -200
WIRE 1496 -200 1432 -200
WIRE -1848 -184 -1848 -232
WIRE -1720 -184 -1720 -232
WIRE -1592 -184 -1592 -232
WIRE -1464 -184 -1464 -232
WIRE -1160 -184 -1160 -232
WIRE -984 -184 -984 -216
WIRE -504 -184 -504 -248
WIRE 1768 -184 1768 -232
WIRE 1768 -184 1704 -184
WIRE 1768 -152 1768 -184
WIRE 1208 -136 1144 -136
WIRE 1496 -136 1432 -136
WIRE 1496 -120 1496 -136
WIRE 1768 -120 1768 -152
WIRE -1848 -40 -1848 -104
WIRE -1720 -40 -1720 -120
WIRE -1720 -40 -1848 -40
WIRE -1592 -40 -1592 -120
WIRE -1592 -40 -1720 -40
WIRE -1464 -40 -1464 -104
WIRE -1464 -40 -1592 -40
WIRE -1352 -40 -1464 -40
WIRE -504 -24 -504 -104
WIRE -1352 -8 -1352 -40
WIRE -1352 104 -1352 72
WIRE -1256 104 -1352 104
WIRE -1160 104 -1160 -104
WIRE -1160 104 -1256 104
WIRE -1256 136 -1256 104
WIRE 1256 200 1112 200
WIRE 1400 200 1336 200
WIRE 1528 200 1400 200
WIRE 1400 232 1400 200
WIRE 1112 328 1112 200
WIRE 1400 328 1400 296
WIRE 1400 328 1112 328
WIRE -104 376 -248 376
WIRE 152 376 -24 376
WIRE 888 424 872 424
WIRE 1032 424 968 424
WIRE 1112 424 1112 328
WIRE 1112 424 1032 424
WIRE 1176 424 1112 424
WIRE 1304 424 1256 424
WIRE -1144 440 -1272 440
WIRE -952 440 -1064 440
WIRE 1032 440 1032 424
WIRE 1528 440 1528 200
WIRE 1528 440 1368 440
WIRE 1624 440 1528 440
WIRE 1784 440 1704 440
WIRE 1848 440 1784 440
WIRE 1304 456 1288 456
WIRE -24 488 -136 488
WIRE 152 488 152 376
WIRE 152 488 40 488
WIRE -1272 520 -1272 440
WIRE -1208 520 -1272 520
WIRE -1064 520 -1144 520
WIRE 1784 520 1784 440
WIRE -408 536 -440 536
WIRE -296 536 -328 536
WIRE -248 536 -248 376
WIRE -248 536 -296 536
WIRE -232 536 -248 536
WIRE -136 536 -136 488
WIRE -136 536 -152 536
WIRE 1032 536 1032 504
WIRE 1176 552 1144 552
WIRE 1288 552 1288 456
WIRE 1288 552 1256 552
WIRE -296 568 -296 536
WIRE -1544 584 -1544 536
WIRE -136 584 -136 536
WIRE -72 584 -136 584
WIRE 152 600 152 488
WIRE 152 600 -8 600
WIRE 184 600 152 600
WIRE 296 600 264 600
WIRE 440 600 296 600
WIRE -72 616 -136 616
WIRE 1288 616 1288 552
WIRE 296 632 296 600
WIRE 1784 632 1784 584
WIRE -1272 648 -1272 520
WIRE -1208 648 -1272 648
WIRE -296 648 -296 632
WIRE -1064 664 -1064 520
WIRE -1064 664 -1144 664
WIRE -1048 664 -1064 664
WIRE -952 664 -952 440
WIRE -952 664 -968 664
WIRE -840 664 -952 664
WIRE -1544 680 -1544 664
WIRE -1352 680 -1544 680
WIRE -1208 680 -1352 680
WIRE -296 696 -344 696
WIRE -248 696 -296 696
WIRE -136 696 -136 616
WIRE -136 696 -168 696
WIRE -1544 712 -1544 680
WIRE -952 712 -952 664
WIRE -1352 728 -1352 680
WIRE -296 728 -296 696
WIRE -952 744 -952 712
WIRE -136 744 -136 696
WIRE 296 744 296 696
WIRE -1544 840 -1544 792
WIRE -1448 840 -1544 840
WIRE -1352 840 -1352 792
WIRE -1352 840 -1448 840
WIRE -296 840 -296 792
WIRE -1448 872 -1448 840
WIRE -136 872 -136 824
FLAG -1256 136 0
FLAG -984 -184 0
FLAG -1304 -328 0
FLAG -216 -344 2V5
FLAG 264 -264 Vsns2
FLAG -1784 792 0
FLAG -1784 712 5V
FLAG -1544 536 5V
FLAG -1448 872 0
FLAG -952 776 0
FLAG -840 664 2V5
FLAG 1112 -312 0
FLAG 1496 -56 0
FLAG 1496 -200 Vt
FLAG 1496 -264 DIS
FLAG 1496 -328 5V
FLAG 952 -488 5V
FLAG 1144 -136 5V
FLAG 1128 -200 PWM
FLAG 1768 -88 0
FLAG 1704 -232 DIS
FLAG 1704 -184 Vt
FLAG 1768 -424 5V
FLAG -136 872 0
FLAG -296 648 0
FLAG -296 840 0
FLAG -344 696 5V
FLAG -440 536 PWMDIS
FLAG 296 744 0
FLAG 440 600 VpulseDIS
FLAG -504 -24 2V5
FLAG 88 -728 Vsns2
FLAG 216 -824 2V5
FLAG 520 -808 Vtest
FLAG -984 -280 5V
FLAG 40 -296 5V
FLAG 40 -232 0
FLAG 296 -776 0
FLAG 296 -840 5V
FLAG -1176 696 0
FLAG -1176 632 5V
FLAG -40 632 0
FLAG -40 568 5V
FLAG 1784 632 0
FLAG 1848 440 VDC
FLAG 584 -264 Vtest
FLAG 776 -440 5V
FLAG 1336 408 5V
FLAG 1336 472 0
FLAG 872 424 PWM
FLAG 1032 536 0
FLAG 1144 552 5V
FLAG 1288 696 0
SYMBOL current -1848 -104 R180
SYMATTR InstName I1
SYMATTR Value PULSE(0 100n 1n 0 0 20u 0.1m)
SYMBOL diode -1736 -184 R0
SYMATTR InstName D1
SYMBOL cap -1608 -184 R0
SYMATTR InstName C1
SYMATTR Value 4p
SYMBOL res -1480 -200 R0
SYMATTR InstName R1
SYMATTR Value 10Meg
SYMBOL voltage -1352 -24 R0
SYMATTR InstName V1
SYMATTR Value 5V
SYMBOL res -1176 -200 R0
SYMATTR InstName R2
SYMATTR Value 100k
SYMBOL res -920 -392 R90
SYMATTR InstName R3
SYMATTR Value 90k
SYMBOL res -1128 -360 R90
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL cap -552 -264 R90
SYMATTR InstName C2
SYMATTR Value 100n
SYMBOL res -520 -200 R0
SYMATTR InstName R5
SYMATTR Value 16k
SYMBOL res -104 -360 R90
SYMATTR InstName R6
SYMATTR Value 100
SYMBOL res 104 -424 R90
SYMATTR InstName R7
SYMATTR Value 50k
SYMBOL voltage -1784 696 R0
SYMATTR InstName V3
SYMATTR Value 5V
SYMBOL res -1560 568 R0
SYMATTR InstName R8
SYMATTR Value 100.14k
SYMBOL res -1560 696 R0
SYMATTR InstName R9
SYMATTR Value 100.16k
SYMBOL cap -1368 728 R0
SYMATTR InstName C3
SYMATTR Value 1ľ
SYMBOL cap -1144 504 R90
SYMATTR InstName C4
SYMATTR Value 100n
SYMBOL res -952 648 R90
SYMATTR InstName R10
SYMATTR Value 56
SYMBOL res -1048 424 R90
SYMATTR InstName R11
SYMATTR Value 1k
SYMBOL cap -968 712 R0
SYMATTR InstName C5
SYMATTR Value 9ľ
SYMBOL NE555 1320 -232 R0
SYMATTR InstName U4
SYMBOL cap 1480 -120 R0
SYMATTR InstName C6
SYMATTR Value 100n
SYMBOL schottky 1032 -312 R180
SYMATTR InstName D2
SYMATTR Value BAT54
SYMBOL res 856 -408 R0
SYMATTR InstName R12
SYMATTR Value 1k
SYMBOL cap 760 -280 R90
SYMATTR InstName C7
SYMATTR Value 100n
SYMBOL res 1752 -376 R0
SYMATTR InstName R13
SYMATTR Value 6.82k
SYMBOL cap 1752 -152 R0
SYMATTR InstName C8
SYMATTR Value 9.9n
SYMBOL res -8 360 R90
SYMATTR InstName R14
SYMATTR Value 3.6k
SYMBOL res -136 520 R90
SYMATTR InstName R15
SYMATTR Value 15k
SYMBOL res -312 520 R90
SYMATTR InstName R16
SYMATTR Value 3.6k
SYMBOL cap -312 568 R0
SYMATTR InstName C9
SYMATTR Value 68n
SYMBOL res -152 728 R0
SYMATTR InstName R17
SYMATTR Value 3.6k
SYMBOL res -152 680 R90
SYMATTR InstName R18
SYMATTR Value 3.6k
SYMBOL cap -312 728 R0
SYMATTR InstName C10
SYMATTR Value 68n
SYMBOL cap 40 472 R90
SYMATTR InstName C11
SYMATTR Value 6.8n
SYMBOL cap 280 632 R0
SYMATTR InstName C12
SYMATTR Value 530n
SYMBOL res 280 584 R90
SYMATTR InstName R19
SYMATTR Value 10k
SYMBOL res 216 -744 R90
SYMATTR InstName R20
SYMATTR Value 1k
SYMBOL res 408 -664 R90
SYMATTR InstName R21
SYMATTR Value 22k
SYMBOL opamp2 -984 -312 R0
SYMATTR InstName U1
SYMATTR Value TLC081
SYMBOL opamp2 40 -328 R0
SYMATTR InstName U2
SYMATTR Value TLC081
SYMBOL opamp2 -1176 600 R0
SYMATTR InstName U9
SYMATTR Value TLC081
SYMBOL opamp2 -40 536 R0
SYMATTR InstName U5
SYMATTR Value TL082
SYMBOL opamp2 296 -872 R0
SYMATTR InstName U3
SYMATTR Value TLC081
SYMBOL Res 1720 424 R90
SYMATTR InstName R22
SYMATTR Value 18k
SYMBOL Cap 1768 520 R0
SYMATTR InstName C13
SYMATTR Value 313n
SYMBOL Res 712 -280 R90
SYMATTR InstName R23
SYMATTR Value 10
SYMBOL Res 760 -424 R0
SYMATTR InstName R24
SYMATTR Value 10k
SYMBOL opamp2 1336 376 R0
SYMATTR InstName U6
SYMATTR Value TLC081
SYMBOL res 1352 184 R90
SYMATTR InstName R25
SYMATTR Value 3.9k
SYMBOL res 984 408 R90
SYMATTR InstName R26
SYMATTR Value 3.9k
SYMBOL res 1272 408 R90
SYMATTR InstName R27
SYMATTR Value 15k
SYMBOL cap 1016 440 R0
SYMATTR InstName C14
SYMATTR Value 0.15n
SYMBOL cap 1384 232 R0
SYMATTR InstName C15
SYMATTR Value 0.05n
SYMBOL res 1272 536 R90
SYMATTR InstName R28
SYMATTR Value 10k
SYMBOL res 1272 600 R0
SYMATTR InstName R29
SYMATTR Value 6.8k