Can't put ground on the correct place (circuitikz)












5















I want to add some decoupling capacitors to my circuit but it's always placed wrong. It should just be at the bottom of the capacitor. What am I doing wrong?



 begin{circuitikz}
draw
(0, 0) node[op amp] (opamp) {}
(opamp.out) -- ++(1,0) coordinate (out)
(opamp.-) to[short,*-] ++(0,4) coordinate (leftC)
to[C] (leftC -| out)
to[short,-*] (out)
to[short,-o] ++ (1,0) node[right] {Control input}
(leftC) to[short,*-] ++ (0,1) coordinate (leftR)
to[R] (leftR -| out)
to[short,-*] (leftC -| out)
(opamp.+) -- ++ (0,-0.5) node[ground] {}
(opamp.-) to[short,-*] ++ (-0.4,0) coordinate (Rnode)
(Rnode) to [R,-o] ++(-2,0)
(Rnode) to [short] ++(0,1) coordinate (sensR)
(sensR) to [R,-o] ++(-2,0)
(opamp.up) to [short,-o] ++ (0,2) node [above] {${+10V}$}
(opamp.down)to [short,-o] ++ (0,-2) node [below] {${-10V}$}
(opamp.up) ++(0,1.5) coordinate (up)
(up) to[short, *-] ++(1,0) coordinate (leftCplus)
to[C] ++(0,-1) (leftCplus |- opamp.out) node (Cplusbottom)
to node[ground] {}
;
end{circuitikz}









share|improve this question



























    5















    I want to add some decoupling capacitors to my circuit but it's always placed wrong. It should just be at the bottom of the capacitor. What am I doing wrong?



     begin{circuitikz}
    draw
    (0, 0) node[op amp] (opamp) {}
    (opamp.out) -- ++(1,0) coordinate (out)
    (opamp.-) to[short,*-] ++(0,4) coordinate (leftC)
    to[C] (leftC -| out)
    to[short,-*] (out)
    to[short,-o] ++ (1,0) node[right] {Control input}
    (leftC) to[short,*-] ++ (0,1) coordinate (leftR)
    to[R] (leftR -| out)
    to[short,-*] (leftC -| out)
    (opamp.+) -- ++ (0,-0.5) node[ground] {}
    (opamp.-) to[short,-*] ++ (-0.4,0) coordinate (Rnode)
    (Rnode) to [R,-o] ++(-2,0)
    (Rnode) to [short] ++(0,1) coordinate (sensR)
    (sensR) to [R,-o] ++(-2,0)
    (opamp.up) to [short,-o] ++ (0,2) node [above] {${+10V}$}
    (opamp.down)to [short,-o] ++ (0,-2) node [below] {${-10V}$}
    (opamp.up) ++(0,1.5) coordinate (up)
    (up) to[short, *-] ++(1,0) coordinate (leftCplus)
    to[C] ++(0,-1) (leftCplus |- opamp.out) node (Cplusbottom)
    to node[ground] {}
    ;
    end{circuitikz}









    share|improve this question

























      5












      5








      5








      I want to add some decoupling capacitors to my circuit but it's always placed wrong. It should just be at the bottom of the capacitor. What am I doing wrong?



       begin{circuitikz}
      draw
      (0, 0) node[op amp] (opamp) {}
      (opamp.out) -- ++(1,0) coordinate (out)
      (opamp.-) to[short,*-] ++(0,4) coordinate (leftC)
      to[C] (leftC -| out)
      to[short,-*] (out)
      to[short,-o] ++ (1,0) node[right] {Control input}
      (leftC) to[short,*-] ++ (0,1) coordinate (leftR)
      to[R] (leftR -| out)
      to[short,-*] (leftC -| out)
      (opamp.+) -- ++ (0,-0.5) node[ground] {}
      (opamp.-) to[short,-*] ++ (-0.4,0) coordinate (Rnode)
      (Rnode) to [R,-o] ++(-2,0)
      (Rnode) to [short] ++(0,1) coordinate (sensR)
      (sensR) to [R,-o] ++(-2,0)
      (opamp.up) to [short,-o] ++ (0,2) node [above] {${+10V}$}
      (opamp.down)to [short,-o] ++ (0,-2) node [below] {${-10V}$}
      (opamp.up) ++(0,1.5) coordinate (up)
      (up) to[short, *-] ++(1,0) coordinate (leftCplus)
      to[C] ++(0,-1) (leftCplus |- opamp.out) node (Cplusbottom)
      to node[ground] {}
      ;
      end{circuitikz}









      share|improve this question














      I want to add some decoupling capacitors to my circuit but it's always placed wrong. It should just be at the bottom of the capacitor. What am I doing wrong?



       begin{circuitikz}
      draw
      (0, 0) node[op amp] (opamp) {}
      (opamp.out) -- ++(1,0) coordinate (out)
      (opamp.-) to[short,*-] ++(0,4) coordinate (leftC)
      to[C] (leftC -| out)
      to[short,-*] (out)
      to[short,-o] ++ (1,0) node[right] {Control input}
      (leftC) to[short,*-] ++ (0,1) coordinate (leftR)
      to[R] (leftR -| out)
      to[short,-*] (leftC -| out)
      (opamp.+) -- ++ (0,-0.5) node[ground] {}
      (opamp.-) to[short,-*] ++ (-0.4,0) coordinate (Rnode)
      (Rnode) to [R,-o] ++(-2,0)
      (Rnode) to [short] ++(0,1) coordinate (sensR)
      (sensR) to [R,-o] ++(-2,0)
      (opamp.up) to [short,-o] ++ (0,2) node [above] {${+10V}$}
      (opamp.down)to [short,-o] ++ (0,-2) node [below] {${-10V}$}
      (opamp.up) ++(0,1.5) coordinate (up)
      (up) to[short, *-] ++(1,0) coordinate (leftCplus)
      to[C] ++(0,-1) (leftCplus |- opamp.out) node (Cplusbottom)
      to node[ground] {}
      ;
      end{circuitikz}






      circuitikz






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 13 at 10:12









      vogsvogs

      826




      826






















          1 Answer
          1






          active

          oldest

          votes


















          5














          Is this what you are looking for?



          documentclass{standalone}
          usepackage{circuitikz}
          begin{document}
          begin{circuitikz}
          draw
          (0, 0) node[op amp] (opamp) {}
          (opamp.out) -- ++(1,0) coordinate (out)
          (opamp.-) to[short,*-] ++(0,4) coordinate (leftC)
          to[C] (leftC -| out)
          to[short,-*] (out)
          to[short,-o] ++ (1,0) node[right] {Control input}
          (leftC) to[short,*-] ++ (0,1) coordinate (leftR)
          to[R] (leftR -| out)
          to[short,-*] (leftC -| out)
          (opamp.+) -- ++ (0,-0.5) node[ground] {}
          (opamp.-) to[short,-*] ++ (-0.4,0) coordinate (Rnode)
          (Rnode) to [R,-o] ++(-2,0)
          (Rnode) to [short] ++(0,1) coordinate (sensR)
          (sensR) to [R,-o] ++(-2,0)
          (opamp.up) to [short,-o] ++ (0,2) node [above] {${+10V}$}
          (opamp.down)to [short,-o] ++ (0,-2) node [below] {${-10V}$}
          (opamp.up) ++(0,1.5) coordinate (up)
          (up) to[short, *-] ++(1,0) coordinate (leftCplus)
          to[C] ++(0,-1) node (Cplusbottom) {} to ++(0,0) node[ground] {};
          end{circuitikz}
          end{document}


          enter image description here



          However, to have good unit, you should use siunitx:



          documentclass{standalone}
          usepackage{circuitikz}
          usepackage{siunitx}
          begin{document}
          begin{circuitikz}
          draw
          (0, 0) node[op amp] (opamp) {}
          (opamp.out) -- ++(1,0) coordinate (out)
          (opamp.-) to[short,*-] ++(0,4) coordinate (leftC)
          to[C] (leftC -| out)
          to[short,-*] (out)
          to[short,-o] ++ (1,0) node[right] {Control input}
          (leftC) to[short,*-] ++ (0,1) coordinate (leftR)
          to[R] (leftR -| out)
          to[short,-*] (leftC -| out)
          (opamp.+) -- ++ (0,-0.5) node[ground] {}
          (opamp.-) to[short,-*] ++ (-0.4,0) coordinate (Rnode)
          (Rnode) to [R,-o] ++(-2,0)
          (Rnode) to [short] ++(0,1) coordinate (sensR)
          (sensR) to [R,-o] ++(-2,0)
          (opamp.up) to [short,-o] ++ (0,2) node [above] {$SI{10}{volt}$}
          (opamp.down)to [short,-o] ++ (0,-2) node [below] {$SI{-10}{volt}$}
          (opamp.up) ++(0,1.5) coordinate (up)
          (up) to[short, *-] ++(1,0) coordinate (leftCplus)
          to[C] ++(0,-1) node (Cplusbottom) {} to ++(0,0) node[ground] {};
          end{circuitikz}
          end{document}


          enter image description here






          share|improve this answer


























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "85"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484628%2fcant-put-ground-on-the-correct-place-circuitikz%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            5














            Is this what you are looking for?



            documentclass{standalone}
            usepackage{circuitikz}
            begin{document}
            begin{circuitikz}
            draw
            (0, 0) node[op amp] (opamp) {}
            (opamp.out) -- ++(1,0) coordinate (out)
            (opamp.-) to[short,*-] ++(0,4) coordinate (leftC)
            to[C] (leftC -| out)
            to[short,-*] (out)
            to[short,-o] ++ (1,0) node[right] {Control input}
            (leftC) to[short,*-] ++ (0,1) coordinate (leftR)
            to[R] (leftR -| out)
            to[short,-*] (leftC -| out)
            (opamp.+) -- ++ (0,-0.5) node[ground] {}
            (opamp.-) to[short,-*] ++ (-0.4,0) coordinate (Rnode)
            (Rnode) to [R,-o] ++(-2,0)
            (Rnode) to [short] ++(0,1) coordinate (sensR)
            (sensR) to [R,-o] ++(-2,0)
            (opamp.up) to [short,-o] ++ (0,2) node [above] {${+10V}$}
            (opamp.down)to [short,-o] ++ (0,-2) node [below] {${-10V}$}
            (opamp.up) ++(0,1.5) coordinate (up)
            (up) to[short, *-] ++(1,0) coordinate (leftCplus)
            to[C] ++(0,-1) node (Cplusbottom) {} to ++(0,0) node[ground] {};
            end{circuitikz}
            end{document}


            enter image description here



            However, to have good unit, you should use siunitx:



            documentclass{standalone}
            usepackage{circuitikz}
            usepackage{siunitx}
            begin{document}
            begin{circuitikz}
            draw
            (0, 0) node[op amp] (opamp) {}
            (opamp.out) -- ++(1,0) coordinate (out)
            (opamp.-) to[short,*-] ++(0,4) coordinate (leftC)
            to[C] (leftC -| out)
            to[short,-*] (out)
            to[short,-o] ++ (1,0) node[right] {Control input}
            (leftC) to[short,*-] ++ (0,1) coordinate (leftR)
            to[R] (leftR -| out)
            to[short,-*] (leftC -| out)
            (opamp.+) -- ++ (0,-0.5) node[ground] {}
            (opamp.-) to[short,-*] ++ (-0.4,0) coordinate (Rnode)
            (Rnode) to [R,-o] ++(-2,0)
            (Rnode) to [short] ++(0,1) coordinate (sensR)
            (sensR) to [R,-o] ++(-2,0)
            (opamp.up) to [short,-o] ++ (0,2) node [above] {$SI{10}{volt}$}
            (opamp.down)to [short,-o] ++ (0,-2) node [below] {$SI{-10}{volt}$}
            (opamp.up) ++(0,1.5) coordinate (up)
            (up) to[short, *-] ++(1,0) coordinate (leftCplus)
            to[C] ++(0,-1) node (Cplusbottom) {} to ++(0,0) node[ground] {};
            end{circuitikz}
            end{document}


            enter image description here






            share|improve this answer






























              5














              Is this what you are looking for?



              documentclass{standalone}
              usepackage{circuitikz}
              begin{document}
              begin{circuitikz}
              draw
              (0, 0) node[op amp] (opamp) {}
              (opamp.out) -- ++(1,0) coordinate (out)
              (opamp.-) to[short,*-] ++(0,4) coordinate (leftC)
              to[C] (leftC -| out)
              to[short,-*] (out)
              to[short,-o] ++ (1,0) node[right] {Control input}
              (leftC) to[short,*-] ++ (0,1) coordinate (leftR)
              to[R] (leftR -| out)
              to[short,-*] (leftC -| out)
              (opamp.+) -- ++ (0,-0.5) node[ground] {}
              (opamp.-) to[short,-*] ++ (-0.4,0) coordinate (Rnode)
              (Rnode) to [R,-o] ++(-2,0)
              (Rnode) to [short] ++(0,1) coordinate (sensR)
              (sensR) to [R,-o] ++(-2,0)
              (opamp.up) to [short,-o] ++ (0,2) node [above] {${+10V}$}
              (opamp.down)to [short,-o] ++ (0,-2) node [below] {${-10V}$}
              (opamp.up) ++(0,1.5) coordinate (up)
              (up) to[short, *-] ++(1,0) coordinate (leftCplus)
              to[C] ++(0,-1) node (Cplusbottom) {} to ++(0,0) node[ground] {};
              end{circuitikz}
              end{document}


              enter image description here



              However, to have good unit, you should use siunitx:



              documentclass{standalone}
              usepackage{circuitikz}
              usepackage{siunitx}
              begin{document}
              begin{circuitikz}
              draw
              (0, 0) node[op amp] (opamp) {}
              (opamp.out) -- ++(1,0) coordinate (out)
              (opamp.-) to[short,*-] ++(0,4) coordinate (leftC)
              to[C] (leftC -| out)
              to[short,-*] (out)
              to[short,-o] ++ (1,0) node[right] {Control input}
              (leftC) to[short,*-] ++ (0,1) coordinate (leftR)
              to[R] (leftR -| out)
              to[short,-*] (leftC -| out)
              (opamp.+) -- ++ (0,-0.5) node[ground] {}
              (opamp.-) to[short,-*] ++ (-0.4,0) coordinate (Rnode)
              (Rnode) to [R,-o] ++(-2,0)
              (Rnode) to [short] ++(0,1) coordinate (sensR)
              (sensR) to [R,-o] ++(-2,0)
              (opamp.up) to [short,-o] ++ (0,2) node [above] {$SI{10}{volt}$}
              (opamp.down)to [short,-o] ++ (0,-2) node [below] {$SI{-10}{volt}$}
              (opamp.up) ++(0,1.5) coordinate (up)
              (up) to[short, *-] ++(1,0) coordinate (leftCplus)
              to[C] ++(0,-1) node (Cplusbottom) {} to ++(0,0) node[ground] {};
              end{circuitikz}
              end{document}


              enter image description here






              share|improve this answer




























                5












                5








                5







                Is this what you are looking for?



                documentclass{standalone}
                usepackage{circuitikz}
                begin{document}
                begin{circuitikz}
                draw
                (0, 0) node[op amp] (opamp) {}
                (opamp.out) -- ++(1,0) coordinate (out)
                (opamp.-) to[short,*-] ++(0,4) coordinate (leftC)
                to[C] (leftC -| out)
                to[short,-*] (out)
                to[short,-o] ++ (1,0) node[right] {Control input}
                (leftC) to[short,*-] ++ (0,1) coordinate (leftR)
                to[R] (leftR -| out)
                to[short,-*] (leftC -| out)
                (opamp.+) -- ++ (0,-0.5) node[ground] {}
                (opamp.-) to[short,-*] ++ (-0.4,0) coordinate (Rnode)
                (Rnode) to [R,-o] ++(-2,0)
                (Rnode) to [short] ++(0,1) coordinate (sensR)
                (sensR) to [R,-o] ++(-2,0)
                (opamp.up) to [short,-o] ++ (0,2) node [above] {${+10V}$}
                (opamp.down)to [short,-o] ++ (0,-2) node [below] {${-10V}$}
                (opamp.up) ++(0,1.5) coordinate (up)
                (up) to[short, *-] ++(1,0) coordinate (leftCplus)
                to[C] ++(0,-1) node (Cplusbottom) {} to ++(0,0) node[ground] {};
                end{circuitikz}
                end{document}


                enter image description here



                However, to have good unit, you should use siunitx:



                documentclass{standalone}
                usepackage{circuitikz}
                usepackage{siunitx}
                begin{document}
                begin{circuitikz}
                draw
                (0, 0) node[op amp] (opamp) {}
                (opamp.out) -- ++(1,0) coordinate (out)
                (opamp.-) to[short,*-] ++(0,4) coordinate (leftC)
                to[C] (leftC -| out)
                to[short,-*] (out)
                to[short,-o] ++ (1,0) node[right] {Control input}
                (leftC) to[short,*-] ++ (0,1) coordinate (leftR)
                to[R] (leftR -| out)
                to[short,-*] (leftC -| out)
                (opamp.+) -- ++ (0,-0.5) node[ground] {}
                (opamp.-) to[short,-*] ++ (-0.4,0) coordinate (Rnode)
                (Rnode) to [R,-o] ++(-2,0)
                (Rnode) to [short] ++(0,1) coordinate (sensR)
                (sensR) to [R,-o] ++(-2,0)
                (opamp.up) to [short,-o] ++ (0,2) node [above] {$SI{10}{volt}$}
                (opamp.down)to [short,-o] ++ (0,-2) node [below] {$SI{-10}{volt}$}
                (opamp.up) ++(0,1.5) coordinate (up)
                (up) to[short, *-] ++(1,0) coordinate (leftCplus)
                to[C] ++(0,-1) node (Cplusbottom) {} to ++(0,0) node[ground] {};
                end{circuitikz}
                end{document}


                enter image description here






                share|improve this answer















                Is this what you are looking for?



                documentclass{standalone}
                usepackage{circuitikz}
                begin{document}
                begin{circuitikz}
                draw
                (0, 0) node[op amp] (opamp) {}
                (opamp.out) -- ++(1,0) coordinate (out)
                (opamp.-) to[short,*-] ++(0,4) coordinate (leftC)
                to[C] (leftC -| out)
                to[short,-*] (out)
                to[short,-o] ++ (1,0) node[right] {Control input}
                (leftC) to[short,*-] ++ (0,1) coordinate (leftR)
                to[R] (leftR -| out)
                to[short,-*] (leftC -| out)
                (opamp.+) -- ++ (0,-0.5) node[ground] {}
                (opamp.-) to[short,-*] ++ (-0.4,0) coordinate (Rnode)
                (Rnode) to [R,-o] ++(-2,0)
                (Rnode) to [short] ++(0,1) coordinate (sensR)
                (sensR) to [R,-o] ++(-2,0)
                (opamp.up) to [short,-o] ++ (0,2) node [above] {${+10V}$}
                (opamp.down)to [short,-o] ++ (0,-2) node [below] {${-10V}$}
                (opamp.up) ++(0,1.5) coordinate (up)
                (up) to[short, *-] ++(1,0) coordinate (leftCplus)
                to[C] ++(0,-1) node (Cplusbottom) {} to ++(0,0) node[ground] {};
                end{circuitikz}
                end{document}


                enter image description here



                However, to have good unit, you should use siunitx:



                documentclass{standalone}
                usepackage{circuitikz}
                usepackage{siunitx}
                begin{document}
                begin{circuitikz}
                draw
                (0, 0) node[op amp] (opamp) {}
                (opamp.out) -- ++(1,0) coordinate (out)
                (opamp.-) to[short,*-] ++(0,4) coordinate (leftC)
                to[C] (leftC -| out)
                to[short,-*] (out)
                to[short,-o] ++ (1,0) node[right] {Control input}
                (leftC) to[short,*-] ++ (0,1) coordinate (leftR)
                to[R] (leftR -| out)
                to[short,-*] (leftC -| out)
                (opamp.+) -- ++ (0,-0.5) node[ground] {}
                (opamp.-) to[short,-*] ++ (-0.4,0) coordinate (Rnode)
                (Rnode) to [R,-o] ++(-2,0)
                (Rnode) to [short] ++(0,1) coordinate (sensR)
                (sensR) to [R,-o] ++(-2,0)
                (opamp.up) to [short,-o] ++ (0,2) node [above] {$SI{10}{volt}$}
                (opamp.down)to [short,-o] ++ (0,-2) node [below] {$SI{-10}{volt}$}
                (opamp.up) ++(0,1.5) coordinate (up)
                (up) to[short, *-] ++(1,0) coordinate (leftCplus)
                to[C] ++(0,-1) node (Cplusbottom) {} to ++(0,0) node[ground] {};
                end{circuitikz}
                end{document}


                enter image description here







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 13 at 13:14

























                answered Apr 13 at 11:43









                JouleVJouleV

                14k22664




                14k22664






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484628%2fcant-put-ground-on-the-correct-place-circuitikz%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Plaza Victoria

                    Puebla de Zaragoza

                    Musa