\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../fm.tikz}
\begin{document}
\begin{circuitikz}[font=\small]
\draw (0,0) to[american current source, l=$I_\mathrm{in}$] (0,2.6) -- (3.6,2.6); \draw (0,0) -- (3.6,0); \draw (2.0,2.6) to[battery1, l=$V_\mathrm{B}$] (2.0,1.5); \draw (1.4,1.5) -- (2.6,1.5); \fill (2.0,2.6) circle (1.6pt) (2.0,1.5) circle (1.6pt) (1.4,0) circle (1.6pt) (2.6,0) circle (1.6pt);
\draw (1.4,0) to[empty diode, l=$D_1$] (1.4,1.5); \draw (2.6,1.5) to[R, l=$R_1$] (2.6,0);
\draw (3.6,2.6) node[ocirc]{}; \draw (3.6,0) node[ocirc]{}; \node at (3.6,2.2) {$+$}; \node at (3.95,1.3) {$V_\mathrm{out}$}; \node at (3.6,0.4) {$-$};
\begin{scope}[xshift=8.4cm, yshift=0.4cm]
\axes{-2.8}{2.4}{-1.0}{2.6}{$I_\mathrm{in}$}{$V_\mathrm{out}$}
\draw[cv] (-2.7,0.9) -- (-1.1,0.9) -- (1.4,2.4); \draw[densely dashed] (-1.1,0) -- (-1.1,0.9) -- (0,0.9);
\fill (0,1.56) circle (1.2pt); \node[right, font=\footnotesize] at (0,1.4) {$V_\mathrm{B}$};
\draw (0.06,0.9) -- (-0.06,0.9); \node[right, font=\footnotesize] at (0,0.75) {$V_\mathrm{B}-V_\mathrm{D,on}$};
\draw (-1.1,0.06) -- (-1.1,-0.06) node[below, font=\footnotesize]{$-\dfrac{V_\mathrm{D,on}}{R_1}$};
\draw (0.5,1.86) -- (0.9,1.86) -- (0.9,2.1); \node[below right, font=\footnotesize] at (0.8,1.9) {$R_1$};
\end{scope}
\end{circuitikz}
\end{document}
