From b10f9a5b13e4bade96a6fe05f4731f279ca8f03b Mon Sep 17 00:00:00 2001 From: Alessandro Mauri Date: Sun, 7 May 2023 17:57:04 +0200 Subject: [PATCH] cool werks --- ccm_model.asc | 111 +++++++++++++++++++++++++++++++++++--------------- 1 file changed, 78 insertions(+), 33 deletions(-) diff --git a/ccm_model.asc b/ccm_model.asc index fa5f52e..adcb97c 100755 --- a/ccm_model.asc +++ b/ccm_model.asc @@ -11,12 +11,16 @@ WIRE 976 96 576 96 WIRE 1264 96 1168 96 WIRE 1408 96 1328 96 WIRE 1568 96 1408 96 +WIRE 1696 96 1568 96 +WIRE 1872 96 1760 96 +WIRE 2032 96 1872 96 WIRE 976 160 976 96 WIRE 1168 160 1168 96 WIRE 1408 176 1408 96 WIRE 1568 176 1568 96 +WIRE 1872 176 1872 96 +WIRE 2032 176 2032 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 @@ -31,28 +35,33 @@ 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 1872 288 1872 240 +WIRE 1872 288 1568 288 +WIRE 1920 288 1872 288 +WIRE 2032 288 2032 240 +WIRE 2032 288 1984 288 +WIRE 2224 288 2032 288 +WIRE 2368 288 2304 288 +WIRE 2720 288 2368 288 WIRE 1056 336 1056 288 +WIRE 1568 336 1568 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 1568 464 1568 416 +WIRE 1616 464 1568 464 +WIRE 1632 464 1616 464 +WIRE 2368 464 2368 288 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 1568 496 1568 464 +WIRE 2720 496 2720 288 WIRE -480 512 -480 480 WIRE -1168 544 -1184 544 WIRE -992 544 -1168 544 @@ -60,7 +69,8 @@ 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 1568 592 1568 576 +WIRE 1568 592 1472 592 WIRE -1232 608 -1632 608 WIRE -1120 608 -1168 608 WIRE -992 608 -1120 608 @@ -75,11 +85,13 @@ WIRE 976 608 976 576 WIRE 976 608 880 608 WIRE 1056 608 1056 512 WIRE 1056 608 976 608 +WIRE 1568 624 1568 592 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 1472 640 1472 592 WIRE -1024 672 -1024 480 WIRE -736 672 -736 544 WIRE -736 672 -1024 672 @@ -101,10 +113,14 @@ 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 1472 752 1472 704 +WIRE 1472 752 1168 752 +WIRE 1568 752 1568 704 +WIRE 1568 752 1472 752 +WIRE 2368 752 2368 528 +WIRE 2368 752 1568 752 +WIRE 2720 752 2720 576 +WIRE 2720 752 2368 752 WIRE 976 768 976 752 WIRE 1168 768 1168 752 WIRE -1632 800 -1632 720 @@ -198,7 +214,7 @@ 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 1616 464 vfeed FLAG 96 96 vcc FLAG 576 1376 0 FLAG 576 1056 vcc @@ -238,6 +254,7 @@ FLAG 1168 768 0 FLAG -832 1680 0 FLAG -704 1376 vcc FLAG -704 1552 0 +FLAG 2368 288 vout SYMBOL voltage -80 240 R0 WINDOW 123 0 0 Left 0 WINDOW 39 24 124 Left 2 @@ -247,12 +264,6 @@ 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 @@ -406,9 +417,6 @@ 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 @@ -440,13 +448,50 @@ SYMATTR Value 1n SYMBOL diode 1552 176 R0 SYMATTR InstName D3 SYMATTR Value RFN10NS8D -SYMBOL res 1552 304 R0 +SYMBOL res 2208 304 R270 +WINDOW 0 32 56 VTop 2 +WINDOW 3 0 56 VBottom 2 SYMATTR InstName R8 SYMATTR Value 22 -SYMBOL cap 1552 464 R0 +SYMBOL cap 2352 464 R0 SYMATTR InstName C18 +SYMATTR Value 10n +SYMBOL cap 1760 80 R90 +WINDOW 0 0 32 VBottom 2 +WINDOW 3 32 32 VTop 2 +SYMATTR InstName C9 SYMATTR Value 1n -TEXT 3576 552 Left 2 !.tran 0 20m 0 +SYMBOL diode 1888 240 R180 +WINDOW 0 24 64 Left 2 +WINDOW 3 24 0 Left 2 +SYMATTR InstName D2 +SYMATTR Value RFN10NS8D +SYMBOL cap 1984 272 R90 +WINDOW 0 0 32 VBottom 2 +WINDOW 3 32 32 VTop 2 +SYMATTR InstName C14 +SYMATTR Value 1n +SYMBOL diode 2016 176 R0 +SYMATTR InstName D7 +SYMATTR Value RFN10NS8D +SYMBOL res 1552 320 R0 +SYMATTR InstName R12 +SYMATTR Value 5.6Meg +SYMBOL res 1552 480 R0 +SYMATTR InstName R21 +SYMATTR Value 33k +SYMBOL res 1552 608 R0 +SYMATTR InstName R22 +SYMATTR Value 1.5k +SYMBOL cap 1456 640 R0 +SYMATTR InstName C15 +SYMATTR Value 1n +SYMBOL current 2720 496 R0 +WINDOW 123 0 0 Left 0 +WINDOW 39 0 0 Left 0 +SYMATTR InstName I1 +SYMATTR Value PULSE(10u 100u 4m 1n 240u 10u 500u 10000) +TEXT 2328 816 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 @@ -458,7 +503,7 @@ 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 +LINE Normal 1600 624 1536 704 +LINE Normal 1586 631 1600 624 +LINE Normal 1600 624 1586 631 2 +LINE Normal 1597 637 1600 624