# Common-emitter amplifier

> A biased NPN stage with a voltage divider, emitter resistor and bypass capacitor, and coupling capacitors. A circuitikz example with its LaTeX source.

A circuitikz example in the TeXeR TikZ library: https://texer.org/library/circuitikz/common-emitter

Package: [circuitikz](https://texer.org/library/circuitikz.md), on CTAN at https://ctan.org/pkg/circuitikz.

Tags: amplifier, BJT, common emitter, biasing

## Source

```latex
\usepackage{circuitikz}

\begin{circuitikz}
  \draw (3,0) node[npn] (Q) {};
  \draw (1,3.2) -- (3,3.2) node[right] {$V_{CC}$};
  \draw (1,3.2) to[R, l_=$R_1$, -*] (1,0) to[R, l_=$R_2$] (1,-3);
  \draw (1,0) -- (Q.B);
  \draw (Q.C) to[short, -*] (3,1.2) to[R, l=$R_C$] (3,3.2);
  \draw (Q.E) to[short, -*] (3,-1.2) to[R, l_=$R_E$] (3,-3);
  \draw (3,-1.2) -- (4.4,-1.2) to[C, l=$C_E$] (4.4,-3);
  \draw (1,-3) -- (4.4,-3);
  \draw (2.2,-3) node[ground] {};
  \draw (-1.2,0) node[left] {$v_{in}$} to[C, l=$C_{in}$, o-] (1,0);
  \draw (3,1.2) to[C, l=$C_{out}$, -o] (5.6,1.2) node[right] {$v_{out}$};
\end{circuitikz}
```

## As a complete document

The same example in a document that compiles on its own with pdfLaTeX:

```latex
\documentclass[margin=3mm]{standalone}
\usepackage{tikz}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{circuitikz}

\begin{document}

\begin{circuitikz}
  \draw (3,0) node[npn] (Q) {};
  \draw (1,3.2) -- (3,3.2) node[right] {$V_{CC}$};
  \draw (1,3.2) to[R, l_=$R_1$, -*] (1,0) to[R, l_=$R_2$] (1,-3);
  \draw (1,0) -- (Q.B);
  \draw (Q.C) to[short, -*] (3,1.2) to[R, l=$R_C$] (3,3.2);
  \draw (Q.E) to[short, -*] (3,-1.2) to[R, l_=$R_E$] (3,-3);
  \draw (3,-1.2) -- (4.4,-1.2) to[C, l=$C_E$] (4.4,-3);
  \draw (1,-3) -- (4.4,-3);
  \draw (2.2,-3) node[ground] {};
  \draw (-1.2,0) node[left] {$v_{in}$} to[C, l=$C_{in}$, o-] (1,0);
  \draw (3,1.2) to[C, l=$C_{out}$, -o] (5.6,1.2) node[right] {$v_{out}$};
\end{circuitikz}
\end{document}
```
