I created a nice little MOSFET model (feel free to use), but two things are not working the way that I want:
- I want U_GS and U_GD to have straight voltage arrows
- As you can see, the voltage label interferes with the capacitance. I tried to change the distance of the label using voltage/distance = x (like it works with current/distance) but it gave me an error.
Thanks for your help :)
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[siunitx,fetbodydiode,smartlabels]{circuitikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{figure}
\centering
\begin{circuitikz}
\draw
(0,0) node[nigfete](mosfet){}
(mosfet.G) to[short,-o] ++ (-1.5,0) coordinate[label=left:G](G)
(mosfet.S) to[short,-o] ++ (0,-1.5) coordinate[label=below:S](S)
(mosfet.D) to[short,-o] ++ (0,1.5) coordinate[label=D] (D)
(G) ++ (.5,0) coordinate (Gx)
(S) ++ (0,.5) coordinate (Sx)
(D) ++ (0,-.5) coordinate (Dx)
(Gx |- Dx) coordinate (GD)
(Gx) to [C,l=$C_{GD}$,*-] (GD) to[short,-*] (Dx)
(Gx |- Sx) coordinate (GS)
(Gx) to [C,l_=$C_{GS}$,*-] (GS) to[short,-*] (Sx)
(Dx) --++ (1.5,0) coordinate(D2)
(Sx) --++ (1.5,0) coordinate(S2)
(D2) to[C,l=$C_{DS}$] (S2)
(Gx) to[open,v^=$U_{GR}$] (Dx)
;
\end{circuitikz}
\caption[Ersatzschaltbild]{Ersatzschaltbild}
\label{fig:ersatzschaltbild}
\end{figure}
\end{document}