Transistors and Diodes |
Transitors and diodes are the basic active components in circuits. They act as switches and control the flow of currents in the circuit.
Diodes are quite simple devices created by the junction of N-type and P-type materials. These materials are specially doped semiconductors. N-type has impurities added (doping) to make it have
loosely bound electrons in its crystal structure (FIG3a). P-type has impurities added which create gaps or electron "holes" in its crystal structure (FIG3b).Because of the structure of the materials,
electrons can only move in one direction - from the P-type side to the N-type side of the diode (FIG4). This means that current can only flow in one direction across a diode. This property is very useful
to control the flow of currents through a circuit. |
. . |
Transistors come in two main varieties - bipolar junction (BJT) and field-effect (FET). BJT's are quite similar to diodes in construction.
In fact, a BJT is basically a double ended diode with a few differences. They are composed of three layers to form a sandwich. These three layers have special names: base, collector, and emitter (FIG5).
As Figure 5 shows, there are two flavors of BJT: NPN or PNP. A NPN BJT has a P-type layer (base) between a two N-type layers (collector and emitter) and vice versa for the PNP BJT.
The current in the BJT base controls the current flowing from the collector to the emitter. The BJT has three operating modes depending on this current:
cutoff, active, saturation. When used as a switch, the BJT is in cutoff mode for the "off" position, and in saturation mode for the "on" position. The active mode is very useful because it is the basis of
transistor amplifer circuits. |
 |
Field effect transistors (FET's) have a quite different structure from BJT's (FIG6). There are several different technologies used to create
FET's, but the metal oxide semiconductor FET (MOSFET) is the most common. This FET is composed of a metal electrode, two N-type or P-type wells, a N or P-type body. The electrode is insulated from the body by a
thin layer of oxide (usually silicon dioxide). The electrode is called the gate and the two wells are called the source and the drain. The FET's gate, source, and drain are analogous to the BJT's base, collector,
and emitter. As with BJT's, MOSFET's come in two flavors: NMOS and PMOS. NMOS FET's have a P-type body and N-type source and drain wells.
The current flowing from the drain to source is controlled by the voltage
applied to the gate. This gate voltage creates a channel in the body by attracting (NMOS) or repelling (PMOS) electrons. This channel is formed right below the insulating oxide layer and as the gate voltage is
varied, the channel's depth and shape change. The MOSFET also has three modes of operation: cutoff, saturations, and triode. When used as a switch, the MOSFET is in the cutoff mode for the "off" position
and in the triode mode for the "on" position. The saturatuion mode is used in MOSFET amplifers.
Perhaps the most common use of MOSFETS is in integrated circuits (IC's). Most IC's are CMOS, which stands for complimentary metal oxide semiconductor. These IC's
use both NMOS and PMOS FET's because it results in very efficient and symmetric circuits (especially digital logic circuits). |
 . |
Digital Logic |
Digital logic circuits are the basis of the computer revolution. These circuits implement Boolean logic, a form of logic using only two states or values.
These two states are "on" and "off" (also called "high" and "low") and represented symbolically by "1" for on and "0" for off. In circuits these values are represented by specific voltages, usualy +5V for a
1 ("on") and 0V for a 0 ("off"). There are three basic gates (circuits) of which all digital logic is created:NOT, OR, and AND.
The NOT gate is the simplest logic gate. It takes one input and outputs the opposite value. For example, if a 1 is input into a NOT gate, the gate will output
a 0. If a 0 is input into a NOT gate, then a 1 is output. Symbol:
|
The OR gate takes two inputs and outputs a 1 if at least one of the inputs is a 1. The truth table summarizes the OR gate's function. |
Input 1 | Input 2 | Output |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
|
Symbol:  | . |
The AND gate takes two inputs and outputs a 1 if both of the inputs are a 1. The truth table summarizes the AND gate's function. |
Input 1 | Input 2 | Output |
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
|
Symbol:  | . |
These three gates can be combined into composite gates such as NAND, NOR, and/or XOR. A NAND gate is simply a AND gate with a NOT gate attatched to its output.
The NOR gate is a OR gate with a NOT gate on its output. The XOR gate is an exclusive OR gate: it outputs a 1 only if exactly one of the inputs is a 1. Another important digital logic circuit is the flip-flop. The flip-flop
acts as a memory cell to store a value. Using flip-flops and the gates mentioned earlier, counters, registers, and other circuts can be built - all the way up to the most advanced computer. |
. |