Skip to content

Instantly share code, notes, and snippets.

@ericfont
Created March 15, 2025 20:13
Show Gist options
  • Save ericfont/687571f1007253833bdff6a4eb567616 to your computer and use it in GitHub Desktop.
Save ericfont/687571f1007253833bdff6a4eb567616 to your computer and use it in GitHub Desktop.
top up comparator (or opamp) compensation bias voltage periodically
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="332" height="276"><defs><linearGradient id="nzRKqkSClLRJ" x1="0px" x2="32px" y1="0px" y2="0px" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#56a956"/><stop offset="1" stop-color="#56a956"/></linearGradient><linearGradient id="zUcgZyndmJbR" x1="0px" x2="32px" y1="0px" y2="0px" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#56a956"/><stop offset="1" stop-color="#56a956"/></linearGradient></defs><g><rect fill="#000000" stroke="none" x="0" y="0" width="332" height="276"/><g transform="scale(1,1) translate(-698,-414)"><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 816 464 L 830 464" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#57a757" paint-order="fill stroke markers" d=" M 816 496 L 830 496" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#996565" paint-order="fill stroke markers" d=" M 882 480 L 896 480" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#c0c0c0" paint-order="fill stroke markers" d=" M 830 448 L 830 512 L 882 480 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="840" y="462" 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="840" y="496" text-anchor="middle" dominant-baseline="central">+</text></g><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 800 592 L 785 592" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="14px" font-style="normal" font-weight="normal" text-decoration="normal" x="743" y="592" text-anchor="start" dominant-baseline="central">+1.7V</text></g><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 800 592 L 800 584" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 800 552 L 800 544" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g transform="matrix(0,-1,1,0,800,584)"><path fill="none" stroke="url(#nzRKqkSClLRJ)" 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="810" y="574" text-anchor="start" dominant-baseline="alphabetic">1M</text><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 848 592 L 848 584" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 848 552 L 848 544" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g transform="matrix(0,-1,1,0,848,584)"><path fill="none" stroke="url(#zUcgZyndmJbR)" 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="858" y="574" text-anchor="start" dominant-baseline="alphabetic">10M</text><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 816 544 L 800 544" 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="808" y="538" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 816 544 L 848 544" 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="832" y="538" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 816 464 L 801 464" 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="765" y="464" text-anchor="start" dominant-baseline="central">+1.7V</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="960" y="544" text-anchor="middle" dominant-baseline="central">1659.99 mV</text></g><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 912 544 L 913 544" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 848 544 L 912 544" 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="880" y="538" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 912 544 L 912 564" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 924 564 L 900 564" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 912 592 L 912 572" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 924 572 L 900 572" 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="926" y="574" text-anchor="start" dominant-baseline="alphabetic">100nF</text><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 912 592 L 912 608" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 922 608 L 902 608" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 918 613 L 906 613" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 914 618 L 910 618" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#996565" paint-order="fill stroke markers" d=" M 896 480 L 944 480" 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="920" y="474" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 816 544 L 816 524" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#57a757" paint-order="fill stroke markers" d=" M 816 516 L 816 496" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 806 524 L 826 524" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#57a757" paint-order="fill stroke markers" d=" M 800 516 L 832 516" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#2cd22c" paint-order="fill stroke markers" d=" M 848 640 L 833 640" 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="797" y="640" text-anchor="start" dominant-baseline="central">+3.3V</text></g><path fill="none" stroke="#2cd22c" paint-order="fill stroke markers" d=" M 848 640 L 848 632" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 848 600 L 848 592" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#ffffff" paint-order="fill stroke markers" d=" M 848 632 L 832 600" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 851 544 A 3 3 0 1 1 850.9999999999577 543.9999840784612 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 819 544 A 3 3 0 1 1 818.9999999999577 543.9999840784612 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 915 544 A 3 3 0 1 1 914.9999999999577 543.9999840784612 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 947 480 A 3 3 0 1 1 946.9999999999577 479.99998407846124 Z"/></g></g></svg>