我想将一些二极管串联到 mosfet 主体上,但二极管应该相互指向。我尝试了以下方法,但并没有得到清晰的结果。一定有更好的方法!
\begin{circuitikz}
\ctikzset{resistors/scale=0.8,
capacitors/scale=0.7,
diodes/scale=0.6,
transistors/scale=1.3}
\draw (4,0) node[pmos, emptycircle, bulk] (pmos) {}
(pmos.gate) node[anchor=east] {g}
(pmos.bulk)+(0.5,0) node[above] {b}
(pmos.drain) node[anchor=north] {d}
(pmos.source) node[anchor=south] {s}
(pmos.bulk) to[D] ++(2,0)
(pmos.bulk)+(4,0) to[D] (pmos.bulk)+(2,0)
(pmos.bulk)+(1.5,0) node[above] {tw};
\end{circuitikz}
提前谢谢你的帮助!
此致
答案1
编辑:
在路径的相反方向绘制二极管的预期选项是invert
:
\documentclass[margin=3.141592]{standalone}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
\ctikzset{resistors/scale=0.8,
capacitors/scale=0.7,
diodes/scale=0.6,
transistors/scale=1.3}
\draw (4,0) node[pmos, emptycircle, bulk] (pmos) {}
(pmos.gate) node[anchor=east] {g}
(pmos.bulk)+(0.5,0) node[above] {b}
(pmos.drain) node[anchor=north] {d}
(pmos.source) node[anchor=south] {s}
(pmos.bulk) to[D] ++ (2.0,0) node[above] {tw}
to[D,invert] ++ (1.5,0)
;
\end{circuitikz}
\end{document}