3 极晶闸管电路问题

3 极晶闸管电路问题

我无法理解在电路中放置 3 极的东西。这里有一个小电路,我知道这不是制作电路的好方法,但我希望你向我展示如何用 npn 晶闸管更换 hey C。我读了 circuitikz 的手册,但做不到。

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{circuitikz}

\begin{document}
\begin{circuitikz}
 \draw 
(0,0)   

to [battery](0,4) 
[short] -- ++ (3,0)
          to [C, l_=hey] (4,4)
            [short] -- ++ (2,0)
        to [L] (8,4)
           [short] -- ++ (2,0)
          to [R] (10,0)
          (10,0) -- (0,0)

         (2,4) to [C](2,0)
           (5,0) to [Do](5,4)

 ;
\end{circuitikz}

\end{document}

答案1

我不完全确定你想要实现什么,但也许这样的事情可以帮助?

\documentclass[tikz]{standalone}
\usepackage{circuitikz}

\begin{document}

\begin{circuitikz}
 \draw (0,0) to [battery]  (0,4) 
             [short] -- ++ (3,0)
             to [Ty]       (4,4)
             [short] -- ++ (2,0)
             to [L]        (8,4)
             [short] -- ++ (2,0)
             to [R]        (10,0)

       (10,0) --           (0,0)

       (2,4) to [C]        (2,0)

       (5,0) to [Do]       (5,4)
 ;
\end{circuitikz}

\begin{circuitikz}
 \draw (0,0) to [battery]  (0,4) 
             [short] -- ++ (3,0)
             node [npn,anchor=C,rotate=90] (npn) {} 

       (npn.E) --       ++ (2,0)
             to [L]        (8,4)
             [short] -- ++ (2,0)
             to [R]        (10,0)

       (10,0) --           (0,0)

       (2,4) to [C]        (2,0)

       (5,0) to [Do]       (5,4)
 ;
\end{circuitikz}

\begin{circuitikz}
 \draw (0,0) to [battery]  (0,4) 
             [short] -- ++ (3,0)
             node [npn,anchor=E,rotate=-90] (npn) {} 

       (npn.C) --       ++ (2,0)
             to [L]        (8,4)
             [short] -- ++ (2,0)
             to [R]        (10,0)

       (10,0) --           (0,0)

       (2,4) to [C]        (2,0)

       (5,0) to [Do]       (5,4)
 ;
\end{circuitikz}

\end{document}

在此处输入图片描述

答案2

对于晶闸管,它有一个阳极、一个阴极和一个栅极。给晶闸管命名(本例中为 thyris),然后可以使用如下所示的锚点。

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{circuitikz}

\begin{document}
\begin{circuitikz}
\draw (0,0) to [battery](0,4) 
               [short] -- ++ (3,0)
            to [C, l_=hey] (4,4)
               [short] -- ++ (2,0)
            to [L] (8,4)
               [short] -- ++ (2,0)
            to [R] (10,0)
     (10,0) -- (0,0)
      (2,4) to [C](2,0)
      (5,0) to [Ty, n=thyris](5,4)
    (3,2.7) to (thyris.gate) node[below] {G}    % wire to gate
               (thyris.anode) node[right] {A}   % the anode
               (thyris.cathode) node[right] {C} % the cathode
    (3,2.7) to [battery] (3,0)
            ;
\end{circuitikz}

\end{document}

相关内容