\documentclass{article}
\usepackage{tikz}
\usepackage{circuitikz}
\usetikzlibrary{chains}
\begin{document}
\begin{tikzpicture}[
start chain=going right,
box/.style={
on chain,join,draw,
minimum height=3cm,
text centered,
minimum width=2cm,
},
every join/.style={ultra thick},
node distance=5mm
]
\node [on chain] {$in$}; % Chain starts here
\node [box,xshift=5mm,label=above:Some] (rec) {
\begin{circuitikz}[american currents]
\draw (0,0) to[C] (0,2);
\end{circuitikz}
};
\node [on chain,join,draw,
text width=1cm,
minimum width=2cm,
text centered,
minimum height=3cm,
label=above:Six,
] (ic) {
\begin{circuitikz}[american currents]
%\draw (0,0) to[Do] (0,2);
\draw (0,0) to[cI] (0,-2);
\end{circuitikz}
};
\node [box,label=above:Five] (inv) {
\begin{circuitikz}
%\draw (0,0) node[nigbt] {};
\draw (0,0) to[C] (0,-2);
\end{circuitikz}
};
\node [on chain,join,xshift=5mm]{$out$};
% Chain ends here
% CU box
\node [
rectangle,draw,
below=5mm of ic,
minimum width=8cm,
minimum height=1cm,
] (cu) {\textbf{XXX}};
% PU box
\node [
rectangle,draw,
above=2mm of cu,
minimum width=8cm,
minimum height=4cm,
label=\textbf{YYY},
] (pu) {};
% Connections between CU and PU
\draw[<->] (rec.south) -- ++(0,-5mm);
\draw[<->] (cu.north) to (ic.south);
\draw[<->] (inv.south) -- ++(0,-5mm);
\end{tikzpicture}
\end{document}
Hi all,
My question is that middle box labelled "Six", I wish to draw controlled current with both of its legs/leads from its two ends shown . At the moment, from the picture attached, it only shows one leg. Any help is appreciated.
Cheers, Menghan
\draw (0,0) to[cI] (0,-1) -- (0,-2);
? – Torbjørn T. Sep 25 '15 at 7:31