Circuitikz 中的 Pi 模型

Circuitikz 中的 Pi 模型

有人能用下图绘制 Pi 模型吗circuitikz

电路图

答案1

在此处输入图片描述

我看不懂一些标签,所以我只是猜测它们的内容。

\documentclass[tikz, border=20]{standalone}
\usepackage[american]{circuitikz}
\usetikzlibrary{calc}
\begin{document}
    \begin{tikzpicture}
        % Grounds
        \node[ground] (ground1) at (0, 0) {};
        \node[ground] (ground2) at (4, 0) {};
        
        % Left hand side
        \draw (ground1) to[short, *-] ($(ground1) + (-1, 0)$) to[C=\(C_{\mathrm{sub}}\)] ($(ground1) + (-1, 2)$);
        \draw (ground1) -- ($(ground1) + (1, 0)$) to[R=\(R_{\mathrm{sub}}\)] ($(ground1) + (1, 2)$) -- ($(ground1) + (-1, 2)$);
        \draw ($(ground1) + (0, 2)$) to[C=\(C_{\mathrm{ox}}\), *-] ($(ground1) + (0, 4)$);
        
        % Right hand side
        \draw (ground2) to[short, *-] ($(ground2) + (-1, 0)$) to[C=\(C_{\mathrm{sub}}\)] ($(ground2) + (-1, 2)$);
        \draw (ground2) -- ($(ground2) + (1, 0)$) to[R=\(R_{\mathrm{sub}}\)] ($(ground2) + (1, 2)$) -- ($(ground2) + (-1, 2)$);
        \draw ($(ground2) + (0, 2)$) to[C=\(C_{\mathrm{ox}}\), *-] ($(ground2) + (0, 4)$);
        
        % Horizontal components
        \draw ($(ground1) + (-1, 4)$) to[short, o-] ($(ground1) + (0, 4)$) to[american inductor, L=\(L_{\mathrm{s}}\)] ($(ground1) + (2, 4)$) to[R=\(R_{\mathrm{s}}\)] ($(ground2) + (0, 4)$) to[short, -o] ($(ground2) + (1, 4)$);
        \draw ($(ground1) + (0, 4)$) to[short, *-] ($(ground1) + (0, 5)$);
        \draw ($(ground2) + (0, 4)$) to[short, *-] ($(ground2) + (0, 5)$);
        \draw ($(ground1) + (0, 5)$) to[C=\(C_{\mathrm{p}}\)] ($(ground2) + (0, 5)$);
    \end{tikzpicture}
\end{document}

相关内容