Good evening,
in the following drawing I added two diodes on the secondary side. Three questions:
- As you can see, I placed D1 first and went from there to D2, inverting D3. I did the same starting from the transformer with the lower part. How do I know connect the transformer terminal B2 to the wire between D3 and D4?
- My added voltage arrow is not placed very well. It needs to go on the right with a little space added. Also it needs to be clear, that it points from the node c1 to node c2. Is there a way to improve this?
Thank you very much.
\documentclass{article} \usepackage[utf8]{inputenc} \usepackage[siunitx,european,fetbodydiode,smartlabels]{circuitikz} \usetikzlibrary{positioning} \begin{document}
\begin{figure} % Generalized diagram of different components inside an AC drive with voltage intermediate circuit % Based on a template by % Author: Erno Pentzin (2013), http://www.texample.net/tikz/examples/ac-drive-components/
\begin{circuitikz}
\draw
% top part of switch legs
(0,0) coordinate[label=above:s1] (s1)
to ++ (0,-0.4)
node (mosfet1) [nigfete,below,anchor=D] {$Q_1$}
(mosfet1) node (mosfet3) [nigfete,right=22mm] {$Q_3$}
(mosfet1.S) to [short,-*] ++ (0,-0.4) coordinate[label=above:t1] (t1)
% transformer (t1 -| mosfet3.S) % Connect Q1 with Q3S which is electrically wrong, but easier to draw
node (T) [transformer core,below right=0mm and 11mm]{}
% bottom part of switch legs
(mosfet3.S |- T.A2) coordinate (t2) % likewase counter intuitive
to ++ (0,-0.4)
node (mosfet4) [nigfete,below,anchor=D] {$Q_4$}
(t1 |- mosfet4.D) node (mosfet2) [nigfete,below,anchor=D] {$Q_2$}
% connection lines origins at transformer
(T.A1) to (t1)
(T.A2) to [short,-*] (t2)
(T.B1) to [short,-o] ++ (0.5,0) coordinate (t3)
(T.B2) to [short,-o] ++ (0.5,0) coordinate (t4)
(t3) to[open, v^=$v_o(t)$] (t4)
% connection lines orign at mosfet
(t1) to (mosfet2.D)
(mosfet2.S) to ++ (0,-0.4) coordinate[label=below:s2] (s2)
(mosfet3.D) to ++ (0, 0.4) coordinate[label=above:s3] (s3)
(mosfet3.S) to (mosfet4.D)
(mosfet4.S) to ++ (0,-0.4) coordinate (s4)
% supply lines
(s3) -- (s1) to [short,*-o] ++ (-2,0) coordinate (s+) % added *-o, * to get dot at S1
(s4) -- (s2) to [short,*-o] ++ (-2,0) coordinate (s-) % added *-o, * to get dot at S2
(s+) to [open, v=60<\volt>, invert] (s-)
% secondary side
(t3) to [Do,name=d1,label=D1] ++(0,1.5) --++(1.5,0) coordinate[label=above:c1] (c1)
(c1) to [Do,invert,name=d3,label=$D3$] ++(0,-1.5)
(t4) to [Do,invert,name=d2,label=D2] ++(0,-1.5) --++(1.5,0) coordinate[label=below:c2] (c2)
(c2) to [Do,name=d4,label=D4] ++(0,1.5) -- (d3)
(d2) -- (d1)
(t4) -- (d4)
(c1) to [open, v=60<\volt>, invert] (c2)
;
\end{circuitikz}
\caption[Ersatzschaltbild]{Ersatzschaltbild}
\label{fig:ersatzschaltbild}
\end{figure}
\end{document}