我正在尝试在 circuitikz 中绘制下图。
到目前为止,我已经能够绘制电容器和 MOSFET。但是我不知道如何绘制三相变压器。
这是我目前所拥有的
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[siunitx,cuteinductors,american,RPvoltages]{circuitikz}
\begin{document}
\def\normalcoord(#1){coordinate(#1)}
\def\showcoord(#1){node[circle, red, draw, inner sep=1pt,
pin={[red, overlay, inner sep=0.5pt, font=\tiny, pin distance=0.1cm,
pin edge={red, overlay}]45:#1}](#1){}}
\let\coord=\normalcoord
%\let\coord=\showcoord
\begin{circuitikz}[scale=1, voltage shift
=0.5]
\ctikzset{
diode=stroke,
diodes/scale=0.8,
diodes/fill=red,
capacitors/scale=0.8,
voltage shift=0.8,
}
\draw
(0,0) coordinate (origin) \coord(origin)
to[short, -*] ++(1,0) coordinate (i1) \coord(i1)
% capicator1
(i1) to[C=$C_1$, v=$V_1$] ++(0,6) coordinate(i2) \coord(i2)
% S4 and S1
(i1) to[short, -*] ++(2,0) coordinate(i3) \coord(i3)
(i3) to[short, -*] ++(0,1) coordinate(i4) \coord(i4)
node[nigfete,bodydiode] (fet4) {S4} \coord(s4)
(fet4.D) to[short, -*] ++(0,3) coordinate(i5) \coord(i5)
node[nigfete,bodydiode] (fet1) {S1} \coord(s1)
(fet1.D) to[short, -*] ++(0,0.5) coordinate(i6) \coord(i6)
to[short, -*] ++(-2,0) coordinate(i7) \coord(i7)
to[short] ++(-1,0) coordinate(i8) \coord(i8)
% S5 and S2
(i3) to[short, -*] ++(2,0) coordinate(i9) \coord(i9)
(i9) to[short, -*] ++(0,1) coordinate(i10) \coord(i10)
node[nigfete,bodydiode] (fet5) {S5} \coord(S5)
(fet5.D) to[short, -*] ++(0,3) coordinate(i11) \coord(i11)
node[nigfete,bodydiode] (fet2) {S2} \coord(S2)
(fet2.D) to[short, -*] ++(0,0.5) coordinate(i12) \coord(i12)
to[short, -*] ++(-2,0) coordinate(i13) \coord(i13)
% S6 and S3
(i9) to[short, -*] ++(2,0) coordinate(i14) \coord(i14)
(i14) to[short, -*] ++(0,1) coordinate(i15) \coord(i15)
node[nigfete,bodydiode] (fet6) {S6} \coord(S6)
(fet6.D) to[short, -*] ++(0,3) coordinate(i16) \coord(i16)
node[nigfete,bodydiode] (fet3) {S3} \coord(S3)
(fet3.D) to[short, -*] ++(0,0.5) coordinate(i17) \coord(i17)
to[short, -*] ++(-2,0) coordinate(i18) \coord(i18)
%L11A
(fet1.E) to[L=$L_1_1_A$] ++(6,0)
node [transformer](T){}
;
\end{circuitikz}
\end{document}
任何帮助都将不胜感激!
答案1
这是变压器。它将被放置在 T0 的中心(您必须提供)。连接点位于 T1 - T6。
\documentclass[border=10pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[siunitx,american,RPvoltages]{circuitikz}
\begin{document}
\def\normalcoord(#1){coordinate(#1)}
\def\showcoord(#1){node[circle, red, draw, inner sep=1pt,
pin={[red, overlay, inner sep=0.5pt, font=\tiny, pin distance=0.1cm,
pin edge={red, overlay}]45:#1}](#1){}}
\let\coord=\normalcoord
%\let\coord=\showcoord
\begin{circuitikz}[scale=1, voltage shift=0.5]
\coordinate (T0) at (0,0);% position scope relative to ouside coordinates
\begin{scope}[shift=(T0)]
\draw (-.2,1) -- (-.2,-1) (.2,1)--(.2,-1);
\draw (-3,1) coordinate(T1) to[cute choke] (-2,1) to[inductor,name=L1] (-.2,1)
node[below,circ] at (L1.south west) {};
\draw (-3,0) coordinate(T2) to[cute choke] (-2,0) to[inductor,name=L2] (-.2,0)
node[below,circ] at (L2.south west) {};
\draw (-3,-1) coordinate(T3) to[cute choke] (-2,-1) to[inductor,name=L3] (-.2,-1)
node[below,circ] at (L3.south west) {};
\draw (.2,1) to[inductor,name=L4] (2,1) to[cute choke] (3,1) coordinate(T4)
node[below,circ] at (L4.south east) {};
\draw (.2,0) to[inductor,name=L5] (2,0) to[cute choke] (3,0) coordinate(T5)
node[below,circ] at (L5.south east) {};
\draw (.2,-1) to[inductor,name=L6] (2,-1) to[cute choke] (3,-1) coordinate(T6)
node[below,circ] at (L6.south east) {};
\end{scope}
\end{circuitikz}
\end{document}