Skip to content

Instantly share code, notes, and snippets.

@ericfont
Created December 11, 2025 23:11
Show Gist options
  • Select an option

  • Save ericfont/86d55909d121bbe087f6b11d9b569a93 to your computer and use it in GitHub Desktop.

Select an option

Save ericfont/86d55909d121bbe087f6b11d9b569a93 to your computer and use it in GitHub Desktop.
delta + DSM
Display the source blob
Display the rendered blob
Raw
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="748" height="388"><defs><linearGradient id="IfKFoCNGBDDT" x1="0px" x2="32px" y1="0px" y2="0px" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#807f7f"/><stop offset="1" stop-color="#6c936c"/></linearGradient><linearGradient id="zlZIoMQBNpIe" x1="0px" x2="32px" y1="0px" y2="0px" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#6c936c"/><stop offset="1" stop-color="#689768"/></linearGradient><linearGradient id="LaGFUPKztAwG" x1="0px" x2="32px" y1="0px" y2="0px" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#708f70"/><stop offset="1" stop-color="#6c936c"/></linearGradient><linearGradient id="QHsabllrNdlB" x1="0px" x2="32px" y1="0px" y2="0px" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#6c936c"/><stop offset="1" stop-color="#689768"/></linearGradient><linearGradient id="ldEhtdsoTAcC" x1="0px" x2="32px" y1="0px" y2="0px" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#6c936c"/><stop offset="1" stop-color="#6c936c"/></linearGradient></defs><g><rect fill="#000000" stroke="none" x="0" y="0" width="748" height="388"/><g transform="scale(1,1) translate(86,2)"><g><g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="14px" font-style="normal" font-weight="normal" text-decoration="normal" x="299" y="106" text-anchor="start" dominant-baseline="central">export</text></g><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 320 144 L 320 120" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 96 80 L 96 65" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="10px" font-style="normal" font-weight="normal" text-decoration="normal" x="83" y="51" text-anchor="start" dominant-baseline="central">+2.5V</text></g><g><g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="14px" font-style="normal" font-weight="normal" text-decoration="normal" x="10" y="144" text-anchor="start" dominant-baseline="central">export</text></g><path fill="none" stroke="#689768" paint-order="fill stroke markers" d=" M 80 144 L 56 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><path fill="none" stroke="#708f70" paint-order="fill stroke markers" d=" M 80 112 L 80 112" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#708f70" paint-order="fill stroke markers" d=" M 64 80 L 64 80" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 96 80 L 96 80" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#ffffff" paint-order="fill stroke markers" d=" M 80 112 L 64 80" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 128 144 L 142 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 128 176 L 142 176" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 194 160 L 208 160" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#c0c0c0" paint-order="fill stroke markers" d=" M 142 128 L 142 192 L 194 160 Z" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g><text fill="#c0c0c0" stroke="none" font-family="sans-serif" font-size="14px" font-style="normal" font-weight="normal" text-decoration="normal" x="152" y="142" text-anchor="middle" dominant-baseline="central">-</text></g><g><text fill="#c0c0c0" stroke="none" font-family="sans-serif" font-size="14px" font-style="normal" font-weight="normal" text-decoration="normal" x="152" y="176" text-anchor="middle" dominant-baseline="central">+</text></g><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 320 144 L 320 224" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="326" y="190" text-anchor="start" dominant-baseline="alphabetic"></text><g><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 208 160 L 224 160" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="normal" font-size="20px" font-style="normal" font-weight="normal" text-decoration="normal" x="229" y="166" text-anchor="start" dominant-baseline="alphabetic">D</text><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 304 160 L 288 160" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="normal" font-size="20px" font-style="normal" font-weight="normal" text-decoration="normal" x="269" y="166" text-anchor="start" dominant-baseline="alphabetic">Q</text><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 304 224 L 288 224" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="normal" font-size="20px" font-style="normal" font-weight="normal" text-decoration="normal" x="269" y="230" text-anchor="start" dominant-baseline="alphabetic">Q</text><path fill="none" stroke="#ffffff" paint-order="fill stroke markers" d=" M 269 210 L 283 210" stroke-linecap="round" stroke-miterlimit="10" stroke-dasharray=""/><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 208 192 L 224 192" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#c0c0c0" paint-order="fill stroke markers" d=" M 224 184 L 240 192 L 224 200 Z" stroke-linecap="round" stroke-miterlimit="10" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="normal" font-size="20px" font-style="normal" font-weight="normal" text-decoration="normal" x="229" y="198" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#c0c0c0" paint-order="fill stroke markers" d=" M 224 144 L 288 144 L 288 240 L 224 240 Z" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 208 192 L 208 195" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="198" y="207" text-anchor="start" dominant-baseline="central">CLK</text></g><path fill="none" stroke="#689768" paint-order="fill stroke markers" d=" M 592 208 L 592 336" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="598" y="278" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#738c73" paint-order="fill stroke markers" d=" M 16 80 L 1 80" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#808080" paint-order="fill stroke markers" d=" M 0.6600000000000001 80 A 16.66 16.66 0 1 1 0.6599916700006929 79.98334000277666" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#808080" paint-order="fill stroke markers" d=" M -26 80 L -25 78 L -24 76 L -23 74 L -22 73 L -21 73 L -20 73 L -19 74 L -18 76 L -17 78 L -16 80 L -15 82 L -14 84 L -13 86 L -12 87 L -11 87 L -10 87 L -9 86 L -8 84 L -7 82 L -6 80" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="-33" y="61" text-anchor="start" dominant-baseline="alphabetic">10kHz</text><path fill="none" stroke="#689768" paint-order="fill stroke markers" d=" M 128 336 L 288 336" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="208" y="330" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#689768" paint-order="fill stroke markers" d=" M 80 176 L 80 336" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="86" y="262" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#738c73" paint-order="fill stroke markers" d=" M 16 80 L 23 80" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#708f70" paint-order="fill stroke markers" d=" M 57 80 L 64 80" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#808080" paint-order="fill stroke markers" d=" M 56.66 80 A 16.66 16.66 0 1 1 56.65999167000069 79.98334000277666" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#808080" paint-order="fill stroke markers" d=" M 30 80 L 31 78 L 32 76 L 33 74 L 34 73 L 35 73 L 36 73 L 37 74 L 38 76 L 39 78 L 40 80 L 41 82 L 42 84 L 43 86 L 44 87 L 45 87 L 46 87 L 47 86 L 48 84 L 49 82 L 50 80" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="27" y="61" text-anchor="start" dominant-baseline="alphabetic">1kHz</text><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="58" y="74" text-anchor="start" dominant-baseline="alphabetic">*</text><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 512 144 L 526 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 512 176 L 526 176" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#689768" paint-order="fill stroke markers" d=" M 578 160 L 592 160" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#c0c0c0" paint-order="fill stroke markers" d=" M 526 128 L 526 192 L 578 160 Z" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g><text fill="#c0c0c0" stroke="none" font-family="sans-serif" font-size="14px" font-style="normal" font-weight="normal" text-decoration="normal" x="536" y="142" text-anchor="middle" dominant-baseline="central">-</text></g><g><text fill="#c0c0c0" stroke="none" font-family="sans-serif" font-size="14px" font-style="normal" font-weight="normal" text-decoration="normal" x="536" y="176" text-anchor="middle" dominant-baseline="central">+</text></g><path fill="none" stroke="#689768" paint-order="fill stroke markers" d=" M 592 208 L 592 160" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="598" y="190" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 368 144 L 416 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 448 144 L 496 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g transform="matrix(1,0,0,1,416,144)"><path fill="none" stroke="url(#IfKFoCNGBDDT)" paint-order="fill stroke markers" d=" M 0 0 L 2 6 L 6 -6 L 10 6 L 14 -6 L 18 6 L 22 -6 L 26 6 L 30 -6 L 32 0" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="422" y="134" text-anchor="start" dominant-baseline="alphabetic">20k</text><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 496 144 L 512 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="504" y="138" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#689768" paint-order="fill stroke markers" d=" M 592 112 L 556 112" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#689768" paint-order="fill stroke markers" d=" M 556 124 L 556 100" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 512 112 L 548 112" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 548 124 L 548 100" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="542" y="98" text-anchor="start" dominant-baseline="alphabetic">1nF</text><path fill="none" stroke="#689768" paint-order="fill stroke markers" d=" M 592 112 L 592 160" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="598" y="142" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 320 144 L 330 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 358 144 L 368 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#c0c0c0" paint-order="fill stroke markers" d=" M 330 128 L 330 160 L 358 144 Z" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#689768" paint-order="fill stroke markers" d=" M 592 336 L 288 336" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="440" y="330" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 512 112 L 512 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="518" y="134" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 512 176 L 512 191" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="496" y="203" text-anchor="start" dominant-baseline="central">+2.5V</text></g><path fill="none" stroke="#689768" paint-order="fill stroke markers" d=" M 128 336 L 80 336" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="104" y="330" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#689768" paint-order="fill stroke markers" d=" M 80 176 L 80 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="86" y="166" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 128 176 L 128 191" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="112" y="203" text-anchor="start" dominant-baseline="central">+2.5V</text></g><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 128 144 L 120 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#689768" paint-order="fill stroke markers" d=" M 88 144 L 80 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g transform="matrix(-1,0,0,-1,120,144)"><path fill="none" stroke="url(#zlZIoMQBNpIe)" paint-order="fill stroke markers" d=" M 0 0 L 2 6 L 6 -6 L 10 6 L 14 -6 L 18 6 L 22 -6 L 26 6 L 30 -6 L 32 0" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="98" y="134" text-anchor="start" dominant-baseline="alphabetic">1k</text><path fill="none" stroke="#708f70" paint-order="fill stroke markers" d=" M 80 112 L 88 112" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 120 112 L 128 112" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g transform="matrix(1,0,0,1,88,112)"><path fill="none" stroke="url(#LaGFUPKztAwG)" paint-order="fill stroke markers" d=" M 0 0 L 2 6 L 6 -6 L 10 6 L 14 -6 L 18 6 L 22 -6 L 26 6 L 30 -6 L 32 0" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="98" y="102" text-anchor="start" dominant-baseline="alphabetic">1k</text><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 128 144 L 128 112" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="134" y="134" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 128 112 L 164 112" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 164 100 L 164 124" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 208 112 L 172 112" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 172 100 L 172 124" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="158" y="98" text-anchor="start" dominant-baseline="alphabetic">1nF</text><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 208 112 L 208 160" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="214" y="142" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 320 224 L 304 224" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="312" y="218" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 512 64 L 536 64" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#689768" paint-order="fill stroke markers" d=" M 568 64 L 592 64" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g transform="matrix(1,0,0,1,536,64)"><path fill="none" stroke="url(#QHsabllrNdlB)" paint-order="fill stroke markers" d=" M 0 0 L 2 6 L 6 -6 L 10 6 L 14 -6 L 18 6 L 22 -6 L 26 6 L 30 -6 L 32 0" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="540" y="54" text-anchor="start" dominant-baseline="alphabetic">10M</text><path fill="none" stroke="#689768" paint-order="fill stroke markers" d=" M 592 64 L 592 112" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="598" y="94" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 512 112 L 512 64" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="518" y="94" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 128 64 L 152 64" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 184 64 L 208 64" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g transform="matrix(1,0,0,1,152,64)"><path fill="none" stroke="url(#ldEhtdsoTAcC)" paint-order="fill stroke markers" d=" M 0 0 L 2 6 L 6 -6 L 10 6 L 14 -6 L 18 6 L 22 -6 L 26 6 L 30 -6 L 32 0" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="158" y="54" text-anchor="start" dominant-baseline="alphabetic">10k</text><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 208 64 L 208 112" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="214" y="94" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 128 112 L 128 64" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="134" y="94" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 323 144 A 3 3 0 1 1 322.99999999995777 143.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 83 144 A 3 3 0 1 1 82.99999999995775 143.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 131 144 A 3 3 0 1 1 130.99999999995774 143.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 211 160 A 3 3 0 1 1 210.99999999995774 159.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 307 160 A 3 3 0 1 1 306.99999999995777 159.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 515 144 A 3 3 0 1 1 514.9999999999577 143.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 595 160 A 3 3 0 1 1 594.9999999999577 159.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 595 112 A 3 3 0 1 1 594.9999999999577 111.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 515 112 A 3 3 0 1 1 514.9999999999577 111.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 131 112 A 3 3 0 1 1 130.99999999995774 111.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 211 112 A 3 3 0 1 1 210.99999999995774 111.99998407846124 Z"/></g></g></svg>
@ericfont
Copy link
Author

sim

image image image

@ericfont
Copy link
Author

image

@ericfont
Copy link
Author

retry exactly 200kHz oscillation peak

image

(obviously need longer simulation time to get more accuracy for above)

image image

@ericfont
Copy link
Author

raw PWM output without integration:

image

@ericfont
Copy link
Author

ericfont commented Dec 12, 2025

if apply sinc filter with nulls every multiple of 275kHz, and then resample at twice that, then the 275kHz components will be very very small when folded into baseband audio.

Alternatively could try to null the peaks at 200kHz and 370kHz.

Or could have nulls at 100kHz, 200kHz, 300kHz, 400kHz, etc. Need to investigate and see what noise distribution looks like.

@ericfont
Copy link
Author

if apply a simple-moving average with the null point being 275kHz:

image

@ericfont
Copy link
Author

ericfont commented Dec 12, 2025

if instead null multiples of 200kHz:

sinc1:
image

sinc2:
image

sinc3:
image

sinc4:
image

sinc5:
image

@ericfont
Copy link
Author

Possibly the lowpass enveloped matched an integrator in low freqs, then wouldn't need to apply integrator again. Maybe a lower null would match it better.

Could send raw pulse widths or could downsample before transmitting.

To do a DAC from 40kHz first could zero expand to 200kHz, and then could simulate the circuit digitally, which would generate a PWM that could then in analog domain be integrated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment