diff --git a/ccm_model.asc b/ccm_model.asc index ebc9c15..7851713 100755 --- a/ccm_model.asc +++ b/ccm_model.asc @@ -57,19 +57,18 @@ WIRE 1200 432 944 432 WIRE 1488 432 1488 272 WIRE 1488 432 1200 432 WIRE -592 464 -592 432 -WIRE 336 592 336 576 -WIRE 336 592 272 592 -WIRE 272 608 272 592 +WIRE 368 624 368 608 +WIRE 368 624 304 624 +WIRE 304 640 304 624 WIRE 1360 656 1360 576 -WIRE 272 688 272 672 WIRE 1296 704 1264 704 -WIRE 368 720 208 720 -WIRE 464 720 448 720 +WIRE 304 720 304 704 WIRE -784 752 -784 704 WIRE -784 752 -1152 752 WIRE -640 752 -784 752 +WIRE 400 752 240 752 +WIRE 496 752 480 752 WIRE -1152 784 -1152 752 -WIRE 336 784 336 592 WIRE 896 784 880 784 WIRE 960 784 896 784 WIRE 1168 784 1056 784 @@ -78,48 +77,46 @@ WIRE 1264 784 1248 784 WIRE 1360 784 1360 752 WIRE 1488 784 1360 784 WIRE 1616 784 1568 784 -WIRE 208 800 208 720 -WIRE 304 800 208 800 WIRE 672 800 672 656 -WIRE 464 816 464 720 -WIRE 464 816 368 816 -WIRE 560 816 464 816 +WIRE 368 816 368 624 +WIRE 592 816 576 816 WIRE 640 816 592 816 WIRE 1360 816 1360 784 WIRE -640 832 -640 752 -WIRE 16 832 -16 832 -WIRE 144 832 96 832 -WIRE 304 832 144 832 +WIRE 240 832 240 752 +WIRE 336 832 240 832 WIRE 960 832 704 832 WIRE 1616 832 1616 784 -WIRE 560 848 592 816 -WIRE 592 848 560 816 -WIRE 640 848 592 848 -WIRE 144 864 144 832 -WIRE 208 864 208 800 +WIRE 496 848 496 752 +WIRE 496 848 400 848 +WIRE 640 848 496 848 +WIRE 48 864 16 864 +WIRE 176 864 128 864 +WIRE 336 864 176 864 WIRE 1264 864 1264 784 WIRE 1296 864 1264 864 WIRE -1040 880 -1104 880 WIRE -784 880 -784 752 WIRE -784 880 -816 880 -WIRE 336 896 336 848 -WIRE 560 896 560 848 +WIRE 176 896 176 864 +WIRE 240 896 240 832 WIRE 672 912 672 864 WIRE 960 912 960 864 +WIRE 368 928 368 880 WIRE -1040 944 -1072 944 WIRE -640 944 -640 912 WIRE -640 944 -816 944 WIRE -528 944 -640 944 WIRE -640 960 -640 944 WIRE -528 976 -528 944 -WIRE 144 976 144 944 -WIRE 208 976 208 944 WIRE 1360 976 1360 912 WIRE 1616 976 1616 896 WIRE -1216 1008 -1232 1008 WIRE -1040 1008 -1216 1008 WIRE -784 1008 -816 1008 WIRE -704 1008 -784 1008 +WIRE 176 1008 176 976 +WIRE 240 1008 240 976 WIRE -1152 1072 -1152 864 WIRE -1040 1072 -1152 1072 WIRE -752 1072 -816 1072 @@ -141,22 +138,28 @@ WIRE -640 1200 -752 1200 WIRE -1104 1216 -1104 1200 WIRE 480 1248 256 1248 WIRE 576 1248 544 1248 +WIRE 1184 1264 1184 1216 WIRE 80 1312 80 1264 WIRE 256 1344 256 1248 WIRE 304 1344 256 1344 WIRE 480 1344 384 1344 WIRE 576 1344 576 1248 WIRE 576 1344 544 1344 +WIRE 1184 1376 1184 1344 +WIRE 1312 1376 1184 1376 WIRE 416 1408 416 1200 WIRE 192 1424 176 1424 WIRE 256 1424 256 1344 WIRE 256 1424 192 1424 WIRE 384 1424 256 1424 +WIRE 1184 1424 1184 1376 +WIRE 1312 1424 1312 1376 WIRE 576 1440 576 1344 WIRE 576 1440 448 1440 WIRE 656 1440 576 1440 WIRE 80 1456 80 1392 -WIRE 256 1456 80 1456 +WIRE 128 1456 80 1456 +WIRE 256 1456 128 1456 WIRE 384 1456 256 1456 WIRE 576 1472 576 1440 WIRE 416 1520 416 1472 @@ -164,20 +167,27 @@ WIRE 80 1552 80 1456 WIRE 256 1552 256 1456 WIRE 576 1568 576 1552 WIRE 672 1568 576 1568 -WIRE 688 1568 672 1568 +WIRE 768 1568 672 1568 +WIRE 784 1568 768 1568 +WIRE 1184 1568 1184 1488 +WIRE 1184 1568 1120 1568 WIRE 576 1600 576 1568 +WIRE 672 1600 672 1568 +WIRE 1312 1600 1312 1488 +WIRE 1312 1600 1120 1600 WIRE 80 1680 80 1616 WIRE 256 1680 256 1616 WIRE 576 1712 576 1680 +WIRE 672 1712 672 1664 FLAG 992 224 vfeed FLAG 416 256 ifeed FLAG 240 192 vg FLAG -592 464 0 FLAG -416 48 vcc -FLAG 336 896 0 -FLAG 336 576 vcc -FLAG 208 976 0 -FLAG -16 832 ifeed +FLAG 368 928 0 +FLAG 368 608 vcc +FLAG 240 1008 0 +FLAG 16 864 ifeed FLAG 672 912 0 FLAG 672 656 vcc FLAG 960 912 0 @@ -186,8 +196,8 @@ FLAG 1616 784 vg FLAG 416 1520 0 FLAG 416 1200 vcc FLAG 192 1424 vfeed -FLAG 672 1568 verr -FLAG 560 896 verr +FLAG 768 1568 verr +FLAG 592 816 verr FLAG 576 1712 0 FLAG 1360 976 0 FLAG 1360 576 vcc @@ -196,11 +206,14 @@ FLAG -1104 1216 0 FLAG -784 704 vcc FLAG -1216 1008 vsq FLAG 1440 48 out -FLAG 144 976 0 -FLAG 272 688 0 +FLAG 176 1008 0 +FLAG 304 720 0 FLAG 80 1680 0 FLAG 256 1680 0 FLAG 80 1264 vcc +FLAG 672 1712 0 +FLAG 128 1456 vref +FLAG 1184 1216 vcc SYMBOL voltage -592 192 R0 WINDOW 123 0 0 Left 0 WINDOW 39 24 124 Left 2 @@ -236,12 +249,12 @@ SYMATTR Value 680k SYMBOL res 928 256 R0 SYMATTR InstName R4 SYMATTR Value 10k -SYMBOL res 464 704 R90 +SYMBOL res 496 736 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R6 SYMATTR Value {Ra} -SYMBOL res 192 848 R0 +SYMBOL res 224 880 R0 SYMATTR InstName R7 SYMATTR Value {Rb} SYMBOL Digital\\srflop 1008 736 R0 @@ -281,7 +294,7 @@ SYMBOL res 1264 768 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R10 -SYMATTR Value 1.5k +SYMATTR Value 1.2k SYMBOL res 1584 768 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 @@ -336,23 +349,17 @@ SYMATTR InstName D4 SYMATTR Value 1N5817 SYMATTR Description Diode SYMATTR Type diode -SYMBOL OpAmps\\AD8648 672 768 R0 -SYMATTR InstName U3 -SYMBOL OpAmps\\AD8648 336 752 R0 -SYMATTR InstName U1 -SYMBOL OpAmps\\AD8648 416 1376 R0 -SYMATTR InstName U2 -SYMBOL res 112 816 R90 +SYMBOL res 144 848 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R16 SYMATTR Value {Rb} -SYMBOL res 160 960 R180 +SYMBOL res 192 992 R180 WINDOW 0 36 76 Left 2 WINDOW 3 36 40 Left 2 SYMATTR InstName R15 SYMATTR Value {Ra} -SYMBOL cap 256 608 R0 +SYMBOL cap 288 640 R0 SYMATTR InstName C8 SYMATTR Value 1µ SYMBOL cap 48 224 R0 @@ -385,14 +392,42 @@ SYMATTR Value 140n SYMATTR SpiceLine Ipk=0.5 Rser=0.056 Rpar=90 Cpar=640f mfg="Würth Elektronik" pn="782632620 WE-CBA 0603" SYMBOL References\\LT1634-2.5 80 1584 R0 SYMATTR InstName U5 -TEXT -296 -88 Left 2 !.tran 0 16m 0 +SYMBOL OpAmps\\AD8565 672 768 R0 +SYMATTR InstName U6 +SYMBOL OpAmps\\AD8565 368 784 R0 +SYMATTR InstName U1 +SYMBOL OpAmps\\AD8565 416 1376 R0 +SYMATTR InstName U2 +SYMBOL cap 656 1600 R0 +SYMATTR InstName C9 +SYMATTR Value 10n +SYMBOL schottky 1168 1424 R0 +SYMATTR InstName D5 +SYMATTR Value 1N5817 +SYMATTR Description Diode +SYMATTR Type diode +SYMBOL schottky 1296 1424 R0 +SYMATTR InstName D6 +SYMATTR Value 1N5817 +SYMATTR Description Diode +SYMATTR Type diode +SYMBOL res 1168 1248 R0 +SYMATTR InstName R18 +SYMATTR Value 10k +TEXT 1600 328 Left 2 !.tran 0 16m 0 TEXT 520 280 Left 2 ;snubber here -TEXT 1592 200 Left 2 !.step param Il list 10u 2m 4m 6m 8m 10m 12m 14m +TEXT 1592 184 Left 2 !.step param Il list 10u 2m 4m 6m 8m 10m 12m 14m TEXT 1592 232 Left 2 !.meas Pin AVG -V(vcc)*I(V1) TEXT 1592 256 Left 2 !.meas Pout AVG V(OUT)*I(I1) TEXT 1592 280 Left 2 !.meas Eff param Pout/Pin -TEXT 1624 144 Left 2 !*.param Il=6m +TEXT 1576 160 Left 2 !*.param Il=6m TEXT -296 -24 Left 2 !.ic V(vcc)=5 I(L1)=0 -TEXT 312 952 Left 2 !.param Ra=98k -TEXT 312 976 Left 2 !.param Rb=5.2k +TEXT 344 984 Left 2 !.param Ra=98k +TEXT 344 1008 Left 2 !.param Rb=5.2k TEXT -296 -56 Left 2 ;Ferrite Bead, approx. CBM321609U600T +TEXT 352 1040 Left 2 ;The AP8567 is the quad version +TEXT 352 1064 Left 2 ;AP8648 for battery-powered and-or low voltage <5V +TEXT 352 1088 Left 2 ;The OP462 is the better version of the AP8567 +TEXT 8 1728 Left 2 ;Any 2.5V zener-voltage reference would do +TEXT 752 1536 Left 2 !.ic V(verr)=0 +TEXT 1200 1104 Left 2 ;Make a makeshift minimum voltage selector, if the volage is higher than 2.5V\n(Or 5V if I choose to discard the resistor divider) then use a set maximum voltage\nas a soft start