尝试将草图转换为正确的 LaTeX 图表,但卡在了最后一个组件上。有人有巧妙的方法来绘制晶体管和断路器之间的电流变压器吗?
不幸的是,由于保密协议,我不允许发布我的代码或整个原理图。
我希望你能以任何方式帮助我......
草图:
我目前的工作:
\documentclass[tikz,border=10pt]{standalone}
\usepackage{tikz}
\usepackage{siunitx}
\usepackage[europeanresistors,americaninductors,americanvoltage,smartlabels,siunitx]{circuitikz}
\ctikzset{bipoles/thickness=1}
\ctikzset{bipoles/length=0.8cm}
\ctikzset{bipoles/diode/height=.375}
\ctikzset{bipoles/diode/width=.3}
\ctikzset{tripoles/thyristor/height=.8}
\ctikzset{tripoles/thyristor/width=1}
\ctikzset{bipoles/vsourceam/height/.initial=.7}
\ctikzset{bipoles/vsourceam/width/.initial=.7}
\tikzstyle{every node}=[font=\small]
\tikzstyle{every path}=[line width=0.8pt,line cap=round,line join=round]
\usetikzlibrary{calc,quotes,babel,angles}
\begin{document}
\begin{tikzpicture}
(0,5) node[short,*-o,above] {+1000 V}
to [short,o-o] ++(2,0)
to [short,o-o] ++(1,0)
to [open] ++(0.5,0)
to [short,o-] ++ (2,0)
++(0.63,0) node[nigbt,scale=0.8,rotate=-90,yscale=-1,name=igbt1]{} ++ (1,0)
(igbt1.E)++(0.1,0) -- ++(0,-0.3) to[D*] ($(igbt1.C)+(-0.1,-0.3)$)--++(0,0.3);
\end{tikzpicture}
\end{document}
答案1
这样可以吗?
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\usepackage{siunitx}
\usepackage[europeanresistors,americaninductors,americanvoltage,smartlabels,siunitx]{circuitikz}
\ctikzset{bipoles/thickness=1}
\ctikzset{bipoles/length=0.8cm}
\ctikzset{bipoles/diode/height=.375}
\ctikzset{bipoles/diode/width=.3}
\ctikzset{tripoles/thyristor/height=.8}
\ctikzset{tripoles/thyristor/width=1}
\ctikzset{bipoles/vsourceam/height/.initial=.7}
\ctikzset{bipoles/vsourceam/width/.initial=.7}
\tikzstyle{every node}=[font=\small]
\tikzstyle{every path}=[line width=0.8pt,line cap=round,line join=round]
\usetikzlibrary{calc,quotes,babel,angles}
\begin{document}
\begin{tikzpicture}
\draw[thin] (0,0) to[push button,*-] ++(1,0)
-- ++(2,0) coordinate[midway] (TT)
node[nigbt,rotate=-90,yscale=-1,name=igbt1,anchor=C]{}
(igbt1.E) to[short,*-] ++(0,-0.3) to[D*] ($(igbt1.C)+(0,-0.3)$) to[short,-*] ++(0,0.3);
\draw[thin] (TT) ++(-.5,.2) to[cute inductor,name=L1] ++(1,0);
\draw (TT) ellipse[x radius=.4, y radius=.2]{};
\end{tikzpicture}
\end{document}