7

I want to redo this image: enter image description here

but the resistors inside the opamp isnt well rendered, because I cant position well the components.

enter image description here

The MWE

\documentclass{article}
\usepackage{circuitikz}

\begin{document}

\begin{circuitikz}
  \draw (0,0) node[op amp,scale=2](oaq) {};
  \draw (6,0) node[op amp,scale=2](oaq2) {};
  \draw (oaq.-)  to [short,-*] ++(-0.5,0);
  \draw (oaq.+)  to [short,-*] ++(-0.5,0);
  \draw (oaq.-)  to [short,-] ++(1.5,0) to [R=\SI{$Z_{ENT}_{d}$}{\ohm}] ++(0,-1.95)  to [oaq.+,-*] ++(-1,0);  
  \draw (oaq2.-)  to [short,*-] ++(1.5,0) to [R=\SI{$Z_{ENT}_{d}$}{\ohm}] ++(0,-0.85) to [short,-] ++(0,-0.05) [R=\SI{$Z_{ENT}_{cm}$}{\ohm}] ++(0,-1) to [oaq2.+,-*] ++(-1,0);  
\end{circuitikz}
\end{document}
2
  • 2
    Welcome to TeX.SE!
    – Zarko
    Sep 15 at 1:08
  • 1
    Thanks !! Its a great honor!
    – corie
    Sep 15 at 1:09
9

As starting point for the first image:

\documentclass[border=3.141592]{standalone}
\usepackage[siunitx]{circuitikz}

\begin{document}

\begin{circuitikz}
\ctikzset{amplifiers/plus={}}
\ctikzset{amplifiers/minus={}}
  \draw (0,0) node[op amp,scale=2]  (oaq1)   {};
    \node [font=\small, above left] at (oaq1.bin up) {$-$};
    \node [font=\small, below left] at (oaq1.bin down) {$+$};
  \draw (oaq1.-)  to [short,-o] ++(-0.5,0) 
        (oaq1.+)  to [short,-o] ++(-0.5,0)
        (oaq1.out)  to [short,-o] ++(0.5,0);
  \draw (oaq1.bin up)   -- ++(0.5,0) coordinate (aux)
                        to [R=$Z_{\mathit{ENT}(d)}$] (aux |- oaq1.+) 
                        -- (oaq1.bin down);
\end{circuitikz}
\end{document}

enter image description here

Addendum:

As starting point for the second image with amplifier with differential input. For amplifier symbol is used plain amp (which haven't marked input symbols):

\documentclass[border=3.141592]{standalone}
\usepackage[siunitx]{circuitikz}
\usetikzlibrary{calc}

\begin{document}

\begin{circuitikz}[font=\footnotesize]
\ctikzset{resistors/scale=0.5},
  \draw (0,0) node[plain amp, scale=2]  (oaq2)   {};
    \node [font=\small, above left] at (oaq2.bin up) {$-$};
    \node [font=\small, below left] at (oaq2.bin down) {$+$};
  \draw (oaq2.-)  to [short,-o] ++(-0.5,0) 
        (oaq2.+)  to [short,-o] ++(-0.5,0)
        (oaq2.out)  to [short,-o] ++(0.5,0);
  \coordinate (aux1) at ($(oaq2.bin up)!0.5!(oaq2.bin down)$);
  \draw (oaq2.bin up)   -- ++(0.5,0) coordinate (aux2)
                        to [R=$Z_{\mathit{ENT}(d)}$] (aux2 |- aux1) 
                        to [R=$Z_{\mathit{ENT}(d)}$] (aux2 |- oaq2.bin down)
                        -- (oaq2.bin down)
        (aux2 |- aux1)  to [short,*-] ++ (1.5,0) 
                        node[ground] {};
\end{circuitikz}
\end{document}

enter image description here

4
  • 1
    Great example, I was wondering how to move the + and - signs out of the opamp
    – corie
    Sep 15 at 2:00
  • 1
    Thanks a lot again, I understand how to setup the coordinates because of your example.
    – corie
    Sep 15 at 2:21
  • 2
    @corie, for the second image see addendum to my answer. Code for it use plain amp symbol for amplifier.
    – Zarko
    Sep 15 at 2:26
  • 1
    Got it!, thanks a lot again @Zarko
    – corie
    Sep 15 at 2:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.