弧形箭头表示电流环

弧形箭头表示电流环

我想绘制一个如下所示的电路图:

电路图绘制

我正遭受那些圆形流动 $i_1(t),i_2(t)$ 的困扰(我把它们画成红色来指出;它们实际上不需要上色)。

我到目前为止已经编码:

\begin{circuitikz}
        \ctikzset{inductor=american}
        \draw(0,0)to[open,v^>=$v_i(t)$,o-o](0,2);
        \draw(0,2)to[short,o-*,R=$R_1$](2,2)to[short,*-*,L=$L$](2,0);
        \draw(2,2)to[short,*-*,R=$R_2$](4,2)to[C,*-,l_=$C$,v^<=$v_o(t)$](4,0);
        \draw(0,0)to[short,-*](2,0)to[short,*-](4,0);
        % FIXME the following line and so far
        \draw(1,1.5)arc[short,start angle=90,end angle=-90,I=$i_1(t)$,radius=0.5];
\end{circuitikz}

,输出:

我画的

答案1

\documentclass[border=3.1314592mm]{standalone}
\usepackage{circuitikz}

\begin{document}
    \begin{circuitikz}
    \ctikzset{inductor=american}
\draw   (0,0)   to [open,v^>=$v_i(t)$]  ++ (0,2) 
                to [R=$R_1$,o-*]        ++ (2,0) coordinate (L)
                to [R=$R_2$,*-*]        ++ (3,0)
                to [C,a=$C$,v^<=$v_o(t)$] ++ (0,-2)
                to [short, *-o] (0,0)
        (L)     to [L=$L$,-*]           ++ (0,-2);
%
% now is FIXED  :-)
\draw[->]   (0.8,1.5) arc(110:-110:5mm) node[midway, left, font=\footnotesize] {$i_1(t)$};
\draw[->]   (3.3,1.5) arc(110:-110:5mm) node[midway, left, font=\footnotesize] {$i_2(t)$};
    \end{circuitikz}
\end{document}

在此处输入图片描述

或者(我认为更好):

在此处输入图片描述

其中 MWE 是

\documentclass[border=3.1314592mm]{standalone}
\usepackage{circuitikz}

\begin{document}
    \begin{circuitikz}
\ctikzset{inductor=american,
          bipoles/capacitor/height=0.4,
          bipoles/capacitor/width=0.1
          }
\draw   (0,0)   to [open,v^>=$v_i(t)$]  ++ (0,2) 
                to [R=$R_1$,o-*]        ++ (2,0) coordinate (L)
                to [R=$R_2$,*- ]        ++ (3,0)
                to [C,a=$C$,v^<=$v_o(t)$] ++ (0,-2)
                to [short,  -o] (0,0)
        (L)     to [L=$L$,-*]           ++ (0,-2);
%
% now is FIXED  :-)
\draw[->]   (0.8,1.5) arc(110:-110:5mm) node[midway, left, font=\footnotesize] {$i_1(t)$};
\draw[->]   (3.7,0.5) arc(290:  70:5mm) node[midway, right,font=\footnotesize] {$i_2(t)$};
    \end{circuitikz}
\end{document}

相关内容