<< Chapter < Page Chapter >> Page >
Introducing inverter circuit, and building circuits which perform the NOR and NAND function based on this inverter circuit.

As you already know, or will find out shortly, from taking a class in digital logic, logic circuits are primarily based upon acircuit 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"). is a simple inverter based on a MOSFET transistor:

Inverter circuit

If V in is zero, the MOSFET is turned off ( V gs is < V T ) and so no current flows through the resistor, and V out V dd , a high. If V in is high (and we assume that V T for the MOSFET is significantly less than V in ) then the transistor is turned on, and if R and W L are chosen so that enough current flows through R to drop most of V dd across it, then V out 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 minuteand see how such a function can be arrived at. Looking back at it should be easy to see that

V dd I d R d V ds

We can re-write this as an equation for I d .

I d V dd R d V ds R d

This is called a load-line equation. It says that I d varies linearly with V ds (with a negative slope) and has a vertical off-set of 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 Volts, and let R d 1 kΩ . From we can see that when V ds 0 , I d will be 5 mA, and when V ds V dd , I d will be 0. This then gives us a straight line on the characteristic curve plot which is calledthe load line . This is shown in . By looking back at the schematic for the inverter in we see that the same current I d flows through the load resistor, R d , and through the transistor. Thus, the correct value of current and voltage for the circuit for anygiven gate voltage is the simultaneous solution of the load line equation and the transistor behavior, which, of course, is justthe intersection of the load line with the appropriate characteristic curve. Thus it is a simple matter of drawingvertical lines down from each V in curve or V gs value down to the horizontal axis to find out what the appropriate V dd or output voltage will be for the inverter. Assuming that V in only goes up to 5 Volts, the resulting curve that we get look like . This is not a great transfer characteristic. V in has to get fairly large before V out starts to fall, and even with the full 5 Volt input, V out is still greater than 1 Volt. Picking a transistor with a small V T and a bigger load resistor would give us a better response, but at least with this example you can seewhat is going on.

Characteristic curves with load line
Transfer characteristics for the inverter circuit.

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

C out A B
and
C out A B
It should, by now, be obvious to you how the two circuits in can perform the NAND and NOR function. It turns out that with the capability to do NAND and NOR, we canbuild up any kind of logic function we desire.

NAND and NOR circuits

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 theassociated interconnect wiring, we can model as a simple capacitor. The value of the capacitance will vary, but it willbe on the order of 10 -12 F.

Driving a capacitive load

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

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

R ρ L A

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 (Takesup 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 berequired.)

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

I V R 5 V 10 4 5 10 -4 A
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 Amps flowing into the CPU chip! We've got to come up with a better solution .

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Introduction to physical electronics. OpenStax CNX. Sep 17, 2007 Download for free at http://cnx.org/content/col10114/1.4
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Introduction to physical electronics' conversation and receive update notifications?

Ask