Modules 5 & 6 - Psuedo-NMOS Inverter, CMOS Inverter-Static Characteristics

Most of these notes continue from the end of Modules 3 & 4 - NMOS Inverters & PMOS Review#6.6.3 NMOS Inverter w/ Depletion-Mode Load and prior. Read up on that if you're lost.

6.6.4: Static Design of the Pseudo NMOS Inverter

Pasted image 20240128165244.png

This circuit is known as the pseudo NMOS since circuit operation is similar to that of NMOS logic, even though it is usually in CMOS designs we'll see later.

For our purposes we'll use the same IDD=80μA,VDD=2.5V,VL=0.2V values from prior.

Calculation of (W/L)P=(W/L)L and (W/L)S.

For the ML PMOS we have VGS=2.5V and thus the transistor is in the conducting state, so since VDS=0.2V2.5=2.3V and VGSVtp=2.5V(0.6V)=1.9V, so we'll have saturation:

ID=Kp2(W/L)P(VGSVtp)280μA=0.540μAV2(W/L)P(2.5(0.6)2)V2

giving:

(W/L)P=1.111

For the other (W/L)S, we need VH. Using Figure 6.24b, as before we have ML in the saturation state. When VI=VL=0.2V we have MS as off, so current flows through the PMOS to charge the output node until VDS of the transistor collapses to zero, so VH=VDD.

Thus, the calculations for (W/L)S are similar as to those in Modules 3 & 4 - NMOS Inverters & PMOS Review#6.5.2 Design of the W/L Ratio for MS, so see that section for more information.

Noise Margin Analysis for Pseudo NMOS Inverter

Finding VIL,VOH first, we need a relationship between VI,Vo. We guess when VI=VIL we have MS in the saturation region and that ML will be in the triode. This is because we are in some states between the ML being totally cutoff, and MS is in a similar boat. One being in cutoff isn't super interesting, so it's better when both aren't just in cutoff, and one is in a different state than the other (as otherwise the voltages just get scaled).

Thus:

KS/2(VIVtn)2=KL(VDDVtpVoVDD2)(VoVDD)

we care when the slope VoVi=1, so do the derivative. We solve for Vo instead since it's easier to extract, and actually find when the reciprocal is -1 (which is the same as the normal derivative). Giving:

VI=Vtn+1KR(2(VDD+Vtp)(VDDVo))(VDDVo),KR=KSKL

the derivative is tedious and gives:

VIL=Vtn+VDD+VtpKR2+KR

and:

VOH=VDD(VDD+Vtp)(1KRKR+1)

you can calculate values and check that our assumptions were actually right the whole time. A similar process finds VIH,VOL, where we flip and assume that ML is in saturation and MS is in triode. Doing a similar process gives:

VOL=VDD+VtnP3KR

and:

VIH=Vtn+2(VDD+Vtp)3KR=Vtn+2VOL

7.1: CMOS Inverter Technology

CMOS requires both a PMOS and NMOS together on one IC subtrate.

Pasted image 20240128171658.png

Note, there's an implied diode between the n-well and p-type substrate. Thus, we need it to be reverse biased all the time, via using good connections of VDD and VSS.

The connections above create the following circuit diagram:

Pasted image 20240128171924.png

The generic way it works is that if the NMOS is on, the PMOS is off. If the PMOS is on, the NMOS is off. Thus, we create an open on one side, giving rise to Vo becoming either VDD or VSS,gnd. In the intermediary, there will be time where both are on, creating the undefined region we've seen with previous inverter circuits.

One interesting thing is that the bodies of both transistors are connected to their respective sources, so VSB=0V so there is no body effect.

For this we'll use the following values:

Pasted image 20240128172328.png

Note that:

One way to layout the substrate is via:

Pasted image 20240128172814.png

7.2: Static Characteristics for CMOS Inverter

Consider the following:

Pasted image 20240128173526.png

First, consider when vI=2.5V. Then VGS=2.5 for the NMOS, and VGS=0V for the PMOS. For the NMOS VGS>Vtn=0.6V so a channel exists in the NMOS. But the PMOS is off since VGS=0. So in (a), the capacitor C discharges through the NMOS and vo0V, until there's not any current through MN, and no current goes through MP.

Once VI is set to 0V, then VGS=0V for the NMOS so it's off. For the PMOS VGS=2.5V so a channel exists. C gets charged from the 2.5V supply connected to MP. Once steady-state is reached, MN and MP have no current through since the NMOS is off.

Note that VH=VDD and VL=0V. Also the logic swing ΔV=2.5V, and the static power dissipations is zero, as the DC current is zero (eventually) in both logic states.

7.2.1: CMOS Voltage Transfer Characteristics

We have 5 regions:

Pasted image 20240128174633.png

Note that the boundary between region 2 and 3 (and 3 and 4) is defined by the triode/saturation regions of operation. Saturation in P occurs when:

2.5Vo2.5VIVTOPVOVI+VTOP

similarly we can find the other line equation for when MN enters saturation:

VoVIVTON

when Kp=Kn then we get that VM=VDD2. But when KpKn, then it shifts away from this value. Recall that we defined KR=KnKp.

Pasted image 20240128175431.png

Using the figure, when KR>1 then we move the VM to the left, and vice verse for KR<1.

A nice thing about CMOS inverters is that they can operate at low voltages, where we've gotten as low as VDD=2VTln(2), which can get as low as 40mV.

7.2.2: Noise Margins for CMOS

Finding VIH. For VI near this value, we assume that PMOS is saturated and NMOS is in triode, giving:

Kn(VIVtnVo2)Vo=Kp2(VIVDDVtp)2

we can simplify this to:

KR(2VIVtnVo)=(VIVDDVtp)2

solving for Vo gives an equation we can take the derivative of and set it to -1, giving our value for VIH:

VIH=2KR(VDDVtn+Vtp)(KR1)1+3KRVDDKRVtn+VtpKR1VOL=(KR+1)VIHVDDKRVtnVtp2KR

for when KR=1:

VIH=5VDD+3Vtn+5Vtp8,VOL=VDDVtn+Vtp8

The whole VIL process is the exact same, except the PMOS is in triode and NMOS is in saturation:

VIL=2KR(VDDVtn+Vtp)(KR1)KR+3(VDDKRVtn+Vtp)KR1

and:

VOH=(KR+1)VIL+VDDKRVtnVtp2

and when KR=1:

VIL=3VDD+5Vtn+3Vtp8,VOH=7VDD+VtnVtp8

use the NM equations after getting these values via Week 1 - nMOSFET and Inverter Characteristics#^64d3d1 and similar.