HW 3 - Psuedo-NMOS Inverters and CMOS

6: Pseudo-NMOS Inverters

6.90

Consider the pseudo NMOS inverter below:

Pasted image 20240128182216.png

We are given:

Kn=100μAV2,Kp=40μAV2,Vtn=0.6V,Vtp=0.6V

Rather now VL=0.25V. We'll need to change our width-length ratios as a result. Consider when VI=VH. Then on the switching MOSFET (ie: the NMOS) we have it that VGS=2.5V so then Vo=VH=VL=0.25V. We assume (W/L)P stays the same.

VDS=0.25V on the MS, while it is VGS=2.5V, so then VGSVtn=1.9V so then we are in triode for the NMOS. Since ID in the spec stays unchanged, we can assume ID=80μA, so then:

ID=Kn(W/L)s(VGSVtn0.5VDS)VDS80μA=100μA/V2(W/L)s(1.9V0.50.25V)0.25(W/L)s=1.803/1

Now consider the noise margins NML and NMH. We can first find all VIL,VIH,VOL,VOH. We note that:

KR=KSKL=180.344.4=4.061

So we can use our equations:

VIL=0.6V+2.5V+0.6V4.0612+4.061=1.02VVOL=2.5V0.6V34.061=0.544V

So then:

NML=VILVOL=NML=0.476V

and then:

VIH=0.6V+2(2.5V0.6V)34.061=1.689VVOH=2.5V(2.5V0.6V)(14.0614.061+1)=2.302V

thus:

NMH=VOHVIH=0.613V

6.95

We'll design an NMOS inverter to operate from VDD=1.8V and VL=0.2V with a power of P=100μW. We assume Vtn=0.5V and Vtp=0.5V.

We'll choose to use the Pseudo NMOS inverter design. First, let's get ID:

P=VDDIDID=PVDD=100μW1.8V=55.56μA

we also can assume from the table that Kn=100μA/V2 and Kp=40μA/V2.

Now we consider when VI=VH=1.8V, and then Vo=0.2V. Notice for ML that then we get that VGS=1.8V (always) and VDS=0.21.8=1.6V so then VSG|Vtp|=1.3V so then VSD>VSG|Vtp| so we are in saturation:

55.56μA=20μA/V2(W/L)L(1.3V)2

so then we get that (W/L)L=1.64/1.

Moving to the MS, we care about the triode state, which occurs when VI=VH=1.8V and Vo=VH=0.2V, and we can check that VDS=0.2V, VGS=1.8V so then VDS<VOV=1.3V. Thus:

55.56μA=100μA/V2(W/L)S(1.30.50.2)0.2(W/L)S=2.315/1

Now for the noise margins. We can use the equations derived for us:

Kp=KsKL=2.315100μA/V21.6440μA/V2=3.529VIL=0.5V+1.8V0.5V3.5292+3.529=0.825VVIH=0.5V+2(1.8V0.5V)33.529=1.300VVOL=1.8V0.5V33.529=0.400VVOH=1.8V(1.8V0.5V)(13.5293.2529+1)=1.648V

Thus:

NML=VILVOL=0.425V,NMH=VOHVIH=0.348V

7.15

Consider the following circuit:

Pasted image 20240130103536.png

This is a Pseudo NMOS. We'll find VH and VL for this gate. Consider when we VI=VH, then we get Vo=VL.

a

Notice for the top Mp PMOS that VGS=3.3V so then assuming using the value Vtp=0.6V then VSG|Vtp|=2.7V no matter our state. Clearly 3.3VVL=VSD>VOV so then we'll be in saturation no matter what. Furthermore, in this state for ML NMOS we have VGS=VH and VDS=VL, and since VGSVtn=VH0.6V>VL=VDS then VDS<VOV so then we are in triode.

So then equate the currents:

40μA/V22(1/1)(2.7V)2=Kn(5/1)(VH0.6V0.5(VL))VL

We can assume that VH=3.3V since when VI=VL and vice versa we have MN is off, so then VH=VDD=3.3V as there's no current running through the PMOS (so it's in triode and VDS=0V):

0.2916V2=VL(2.7V0.5VL)VL=0.110V

Notice that plugging in these values into our MN analysis from above, we get the expected saturation results, and our assumption for VH still remains valid as

b

Repeat but with VDD=2.5V=VH. We yield the same conclusions:

0.1444V2=VL(1.90.5VL)VL=0.078V

And our saturation assumptions are correct once again.

c

Repeat but with VDD=1.8V=VH:

0.0576V2=VL(1.20.5VL)VL=0.049V

Again we still have VH0.6V=1.2V>VL=0.049V for our saturation assumption.

7: CMOS Inverters

7.2

We draw the cross section for a CMOS process using a p-well rather than an n-well:

7.5

Consider the following circuit:

Pasted image 20240130121657.png

Here we say VDD=2.5V and VSS=0V. We'll find VH,VL for this inverter.

a

This is a standard CMOS inverter circuit. We know that VH=VDD=2.5V, as given when we have a VI=VL, of which Vo=VH so then MN is off, and then MP is in triode, no current flows, so then VH=VDD.

But when VI=VH then Vo=VL. Here, we get the same scenario, except roles are switched. Now MP is off, and MN is on but no current flows. As such, then Vo=VL=VSS=0V, so VL=0V.

b

We have the same reasoning and get VH=1.8V and VL=0V.

7.11

We have a CMOS inverter such that Kn=Kp. Use VDD=2.5V and Vtn=0.6V,Vtp=0.6V.

a

When Kn=Kp then KR=1 so then we have just that VM=VDD2=1.25V.

b

If we are given that Vo=Vi then we know that each Vo=VI=VM=1.25V. Further, we are given (W/L)N=2/1. We know that for the NMOS that VGS=1.25V and likewise VDS=1.25V, notice that VGSVtn=0.55V<VDS so then we are in saturation. For the PMOS, we have it that VSG=1.25V and VSD=1.25V so then still the PMOS likewise is in saturation:

Kp/2(W/L)P(1.25V0.6V)2=Kn/2(W/L)N(1.25V0.6V)2

which then implies that (W/L)N=(W/L)P=2 as expected. We can use our assumed value that Kn=100μA/V2 to get:

ID=50μA/V22(1.25V0.6V)2=42.25μA

c

We repeat (a). Notice now that Kn=2.5Kp, so then since KR=KnKp then we have KR=2.5. We know, as our prior reasoning implied from (b), that since we are at VI=Vo=VM then we are in saturation for both:

Kp/2(VDDVM|Vtp|)2=Kn/2(VMVtn)2

giving:

(2.5VVM0.6V)2=2.5(VM0.6V)2VM=1.104V

d

We can do the same analysis as we had done before:

ID=50μA/V22(1.104V0.6V)2=25.40μA

7.16

We need to find VM for a minimum size CMOS inverter where both (W/L)N=(W/L)P=2, if VDD=2.5V and Vtn=Vtp=0.6V. We can assume that Kp=40μA/V2 and Kn=100μA/V2. Thus, at VM we have saturation in both:

20μA/V22(2.5VVM0.6V)2=50μA/V22(VM0.6V)2

Simplifying:

VM=1.104V

7.17

From HW 3 - Psuedo-NMOS Inverters and CMOS#7.16, we find the NML and NMH. We know that KR=2.5 in this case:

VIH=22.5(2.5V0.6V0.6V)(2.51)1+32.52.5V2.50.6V0.6V2.51=1.220VVOL=(2.5+1)VIH2.5V2.50.6+0.6V22.5=0.174VVIL=22.5(2.5V0.6V0.6V)(2.51)2.5+3(2.5V2.50.6V0.6V)2.51=0.902VVOH=(2.5+1)VIL+2.5V2.50.6V+0.6V2=2.378V

Thus:

NML=VILVOL=0.728VNMH=VOHVIH=1.158V

7.22

Consider the following circuit:

Pasted image 20240130125837.png

We are given that all (W/L)P=40/1 and (W/L)N=20/1 for PMOS and NMOS. We need to find the current I as shown above. We assume Vtn=Vtp=0.6V.

First, what will help is finding the VO connecting current between both CMOS inverters.

For the NMOS transistors, we have VGS1=0V so VOV1=0.6V, implying that MN1 is in cutoff, so we can ignore it. For MN2 we have the opposite, where VGS2=2.5V so VOV2=1.9V. Let's assume that VDS<VOV2 so then MN2 is in triode.

Notice that for the MPn transistors that we have VSG1=2.5V and likewise VSG2=0V. Notice then that VSG2|Vtp|=0.6V so clearly MP2 is in cutoff and can be ignored. VOV1=1.9V, so to have VSD<VOV1 we'll assume that VSD=2.5VO<1.9V so then VO>0.6V which fits our range. In that case, then MP1 should be in triode:

Thus, equate the currents:

IP1=IN2Kp(2.5VVo)(2.5V0.6V0.5(2.5VVo))=KnVo(2.5V0.6V0.5Vo)

We know Kp=4040μA/V2=1600μA/V2 and Kn=20100μA/V2=2000μA/V2, so equate the equations and get that:

Vo=0.984V

which satisfies that Vo(0.6V,1.9V) as needed. Plug this into our current equation to get the current:

I=IP1=2770μA

7.23

A CMOS inverter has Vo=VL, where we sink a current of 1.5mA and maintain VL0.6V. When VoVH then the CMOS sources a current of 60μA, and maintains VH2.4V. We'll find the minimum W/L ratios of the NMOS and PMOS to meet this, using VDD=5V.

When we have Vo=VL, then the we have the MP as "on" and MN as "off", so MN is triode and MP is in saturation. We can just focus on the triode part, as it contains solving VL in there. We know here that VH=5V:

In,tri=1.5mA1.5mA=Kn(W/L)N(5V0.6VVGS0.5VLVDS)VL

we can use the maximum VL value as if we do then we can guarantee that we are always under that limit:

(W/L)N=6.010/1

In a similar way, when we have Vo=VH then we have the opposite effect, where here VSD=5V2.4V=2.6V and VSG=5V0.6V=4.4V:

Ip,tri=60μA60μA=Kp(W/L)P(5V0.6V0.52.6V)2.6V(W/L)P=0.180/1=15.373