Created
June 28, 2025 22:32
-
-
Save ericfont/754803f65917529d596af814b6f61a84 to your computer and use it in GitHub Desktop.
opamp voltage-doubler and conditional subrator...could chain this for each bit of ADC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="492" height="292"><defs><linearGradient id="CMLrRhhvbUTt" x1="0px" x2="32px" y1="0px" y2="0px" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#679867"/><stop offset="1" stop-color="#1ae41a"/></linearGradient><linearGradient id="DnfReucRTxGi" x1="0px" x2="32px" y1="0px" y2="0px" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#679867"/><stop offset="1" stop-color="#807f7f"/></linearGradient><linearGradient id="GLhnhEloBuXr" x1="0px" x2="32px" y1="0px" y2="0px" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#1ae41a"/><stop offset="1" stop-color="#679867"/></linearGradient><linearGradient id="CLXIXAXKNyFo" x1="0px" x2="32px" y1="0px" y2="0px" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#b34c4c"/><stop offset="1" stop-color="#679867"/></linearGradient></defs><g><rect fill="#000000" stroke="none" x="0" y="0" width="492" height="292"/><g transform="scale(1,1) translate(-698,-254)"><path fill="none" stroke="#679867" paint-order="fill stroke markers" d=" M 832 400 L 854 400" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#679867" paint-order="fill stroke markers" d=" M 832 432 L 854 432" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#1ae41a" paint-order="fill stroke markers" d=" M 906 416 L 928 416" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#c0c0c0" paint-order="fill stroke markers" d=" M 854 384 L 854 448 L 906 416 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="864" y="398" 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="864" y="432" text-anchor="middle" dominant-baseline="central">+</text></g><path fill="none" stroke="#679867" paint-order="fill stroke markers" d=" M 832 432 L 832 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="838" y="462" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#679867" paint-order="fill stroke markers" d=" M 832 480 L 880 480" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#1ae41a" paint-order="fill stroke markers" d=" M 912 480 L 960 480" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g transform="matrix(1,0,0,1,880,480)"><path fill="none" stroke="url(#CMLrRhhvbUTt)" 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="890" y="470" text-anchor="start" dominant-baseline="alphabetic">3k</text><path fill="none" stroke="#1ae41a" paint-order="fill stroke markers" d=" M 960 480 L 960 416" 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="966" y="454" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#679867" paint-order="fill stroke markers" d=" M 832 480 L 816 480" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 784 480 L 768 480" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g transform="matrix(-1,0,0,-1,816,480)"><path fill="none" stroke="url(#DnfReucRTxGi)" 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="794" y="470" text-anchor="start" dominant-baseline="alphabetic">1k</text><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 768 480 L 768 496" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 778 496 L 758 496" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 774 501 L 762 501" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 770 506 L 766 506" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#679867" paint-order="fill stroke markers" d=" M 832 400 L 785 400" 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="759" y="400" text-anchor="start" dominant-baseline="central">+1V</text></g><path fill="none" stroke="#1ae41a" paint-order="fill stroke markers" d=" M 928 416 L 960 416" 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="937" y="410" text-anchor="start" dominant-baseline="alphabetic">4V</text><path fill="none" stroke="#4db14d" paint-order="fill stroke markers" d=" M 960 352 L 966 352" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#1ae41a" paint-order="fill stroke markers" d=" M 960 384 L 966 384" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#01fd01" paint-order="fill stroke markers" d=" M 1018 368 L 1024 368" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#c0c0c0" paint-order="fill stroke markers" d=" M 966 336 L 966 400 L 1018 368 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="976" y="350" 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="976" y="384" text-anchor="middle" dominant-baseline="central">+</text></g><path fill="none" stroke="#4db14d" paint-order="fill stroke markers" d=" M 960 352 L 957 352" 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="928" y="352" text-anchor="start" dominant-baseline="central">+2V</text></g><path fill="none" stroke="#b34c4c" paint-order="fill stroke markers" d=" M 1008 336 L 1005 336" 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="978" y="336" text-anchor="start" dominant-baseline="central">-2V</text></g><path fill="none" stroke="#1ae41a" paint-order="fill stroke markers" d=" M 960 416 L 1000 416" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#679867" paint-order="fill stroke markers" d=" M 1032 416 L 1072 416" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g transform="matrix(1,0,0,1,1000,416)"><path fill="none" stroke="url(#GLhnhEloBuXr)" 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="1010" y="406" text-anchor="start" dominant-baseline="alphabetic">1k</text><path fill="none" stroke="#679867" paint-order="fill stroke markers" d=" M 1072 368 L 1072 416" 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="1078" y="398" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#b34c4c" paint-order="fill stroke markers" d=" M 1072 320 L 1072 328" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#679867" paint-order="fill stroke markers" d=" M 1072 360 L 1072 368" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g transform="matrix(0,1,-1,0,1072,328)"><path fill="none" stroke="url(#CLXIXAXKNyFo)" 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="1082" y="350" text-anchor="start" dominant-baseline="alphabetic">1k</text><path fill="none" stroke="#b34c4c" paint-order="fill stroke markers" d=" M 1072 320 L 1056 320" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#b34c4c" paint-order="fill stroke markers" d=" M 1024 336 L 1008 336" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 1024 304 L 1008 304" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#c0c0c0" paint-order="fill stroke markers" d=" M 1056 320 L 1024 336" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#679867" paint-order="fill stroke markers" d=" M 1120 416 L 1072 416" 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="1089" y="410" text-anchor="start" dominant-baseline="alphabetic">1V</text><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 1008 304 L 992 304" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 992 314 L 992 294" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 987 310 L 987 298" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 982 306 L 982 302" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#1ae41a" paint-order="fill stroke markers" d=" M 960 384 L 960 416" 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="966" y="406" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#01fd01" paint-order="fill stroke markers" d=" M 1024 368 L 1040 368" 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="1032" y="362" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#01fd01" paint-order="fill stroke markers" d=" M 1040 336 L 1040 368" 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="1046" y="358" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 835 480 A 3 3 0 1 1 834.9999999999577 479.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 963 416 A 3 3 0 1 1 962.9999999999577 415.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 1075 416 A 3 3 0 1 1 1074.9999999999577 415.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 1123 416 A 3 3 0 1 1 1122.9999999999577 415.99998407846124 Z"/></g></g></svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sim