Analog (Integrated) Circuit Design
Figure 25: A MOSFET common-source amplifier with resistive load.
\[ A_\mathrm{v} = \frac{V_\mathrm{out}}{V_\mathrm{in}} \approx - \frac{g_\mathrm{m}V_\mathrm{in} R_1}{V_\mathrm{in}} = - g_\mathrm{m}R_1. \]
Figure 26: A MOSFET common-source amplifier with 50 Ohm load.
Exercise: PMOS-Based Measurement Amplifier
Please think about why exactly we want this measurement amplifier to be based on a PMOS instead of an NMOS.
Important 1: MOSFET Parameters NG and M
When sizing the MOSFET for this example we found that we need a fairly large \(W\), resulting in a MOSFET aspect ratio of \(W/L \gg 1000\). When constructing an integrated circuit out of individual MOSFETs, we strive for an overall IC dimension that is roughly square. For MOSFET with large aspect ratios we need to get them into a comfortable shape.
MOSFET Parameters NG and M
In order to achieve this, we construct the MOSFET out of smaller pieces, and the size of these pieces (called “gate fingers”) is controlled by the parameter ng. These MOSFET gate fingers all have the same \(L\), but their width is \(W_\mathrm{finger} = W / \text{ng}\). All these individual smaller MOSFETs are connected in parallel.
In order to increase the MOSFET model accuracy, often the maximum value of \(W_\mathrm{finger}\) is limited. In the case of SG13G2 \(W_\mathrm{finger} \le 10\,\mu\text{m}\).
MOSFET Parameters NG and M
In order to construct even larger MOSFETs, we can connect multiple MOSFETs in parallel. We can do this in the circuit editor by placing and connecting these MOSFETs; but since this is often used there is a more convenient way: By using the parameter m (“multiplier” or “multiplicity”) we instantiate \(m\) MOSFETs connected in parallel.
MOSFET Parameters NG and M
When to use ng and when to use m? The use of ng results in a more compact IC layout, and is thus generally preferable. Only in certain instances (e.g., when using a really large \(W\)) m should be used. Further, the thoughtful use of ng allows one to construct all the NMOS and PMOS of a circuit out of the same gate finger elements. This will result in a very compact layout!
Exercise: Measurement Amplifier Simulation
Please go through the sizing notebook of the measurement amplifier and double-check the calculations. Do you agree that the calculations are correct?
Once you agree with the circuit sizing please build an Xschem simulation testbench where you simulate the small-signal voltage gain \(A_\mathrm{v}\) of this measurement amplifier if it is driven with an ideal voltage source. Keep in mind that the maximum MOSFET finger width is 10µm in this technology, so you need to set the parameter ng accordingly (see Important 1).
Exercise: Measurement Amplifier Simulation
Exercise: Measurement Amplifier Simulation