# Circuit Series: Introduction and Characterization

### Justification

As part of my coursework, I have had some growing experience designing circuits. I plan on documenting these different topologies as distinct projects. I will describe how the circuits work and describe the various metrics that quanitfy their efficacy.

### Software

SPICE simulator: ngspice

Circuit drawing: Xcircuit

Layout: Electric

Analysis & graphing: Python3 with numpy, matplitlib packages

Repository: https://gitlab.com/nmg

## Characterization

In *CMOS: Design, Layout, and Simulation* text, Baker characterizes both a
and a CMOS process. While hundreds of examples, including the
files for simulations and model decks, are included, the models do not represent real
devices. Below I will characterize a 180nm () process.

### Determining Tuning Parameters

#### Gate Length

There is a trade-off between power and speed in any CMOS design. Baker's
*CMOS* text has excellent analysis of various important
MOSFET parameters (tables 9.1 and 9.2).

Transition frequency (frequency in which the transistor transitions from an amplifier to attenuator) for short channel devices can be shown to be:

Thus:

I will follow the text's recommendations for a gate length of 2-5 times minimum for general analog design.

Why not minimum length? While minimum length devices are often used in digital circuits (where precision matters less), they suffer from mismatch effects. Furthermore, channel length modulation parameter is inversely proportional to channel length:

while output resistance is calculated as:

Thus, open loop gain .

Gain and speed are a trade-off. By decreasing channel length, transition frequency is increased, and open loop gain is simultaneously decreased. Similarly, increasing channel length decreases transition frequency and increases open loop gain.

#### Gate Voltage

The next recommendation is for overdrive voltage to be roughly 5% of .

For high speed, can be a larger value, such as 10% of .

Note: While *CMOS* lacks in in-depth analysis showing why it is so, it can be shown
that still increases as a function of
overdrive voltage.

Increasing increases effective mobility and thus gain. At the same time, increasing also increases , as shown above. The result is a larger gain-transition frequency product, GFT.

### Gate Width

According to *CMOS* section 9.2.1,

The width of the MOSFET is selected to ensure the MOSFET has enough current drive for a particular load.

The tradeoff here is current drive (which impacts speed), and power.

As a first cut, let's select for a bias current of 10uA

**versus , W/L=80/4**

A W/L of 80/4 seems to do the trick. Due to the early effect, the bias current
varies with . As in *CMOS*, we can simple say the drain current is 10
uA as an approximation. Channel length modulation parameter can be
estimated from the graph to be approximately 0.32 .

### Output Resistance

Output resistance is defined as:

We can see this analytically in the following plot, which is the reciprical of the derivative of the versus plot above.

**as a function of , W/L=80/4**

varies from 400-450k for > 300mV. We can say it is 400k as an approximation. The peak output resistance at = 500mV can be exploited in the design of current mirrors.

To determine , we look at when begins to increase, around = 60 mV. Note this is different than the overdrive voltage of 90 mV, as saturation voltage and overdrive voltage differ in short channel processes.

### Forward Transconductance

Forward Transconductance is defined as:

**as a function of , W/L=80/4**

Looking at the graph, =170 uA/V at =500mV.

Thus, open loop gain is:

### Transition Frequency

Finally, let's determine transition frequncy analytically.

**Gain as a function of frequency, W/L=80/4**

As we can see in the plot above, the gain becomes 0dB at 1.08 GHz frequency.

To determine the gain-frequency product GFT, we multiply open loop gain by transition frequency:

## Conclusion

Here is the table that summarizes the results. Analogous PMOS values will soon be generated.

Parameter | NMOS | Comments |
---|---|---|

W/L | 80/4 | in units of |

60mV | ||

120mV | ||

500mV | ||

380mV | ||

m/s | ||

170 uA/V | at =10uA | |

400k | approximate at =10uA | |

68 V/V | open circuit gain | |

0.32 V^-1 | CLM parameter, at L=4 | |

1.08 GHz | approximate at L=4 |