Skip to content Skip to navigation

Connexions

You are here: Home » Content » Inverters and 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.

      What are tags? tag icon

      Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

    • External bookmarks
  • E-mail the author
  • Rate this module (How does the rating system work?)

    Rating system

    Ratings

    Ratings allow you to judge the quality of modules. If other users have ranked the module then its average rating is displayed below. Ratings are calculated on a scale from one star (Poor) to five stars (Excellent).

    How to rate a module

    Hover over the star that corresponds to the rating you wish to assign. Click on the star to add your rating. Your rating should be based on the quality of the content. You must have an account and be logged in to rate content.

    (0 ratings)

Lenses

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.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

This content is ...

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • Featured Content display tagshide tags

    This module is included inLens: Connexions Featured Content
    By: ConnexionsAs a part of collection:"Introduction to Physical Electronics"

    Comments:

    "This course offers an introduction to solid state device including field effect and bipolar transistors. Properties of transmission lines and propagating E&M waves are also presented. It is […]"

    Click the "Featured Content" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

Inverters and Logic

Module by: Bill Wilson

Summary: Introducing inverter circuit, and building circuits which perform the NOR and NAND function based on this inverter circuit.

Note: Your browser may not currently support MathML. See our browser support page for additional details. You can always view the correct math in the PDF version.

As you already know, or will find out shortly, from taking a class in digital logic, logic circuits are primarily based upon a circuit called an inverter. An inverter simply takes a signal and gives you the opposite one. For instance, if a high voltage (a "one") is placed on the input of an inverter, it returns a low voltage (a "zero"). Figure 1 is a simple inverter based on a MOSFET transistor:

Figure 1: Inverter circuit
Figure 1 (4.35.png)

If Vin Vin is zero, the MOSFET is turned off (Vgs Vgs is < V T < V T ) and so no current flows through the resistor, and V out = V dd V out V dd , a high. If Vin Vin is high (and we assume that VT VT for the MOSFET is significantly less than Vin Vin ) then the transistor is turned on, and if RR and WL W L are chosen so that enough current flows through RR to drop most of Vdd Vdd across it, then Vout Vout will be low.

The way this is usually described is through a transfer function which tells us what the output voltage is as a function of the input voltage. Let's digress for just a minute and see how such a function can be arrived at. Looking back at Figure 1 it should be easy to see that

V dd = I d R d + V ds V dd I d R d V ds (1)

We can re-write this as an equation for Id Id .

I d = V dd R d V ds R d I d V dd R d V ds R d (2)

This is called a load-line equation. It says that Id Id varies linearly with Vds Vds (with a negative slope) and has a vertical off-set of V dd R d V dd R d . Let's suppose we have the MOSFET transistor for which we have already plotted the characteristic curves in a previous plot. We will let V dd =5 V dd 5 Volts, and let R d =1kΩ R d 1 kΩ . From Equation 2 we can see that when V ds =0 V ds 0 , Id Id will be 5 mA, and when V ds = V dd V ds V dd , Id Id will be 0. This then gives us a straight line on the characteristic curve plot which is called the load line. This is shown in Figure 2. By looking back at the schematic for the inverter in Figure 1 we see that the same current Id Id flows through the load resistor, Rd Rd , and through the transistor. Thus, the correct value of current and voltage for the circuit for any given gate voltage is the simultaneous solution of the load line equation and the transistor behavior, which, of course, is just the intersection of the load line with the appropriate characteristic curve. Thus it is a simple matter of drawing vertical lines down from each Vin Vin curve or Vgs Vgs value down to the horizontal axis to find out what the appropriate Vdd Vdd or output voltage will be for the inverter. Assuming that Vin Vin only goes up to 5 Volts, the resulting curve that we get look like Figure 3. This is not a great transfer characteristic. Vin Vin has to get fairly large before Vout Vout starts to fall, and even with the full 5 Volt input, Vout Vout is still greater than 1 Volt. Picking a transistor with a small VT VT and a bigger load resistor would give us a better response, but at least with this example you can see what is going on.

Figure 2: Characteristic curves with load line
Figure 2 (4.36.png)
Figure 3: Transfer characteristics for the inverter circuit.
Figure 3 (4.37.png)

Based on this simple inverter circuit, we can build circuits which perform the NOR and NAND function.

C out =¬A+B C out A B (3)
and
C out =¬AB C out A B (4)
It should, by now, be obvious to you how the two circuits in Figure 4 can perform the NAND and NOR function. It turns out that with the capability to do NAND and NOR, we can build up any kind of logic function we desire.

Figure 4: NAND and NOR circuits
Figure 4 (4.38.png)

Let's look at the inverter a little more closely. Usually, the load for the inverter will be the next stage of logic which, along with the associated interconnect wiring, we can model as a simple capacitor. The value of the capacitance will vary, but it will be on the order of 10-12 10 -12 F.

Figure 5: Driving a capacitive load
Figure 5 (4.39.png)

When the input to the inverter switches instantaneously to a low value, current will stop flowing through the transistor, and instead will start to charge up the load capacitance. The output voltage will follow the usual RCRC charging curve with a time constant given just by the product of RR times CC. If CC is 10-13 10 -13 F, then to get a rise time of 1 ns we would have to make RR about 104 10 4 .

As we shall see later, it is virtually impossible to make a 10 kΩ resistor using integrated circuit techniques. Remember:

R=ρLA R ρ L A (5)

And thus, to get a really big resistance we need either a very tiny A (Too hard to achieve and control.), a really BIG L (Takes up too much room on the chip) or a huge ρρ (Again, very hard to control when you get to the very low doping densities that would be required.)

Even if we could find a way to build such big integrated circuit resistors, there would still be a problem. The current flowing through the resistor when the MOSFET is on would be approximately

I=VR=5V104=5×10-4A I V R 5 V 10 4 5 10 -4 A (6)
Which doesn't seem like much current until you consider that a Pentium© microprocessor has about 6 million gates in it. This would mean a net current of -300 -300 Amps Amps flowing into the CPU chip! We've got to come up with a better solution.

Comments, questions, feedback, criticisms?

Send feedback