Version 4 SHEET 1 4016 2292 WIRE -32 96 -80 96 WIRE 96 96 48 96 WIRE 144 96 96 96 WIRE 224 96 144 96 WIRE 288 96 224 96 WIRE 464 96 368 96 WIRE 576 96 464 96 WIRE 976 96 576 96 WIRE 1264 96 1168 96 WIRE 1408 96 1328 96 WIRE 1568 96 1408 96 WIRE 976 160 976 96 WIRE 1168 160 1168 96 WIRE 1408 176 1408 96 WIRE 1568 176 1568 96 WIRE -80 256 -80 96 WIRE 1936 256 1888 256 WIRE 144 272 144 96 WIRE 224 272 224 96 WIRE 464 272 464 96 WIRE 576 272 576 96 WIRE -736 288 -736 240 WIRE -592 288 -736 288 WIRE 976 288 976 240 WIRE 1056 288 976 288 WIRE 1168 288 1168 240 WIRE 1408 288 1408 240 WIRE 1408 288 1168 288 WIRE 1456 288 1408 288 WIRE 1568 288 1568 240 WIRE 1568 288 1520 288 WIRE 1936 304 1936 256 WIRE 1568 320 1568 288 WIRE 1056 336 1056 288 WIRE -592 368 -592 288 WIRE -992 416 -1056 416 WIRE -736 416 -736 288 WIRE -736 416 -768 416 WIRE 1568 432 1568 400 WIRE 1728 432 1888 256 WIRE 1728 432 1568 432 WIRE 1936 432 1936 384 WIRE 1984 432 1936 432 WIRE 2000 432 1984 432 WIRE 1056 448 1056 416 WIRE 1568 464 1568 432 WIRE -992 480 -1024 480 WIRE -592 480 -592 448 WIRE -592 480 -768 480 WIRE -480 480 -592 480 WIRE 976 480 976 288 WIRE 1936 480 1936 432 WIRE -592 496 -592 480 WIRE -480 512 -480 480 WIRE -1168 544 -1184 544 WIRE -992 544 -1168 544 WIRE -736 544 -768 544 WIRE -656 544 -736 544 WIRE 864 560 848 560 WIRE 928 560 864 560 WIRE 1936 592 1936 560 WIRE -1232 608 -1632 608 WIRE -1120 608 -1168 608 WIRE -992 608 -1120 608 WIRE -704 608 -768 608 WIRE -656 608 -656 544 WIRE -592 608 -592 576 WIRE -592 608 -656 608 WIRE -480 608 -480 576 WIRE -480 608 -592 608 WIRE 880 608 848 608 WIRE 976 608 976 576 WIRE 976 608 880 608 WIRE 1056 608 1056 512 WIRE 1056 608 976 608 WIRE -1632 640 -1632 608 WIRE -1232 640 -1232 624 WIRE -704 640 -704 608 WIRE -592 640 -592 608 WIRE 976 640 976 608 WIRE -1024 672 -1024 480 WIRE -736 672 -736 544 WIRE -736 672 -1024 672 WIRE -1056 736 -1056 416 WIRE -704 736 -704 704 WIRE -704 736 -1056 736 WIRE -592 736 -592 704 WIRE -592 736 -704 736 WIRE -1056 752 -1056 736 WIRE -80 752 -80 336 WIRE 144 752 144 336 WIRE 144 752 -80 752 WIRE 224 752 224 336 WIRE 224 752 144 752 WIRE 464 752 464 336 WIRE 464 752 224 752 WIRE 576 752 576 336 WIRE 576 752 464 752 WIRE 976 752 976 720 WIRE 976 752 576 752 WIRE 1168 752 1168 288 WIRE 1568 752 1568 528 WIRE 1568 752 1168 752 WIRE 1936 752 1936 672 WIRE 1936 752 1568 752 WIRE 976 768 976 752 WIRE 1168 768 1168 752 WIRE -1632 800 -1632 720 WIRE -640 976 -640 928 WIRE -880 1088 -1104 1088 WIRE -784 1088 -816 1088 WIRE -640 1088 -640 1056 WIRE -512 1088 -640 1088 WIRE -432 1088 -512 1088 WIRE -400 1088 -432 1088 WIRE 1872 1104 1872 1024 WIRE -640 1136 -640 1088 WIRE -512 1136 -512 1088 WIRE -1312 1152 -1312 1104 WIRE 1808 1152 1776 1152 WIRE -1104 1184 -1104 1088 WIRE -1056 1184 -1104 1184 WIRE -880 1184 -976 1184 WIRE -784 1184 -784 1088 WIRE -784 1184 -816 1184 WIRE 608 1200 448 1200 WIRE 704 1200 688 1200 WIRE 1408 1232 1392 1232 WIRE 1472 1232 1408 1232 WIRE 1680 1232 1568 1232 WIRE 1776 1232 1776 1152 WIRE 1776 1232 1760 1232 WIRE 1872 1232 1872 1200 WIRE 2000 1232 1872 1232 WIRE 2128 1232 2080 1232 WIRE -944 1248 -944 1040 WIRE 1072 1248 1072 1104 WIRE -1168 1264 -1216 1264 WIRE -1104 1264 -1104 1184 WIRE -1104 1264 -1168 1264 WIRE -976 1264 -1104 1264 WIRE 576 1264 576 1056 WIRE 992 1264 976 1264 WIRE 1040 1264 992 1264 WIRE 1872 1264 1872 1232 WIRE -784 1280 -784 1184 WIRE -784 1280 -912 1280 WIRE -640 1280 -640 1200 WIRE -640 1280 -784 1280 WIRE 448 1280 448 1200 WIRE 544 1280 448 1280 WIRE 1168 1280 1104 1280 WIRE 1200 1280 1168 1280 WIRE 1408 1280 1392 1280 WIRE 1472 1280 1408 1280 WIRE 2128 1280 2128 1232 WIRE -1312 1296 -1312 1232 WIRE -1312 1296 -1424 1296 WIRE -1168 1296 -1312 1296 WIRE -1104 1296 -1168 1296 WIRE -976 1296 -1104 1296 WIRE 704 1296 704 1200 WIRE 704 1296 608 1296 WIRE 1040 1296 704 1296 WIRE 256 1312 224 1312 WIRE 384 1312 336 1312 WIRE 544 1312 384 1312 WIRE 1776 1312 1776 1232 WIRE 1808 1312 1776 1312 WIRE 384 1344 384 1312 WIRE 448 1344 448 1280 WIRE -944 1360 -944 1312 WIRE 1072 1360 1072 1312 WIRE 1472 1360 1472 1312 WIRE 576 1376 576 1328 WIRE -1424 1392 -1424 1296 WIRE -1312 1392 -1312 1296 WIRE -624 1408 -768 1408 WIRE 1872 1424 1872 1360 WIRE 2128 1424 2128 1344 WIRE -704 1456 -704 1376 WIRE 384 1456 384 1424 WIRE 448 1456 448 1424 WIRE -768 1472 -768 1408 WIRE -736 1472 -768 1472 WIRE -624 1488 -624 1408 WIRE -624 1488 -672 1488 WIRE -512 1488 -512 1200 WIRE -512 1488 -624 1488 WIRE -1104 1504 -1104 1296 WIRE -976 1504 -1104 1504 WIRE -832 1504 -896 1504 WIRE -736 1504 -832 1504 WIRE -1424 1520 -1424 1456 WIRE -1312 1520 -1312 1456 WIRE -832 1552 -832 1504 WIRE -704 1552 -704 1520 WIRE -832 1680 -832 1616 FLAG 1984 432 vfeed FLAG 96 96 vcc FLAG 576 1376 0 FLAG 576 1056 vcc FLAG 448 1456 0 FLAG 224 1312 ifeed FLAG 1072 1360 0 FLAG 1072 1104 vcc FLAG 1472 1360 0 FLAG 1408 1232 vsq FLAG 2128 1232 vg FLAG -944 1360 0 FLAG -944 1040 vcc FLAG -1168 1264 vfeed FLAG 992 1264 verr FLAG 1872 1424 0 FLAG 1872 1024 vcc FLAG 2128 1424 0 FLAG -736 240 vcc FLAG -1168 544 vsq FLAG 384 1456 0 FLAG -1312 1520 0 FLAG -1424 1520 0 FLAG -1168 1296 vref FLAG -640 928 vcc FLAG -432 1088 verr FLAG -1632 800 0 FLAG 1168 1280 res FLAG 1408 1280 res FLAG -1056 752 0 FLAG -1232 640 0 FLAG -1120 608 ven FLAG -1312 1104 ven FLAG 976 768 0 FLAG 864 560 vg FLAG 880 608 ifeed FLAG 1168 768 0 FLAG -832 1680 0 FLAG -704 1376 vcc FLAG -704 1552 0 SYMBOL voltage -80 240 R0 WINDOW 123 0 0 Left 0 WINDOW 39 24 124 Left 2 SYMATTR InstName V1 SYMATTR Value 4.1 SYMBOL cap 448 272 R0 SYMATTR InstName C1 SYMATTR Value 1µ SYMATTR SpiceLine Rser=0.8 SYMBOL res 1920 288 R0 SYMATTR InstName R3 SYMATTR Value 6.2Meg SYMBOL res 1920 464 R0 SYMATTR InstName R4 SYMATTR Value 18k SYMBOL res 704 1184 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R6 SYMATTR Value {Ra} SYMBOL res 432 1328 R0 SYMATTR InstName R7 SYMATTR Value {Rb} SYMBOL Digital\\srflop 1520 1184 R0 SYMATTR InstName A2 SYMATTR SpiceLine Vhigh=5 Vlow=0 SYMBOL cap -816 1072 R90 WINDOW 0 0 32 VBottom 2 WINDOW 3 32 32 VTop 2 SYMATTR InstName C3 SYMATTR Value 150p SYMBOL cap -816 1168 R90 WINDOW 0 0 32 VBottom 2 WINDOW 3 32 32 VTop 2 SYMATTR InstName C4 SYMATTR Value 100p SYMBOL res -960 1168 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R9 SYMATTR Value 3.3k SYMBOL npn 1808 1104 R0 SYMATTR InstName Q1 SYMATTR Value 2N3904 SYMBOL pnp 1808 1360 M180 SYMATTR InstName Q2 SYMATTR Value 2N3906 SYMBOL res 1776 1216 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R10 SYMATTR Value 1.8k SYMBOL res 2096 1216 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R11 SYMATTR Value 10 SYMBOL cap 2112 1280 R0 SYMATTR InstName C5 SYMATTR Value 10n SYMBOL Misc\\NE555 -880 512 R0 SYMATTR InstName U4 SYMBOL cap -720 640 R0 SYMATTR InstName C6 SYMATTR Value 1µ SYMBOL cap -608 640 R0 SYMATTR InstName C7 SYMATTR Value 1.5n SYMBOL res -608 480 R0 SYMATTR InstName R13 SYMATTR Value 22k SYMBOL res -608 352 R0 SYMATTR InstName R14 SYMATTR Value 1k SYMBOL schottky -496 512 R0 SYMATTR InstName D4 SYMATTR Value 1N5817 SYMATTR Description Diode SYMATTR Type diode SYMBOL res 352 1296 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R16 SYMATTR Value {Rb} SYMBOL res 400 1440 R180 WINDOW 0 36 76 Left 2 WINDOW 3 36 40 Left 2 SYMATTR InstName R15 SYMATTR Value {Ra} SYMBOL cap 560 272 R0 SYMATTR InstName C10 SYMATTR Value 10n SYMATTR SpiceLine Rser=10m SYMBOL res 64 80 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R17 SYMATTR Value 30m SYMBOL res -1328 1136 R0 SYMATTR InstName R19 SYMATTR Value 3.3k SYMBOL cap -1440 1392 R0 SYMATTR InstName C11 SYMATTR Value 100n SYMBOL cap 128 272 R0 SYMATTR InstName C12 SYMATTR Value 10µ SYMATTR SpiceLine Rser=0.3 SYMBOL cap 208 272 R0 SYMATTR InstName C13 SYMATTR Value 100n SYMATTR SpiceLine Rser=10m SYMBOL schottky -656 1136 R0 SYMATTR InstName D5 SYMATTR Value 1N5817 SYMATTR Description Diode SYMATTR Type diode SYMBOL schottky -528 1136 R0 SYMATTR InstName D6 SYMATTR Value 1N5817 SYMATTR Description Diode SYMATTR Type diode SYMBOL res -656 960 R0 SYMATTR InstName R18 SYMATTR Value 10k SYMBOL res -992 1520 R270 WINDOW 0 32 56 VTop 2 WINDOW 3 0 56 VBottom 2 SYMATTR InstName R5 SYMATTR Value 3.3k SYMBOL voltage -1632 624 R0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 WINDOW 3 24 44 Left 2 SYMATTR Value PWL(0 0 1m 0 1.1m 5) SYMATTR InstName V2 SYMBOL Digital\\buf1 -1232 544 R0 SYMATTR InstName A1 SYMATTR SpiceLine Vhigh=5 Vlow=0 SYMBOL ind2 960 256 M180 WINDOW 0 37 71 Left 2 WINDOW 3 36 32 Left 2 SYMATTR InstName LP SYMATTR Value 7µ SYMATTR Type ind SYMATTR SpiceLine Rser=0.5 SYMBOL ind2 1184 144 M0 SYMATTR InstName LS SYMATTR Value 700µ SYMATTR Type ind SYMATTR SpiceLine Rser=60 SYMBOL nmos 928 480 R0 SYMATTR InstName M2 SYMATTR Value SP8M51_N SYMBOL res 960 624 R0 SYMATTR InstName R1 SYMATTR Value 10m SYMBOL res 1040 320 R0 SYMATTR InstName R2 SYMATTR Value 22 SYMBOL cap 1040 448 R0 SYMATTR InstName C2 SYMATTR Value 8.2n SYMBOL References\\LT1634-1.25 -1312 1424 R0 SYMATTR InstName U7 SYMBOL cap -848 1552 R0 SYMATTR InstName C8 SYMATTR Value 100n SYMBOL res 1920 576 R0 SYMATTR InstName R20 SYMATTR Value 1.5k SYMBOL Comparators\\LT1720 1072 1216 R0 SYMATTR InstName U3 SYMBOL OpAmps\\UniversalOpAmp2 576 1296 R0 SYMATTR InstName U5 SYMBOL OpAmps\\UniversalOpAmp2 -944 1280 R0 SYMATTR InstName U1 SYMBOL OpAmps\\UniversalOpAmp2 -704 1488 R0 SYMATTR InstName U2 SYMBOL ind 272 112 R270 WINDOW 0 32 56 VTop 2 WINDOW 3 5 56 VBottom 2 SYMATTR InstName L2 SYMATTR Value 220n SYMBOL cap 1328 80 R90 WINDOW 0 0 32 VBottom 2 WINDOW 3 32 32 VTop 2 SYMATTR InstName C16 SYMATTR Value 1n SYMBOL diode 1424 240 R180 WINDOW 0 24 64 Left 2 WINDOW 3 24 0 Left 2 SYMATTR InstName D1 SYMATTR Value RFN10NS8D SYMBOL cap 1520 272 R90 WINDOW 0 0 32 VBottom 2 WINDOW 3 32 32 VTop 2 SYMATTR InstName C17 SYMATTR Value 1n SYMBOL diode 1552 176 R0 SYMATTR InstName D3 SYMATTR Value RFN10NS8D SYMBOL res 1552 304 R0 SYMATTR InstName R8 SYMATTR Value 22 SYMBOL cap 1552 464 R0 SYMATTR InstName C18 SYMATTR Value 1n TEXT 3576 552 Left 2 !.tran 0 20m 0 TEXT 136 1488 Left 2 !.param Ra=120k TEXT 136 1512 Left 2 !.param Rb=1k TEXT 144 1544 Left 2 ;The AP8567 is the quad version TEXT 144 1568 Left 2 ;AP8648 for battery-powered and-or low voltage <5V TEXT 144 1592 Left 2 ;The OP462 is the better version of the AP8567 TEXT -1656 1568 Left 2 ;Any 2.5V zener-voltage reference would do TEXT -544 1008 Left 2 ;makeshift minimum voltage selector, \nuse a set maximum voltage as a soft start TEXT -1312 664 Left 2 ;made with two nors TEXT 1000 112 Left 2 !K1 LP LS 0.998 LINE Normal 1056 256 1056 160 LINE Normal 1072 256 1072 160 LINE Normal 1968 592 1904 672 LINE Normal 1954 599 1968 592 LINE Normal 1968 592 1954 599 2 LINE Normal 1965 605 1968 592