Skip to content Skip to navigation

Connexions

You are here: Home » Content » CMOS Logic

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

      A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

      What is in a lens?

      Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

      Who can create a lens?

      Any individual Connexions member, a community, or a respected organization.

    • External bookmarks
  • E-mail the author

Recently Viewed

This feature requires Javascript to be enabled.

CMOS Logic

Module by: Bill Wilson

Summary: Introducing technology CMOS, that means complementary MOS, including how to make p-channel transistor and how this one works.

Consider the following, shown in Figure 1.

Figure 1: A PMOS transistor
Figure 1 (4.44.png)

This looks a lot like our previous MOSFET except that now we have an n-type substrate and the source and drain regions are p-type. If we apply a negative Vgs Vgs (with the source connected to the n-type substrate) then the induced negative charge on the gate will drive away the electrons, and if the bands under the gate are bent up sufficiently, form an inversion layer of holes thus making an enhancement mode p-channel MOSFET, or a PMOS transistor. (As opposed to an NMOS transistor which we studied first.). Note that a PMOS transistor will have a negative VT VT . That is, the gate voltage has to be less than the source/substrate voltage in order to turn the device on. The more negative Vgs Vgs , the more current we will have flowing through the device.

Figure 2: Inversion of an n-type layer
Figure 2 (4.45.png)

It turns out that a combination of both an n-channel and a p-channel device on the same circuit can be very advantageous. Such technology is called CMOS, for "complementary MOS". Here is how we use a p-channel transistor in the inverter circuit.

First of all, however, we have to see how we would make one. There is a fundamental problem in trying to use both n-channel and p-channel devices in the same circuit. What is it? It would seem we need two different kinds of substrates, both a p-type substrate for the n-channel transistor, and an n-type substrate for the p-channel device. There is a way around this problem by making what is called a tank or a moat. A moat is a relatively deep region of one type of material placed into a host substrate of the opposite type (Figure 3). We can put n-type source/drain regions into the p-substrate and p-type source/drain regions into the n-moat. In Figure 4, we will also show the gates, and how the whole inverter is connected together.

Figure 3: Preparing for a CMOS inverter
Figure 3 (4.46.png)
Figure 4: A CMOS inverter
Figure 4 (4.47.png)

Now let's draw the schematic: A p-channel device is drawn just like an n-channel device, except we put a little "bubble" on the gate to signify that it is a MOSFET of a different color. Although we usually don't do this all the time, we have also shown the substrate connections in this diagram. These connections show that a MOSFET is at least a four terminal device, not a three terminal one as people often assume. Since, in a p-channel device, the substrate is n-type, we show the substrate connection as an outward pointing arrow. The p-type substrate for the n-channel device is shown as an inward pointing arrow. The n-channel substrate is connected to ground, the p-channel substrate is connected to Vdd Vdd . Note that since the n-moat is at Vdd Vdd and the p-substrate is at ground, the moat-substrate p-n junction is reverse biased, and so no current should flow between them.

Figure 5: Schematic of a CMOS inverter
Figure 5 (4.48.png)

We usually do not label the source and drain either, but we do here, just for completeness. Note that unlike the bipolar transistor, the FET is truly a symmetric device. There is really no way to tell the source from the drain. By convention, we call the element which is connected to the substrate (or moat) the source, and the other the drain. You will sometimes hear the region under the gate (either substrate or moat) referred to as the backbody.

Now let's see how this circuit works. If Vin Vin is high (at or near Vdd Vdd ) the NMOS transistor will be turned on. The voltage between the gate and substrate of the p-channel device is at or near zero. The gate is at Vdd Vdd and so is the moat! Hence the upper transistor will be turned off. The output will thus be low.

If the input voltage is at or near ground (a "low") then the n-channel device is turned off. The voltage between the gate and substrate of the p-channel device is now - V dd V dd . (The gate is 0 0 and the substrate is at + V dd V dd .) If the PMOS transistor has a threshold voltage VT VT of, say, -2 V, then it will be turned on and the output will be high. Note however, that in either state, high or low, there is no static current flowing through the inverter.

The transfer characteristics for this circuit. Are a little more complicated. First, let's make sure we have our voltages and currents defined. From the figure, V gs-n V gs-n the n-channel gate-source voltage is just Vin. V gs-p V gs-p the gate-source voltage for the p-channel device is V in - V dd I d - n = I d - p = I d V ds - p V in V dd I d - n I d - p I d V ds - p the drain source voltage for the p-channel transistor can be written as V ds - n - V dd V ds - n V dd . We have two sets of characteristic curves: Note that since V gs - p = V in - V dd V gs - p V in V dd , when V in =0 V in 0 V, V gs - p =-5 V gs - p -5 V and so the transistor is strongly turned on.

Figure 6: Defining voltages
Figure 6 (4.49.png)
Figure 7: Drain currents for the two transistor as a function of input voltage and Vds Vds
Figure 7 (4.50.png)

We have a number of different "load lines" in this case, because for each Vin Vin we have a different curve for both the n and p channel transistors. This is shown in Figure 8. The black spots show the point of intersection. Follow a few of the curves along to see if you agree with where the spots have been placed. We have also added a pair of dotted curves for V in =2.5 V in 2.5 V so we can get the "turn-over" point. Projecting the location of the black dots to the V ds-n V ds-n (or Vout Vout ) axis will gives us a value for Vout Vout for each of the input voltages, Vin Vin . The resulting curve is shown in Figure 9. This gives us a good "feel" for how the inverter works, and how the output varies with the input. Note that this transfer curve is quite symmetric about 2.5 volts, and goes all the way from +5 to 0 volts on the output.

Figure 8: Getting the transfer function
Figure 8 (4.51.png)
Figure 9: CMOS inverter transfer characteristics
Figure 9 (4.52.png)

Comments, questions, feedback, criticisms?

Send feedback