nmos 터미널의 현재 화살표

nmos 터미널의 현재 화살표

Circuitikz에서 NMOS 장치의 세 단자 각각에 개별 전류 화살표를 가질 수 있습니까? 옵션 이 있는 경로형 개체에서만 본 적이 있습니다 i=....

답변1

자동으로 아닙니다. currarrow모양을 배치하거나 작은 쌍극자를 사용하여 추가할 수 있습니다 short.

예를 들어 다음과 같이 바디 다이오드 또는 스너버용 앵커를 활용할 수 있습니다.

\documentclass[border=10pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{circuitikz}
\ctikzset{tripoles/mos style=arrows, transistors/scale=1.5}
\begin{document}
\begin{tikzpicture}[]
    \draw (0,0) node[nmos](M){};
    \draw (M.body C in) node[currarrow, rotate=-90]{} node[right]{$i_d$};
    \draw (M.body E in) node[currarrow, rotate=-90]{} node[right]{$i_s$};
    \draw ($(M.G)!0.4!(M.nobase)$) node[currarrow]{} node[above]{$i_g$};
\end{tikzpicture}
\end{document}

여기에 이미지 설명을 입력하세요

다른 옵션은 다음과 같은 작업을 수행하는 것입니다.

\documentclass[border=10pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{circuitikz}
\ctikzset{tripoles/mos style=arrows, transistors/scale=1.5}
\ctikzset{near i/.style={current/distance=0.1}}
\begin{document}
\begin{tikzpicture}[]
    \draw (0,0) node[nmos](M){}
        (M.D) to[short, i<_=$i_d$, near i] ++(0,0.5) coordinate(M-D)
        (M.S) to[short, i=$i_s$, near i] ++(0,-0.5) coordinate(M-S)
        (M.G) to[short, i<_=$i_g$, near i] ++(-0.5,0.0) coordinate(M-G)
        ;
\end{tikzpicture}
\end{document}

여기에 이미지 설명을 입력하세요

...그런 다음 외부 연결에 M-D, M-S및 를 사용합니다.M-G

관련 정보