带 circuitikz 的浮栅 mos

带 circuitikz 的浮栅 mos

我们在数字电子课上讲过用于构造 EPROM 的浮栅 MOS。我搜索过 circuitikz 文档,但没有找到绘制它的方法。

我对 tikz 还很陌生,我真的不知道如何创建它。在课堂上我们使用了以下符号,但我并不关心是否使用了等效符号。

转基因

你能帮我画一下吗?提前感谢你的帮助!

答案1

您可以使用没有基座的 HEMT 并添加缺失的部分:

\documentclass{standalone}
\usepackage{circuitikz}
\usetikzlibrary{calc}

\begin{document}
\begin{tikzpicture}
    \ctikzset{bipoles/length=3cm}
    \node[hemt, nobase] (t) at (0,0) {};
    \path
        let
            \p1 = ($ (t.gate) - (t.nobulk) $),
            \n1 = {veclen(\x1,\y1)},
            \p2 = ($(t.inner up)-(t.inner down)$),
            \n2 = {veclen(\x2,\y2)}
        in
            ($ (t.gate)!0.8!(t.nobulk) $) node[draw, rectangle, anchor=center, minimum width=.1*\n1, minimum height=\n2, inner sep=0pt] {};
    \coordinate (tmp) at ($(t.gate)!0.6!(t.nobulk)$);
    \draw[thick] (tmp |- t.inner up) -- (tmp |- t.inner down);
    \draw (tmp) -- (t.gate);
\end{tikzpicture}
\end{document}

浮栅 1

“新” mos 是可扩展的(如图所示\ctikzset{bipoles/length=3cm})。

如果您需要更频繁地使用此符号,您可以为其定义自己的命令。我建议使用子电路,但请记住子电路仍处于实验阶段(v. 1.3.5):

\documentclass{standalone}
\usepackage{circuitikz}
\usetikzlibrary{calc}

\ctikzsubcircuitdef{flmos}{gate, G, drain, D, source, S, fgate, bulk, nobulk, inner up, inner down}{%
    coordinate (#1-center)
    node[hemt, nobase] (#1-t) at (#1-center) {}
    coordinate (#1-fgate) at ($ (#1-t.gate)!0.8!(#1-t.nobulk) $)
    let
        \p1 = ($ (#1-t.gate) - (#1-t.nobulk) $),
        \n1 = {veclen(\x1,\y1)},
        \p2 = ($(#1-t.inner up)-(#1-t.inner down)$),
        \n2 = {veclen(\x2,\y2)}
    in
        (#1-fgate) node[draw, rectangle, anchor=center, minimum width=.1*\n1, minimum height=\n2, inner sep=0pt] {}
    coordinate (#1-tmp) at ($(#1-t.gate)!0.6!(#1-t.nobulk)$)
    (#1-tmp |- #1-t.inner up) edge[thick] (#1-tmp |- #1-t.inner down)
    (#1-tmp) -- (#1-t.gate)
    coordinate (#1-gate) at (#1-t.gate)
    coordinate (#1-G) at (#1-t.G)
    coordinate (#1-drain) at (#1-t.drain)
    coordinate (#1-D) at (#1-t.D)
    coordinate (#1-source) at (#1-t.source)
    coordinate (#1-S) at (#1-t.S)
    coordinate (#1-bulk) at (#1-t.bulk)
    coordinate (#1-nobulk) at (#1-t.nobulk)
    coordinate (#1-inner up) at (#1-t.inner up)
    coordinate (#1-inner down) at (#1-t.inner down)
    (#1-center)
}
\ctikzsubcircuitactivate{flmos}

\begin{document}
\begin{tikzpicture}
    \draw (0,0) \flmos{flmosA}{};
    \draw (flmosA-S) node[circle,inner sep=1pt,fill]{} \flmos{flmosB}{D};
\end{tikzpicture}
\end{document}

浮门 2

答案2

简单的解决方案是取一个 mosfet,并在中心间隙处画一条额外的线。您还可以增加线的粗细和间隙的大小,甚至可以创建一个全新的晶体管类型,这取决于您想投入多少工作。

\documentclass{standalone}
\usepackage{circuitikz}

\begin{document}
\begin{circuitikz}
  \node[nmos] (A) {};
  \draw ($(A.centergap) + (0,0.27)$) -- ($(A.centergap) + (0,-0.27)$);
\end{circuitikz}
\end{document}

演示

答案3

这非常简单pstricks

\documentclass[svgnames, border =2pt]{standalone}
\usepackage{pst-plot}

\begin{document}

    \psset{unit = 1.5cm, linejoin=1}
    \begin{pspicture}(-0.4,-2.3)(3.5,2.3)
    \psgrid[gridcolor=Gainsboro, subgriddiv=1, gridlabels=0pt](-1,-3)(4,3)
    \psset{linewidth=1.5pt, arrows = c-c}%
    \psline(0,0)(1,0)
    \psline(1,1)(1,-1) \psline(1.4,1)(1.4,-1)
    \psline(3,2)(3,1)(2,1)(2,-1)(3,-1)(3,-2)
    \end{pspicture}

\end{document}

在此处输入图片描述

相关内容