\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\newcommand\micat[1]{\begin{scope}[shift={($#1+(-0.21,0)$)}, scale=0.6]\draw[line width=1.2pt] (0,-0.35) -- (0.35,-0.35) -- (0.35,0.35) -- (0,0.35) arc (90:270:0.35);\end{scope}}
\begin{document}
\begin{circuitikz}
% ideal current source load
\draw (1.6,0) node[npn](q){};
\draw (q.C) -- ++(0,0.3) coordinate(cn) to[american current source, l_=ideal, invert] ++(0,1.6) coordinate(vt) +(-0.3,0) -- +(0.3,0) +(0,0.02) node[above]{$V_\mathrm{CC}$};
\draw (cn) node[circ]{} -- ++(1.2,0) node[ocirc, label=right:$V_\mathrm{out}$]{};
\draw (q.E) -- ++(0,-0.8) node[ground]{};
\draw (q.B) -- (0,0) -- (0,-0.4) coordinate(m) -- (0,-0.8) to[battery1] (0,-1.8) node[ground]{};
\micat{(m)}
\node[left] at (-0.35,-1.3) {$V_0$};
\node[font=\small] at (0.35,-1.05) {$+$}; \node[font=\small] at (0.35,-1.55) {$-$};
% its small-signal circuit: the ideal current source is an open circuit
\begin{scope}[shift={(5.0,-0.6)}]
\draw (0,2) to[american voltage source, l_=$v_\mathrm{in}$] (0,0) node[ground]{};
\draw (0,2) -- (1.8,2) to[R, l_=$r_\pi$] (1.8,0) node[ground]{};
\node at (2.25,1.0) {$v_\pi$}; \node[font=\small] at (2.15,1.5) {$+$}; \node[font=\small] at (2.15,0.5) {$-$};
\draw (3.4,2) to[american current source, l={$g_\mathrm{m} v_\pi$}] (3.4,0) node[ground]{};
\draw (3.4,2) -- (6.4,2) node[ocirc]{} -- (7.4,2) node[ocirc]{};
\draw (5.0,2) node[circ]{} to[R, l=$r_\mathrm{o}$] (5.0,0) node[ground]{};
\draw (6.4,0.9) node[ocirc]{} -- (6.4,0) node[ground]{};
\draw (7.4,0.5) node[ocirc]{} -- (7.4,0) node[ground]{};
\node[font=\small] at (7.4,1.65) {$+$}; \node[anchor=west] at (7.5,1.25) {$v_\mathrm{out}$}; \node[font=\small] at (7.4,0.85) {$-$};
\end{scope}
\end{circuitikz}
\end{document}
