Semiconductor Electronics: Materials, Devices and Simple Circuits
- 1. Why does a grain of sand run your phone?
- 2. Metals, semiconductors and insulators
- 3. Energy bands: why does the gap decide everything?
- 4. Pure silicon: electrons and holes
- 5. Doping: making n-type and p-type silicon
- 6. How many electrons, how many holes?
- 7. The p-n junction: where p meets n
- 8. The diode: a one-way street for current
- 9. The diode's V–I characteristics
- 10. How does a phone charger turn AC into DC?
- 11. LEDs, solar cells and Zener diodes
- 12. Transistors and logic gates
- Review
12 of 12·NCERT §14.1·pp. 323–324·6 min
Transistors and logic gates
The big ideaPut two p-n junctions back to back and you get a transistor, which lets a small current control a big one; used as on-off switches, transistors build logic gates, the yes-or-no decision makers inside every chip.
In simple words
A transistor is like a tap where a gentle turn of a tiny handle lets a big rush of water through. Turn the handle a little back and forth and the big flow copies your movement, only much bigger: that makes a weak sound strong. Turn the handle all the way on or all the way off and the tap becomes a switch. Wire many switches together and they can answer simple questions like "are both of these on?" Billions of those answers a second is what a computer does.
Not in the current textbook, but NEET has asked it: the rationalised book stops at the rectifier, but NEET still sets questions on transistors and, almost every year, on logic gates. This is the short version.
The junction transistor
A bipolar junction transistor (BJT) is a three-layer sandwich: n-p-n or p-n-p. Its three regions are:
| Region | Doping | Size | Job |
|---|---|---|---|
| Emitter | heavy | moderate | sends out lots of majority carriers |
| Base | light | very thin | lets almost all of them pass through |
| Collector | moderate | largest | collects them |
For use as an amplifier, the transistor works in its active state: the emitter-base junction is forward biased and the collector-base junction is reverse biased. Carriers pour from the emitter into the thin, lightly doped base; very few recombine there, and nearly all are swept on into the collector. So
\[ I_E = I_B + I_C, \qquad I_B \ll I_C \]In the common emitter (CE) arrangement, the input goes to the base and the output is taken from the collector. The current gain is
\[ \beta = \frac{I_C}{I_B} \]typically 50 to 300.
The transistor as an amplifier
In a CE amplifier, a small AC signal at the base (input resistance \( R_B \)) makes a \( \beta \) times bigger current change through the collector resistor \( R_C \). The output voltage is taken across \( R_C \). Then
\[ A_V = \frac{V_o}{V_i} = \beta\,\frac{R_C}{R_B}, \qquad \text{power gain} = \beta \times A_V = \beta^2\,\frac{R_C}{R_B} \]The output of a CE amplifier is 180° out of phase with the input.
Worked example
A CE amplifier has \( \beta = 50 \), \( R_C = 4 \) k\( \Omega \) and \( R_B = 1 \) k\( \Omega \). The output signal is 2 V. Find the voltage gain, the power gain and the input signal.
- \( A_V = 50 \times 4/1 = 200 \).
- Power gain \( = 50 \times 200 = 10\,000 \).
- \( V_i = V_o/A_V = 2/200 = 0.01 \) V \( = 10 \) mV.
Drive the base hard enough and the transistor is fully on (saturation); give it nothing and it is fully off (cut-off). Used only in these two states, it is a switch, and that is how logic gates are made.
Logic gates
Digital circuits use just two levels: 0 (low, about 0 V) and 1 (high, say 5 V). A logic gate takes one or more inputs and gives one output by a fixed rule, listed in a truth table. The rules are written in Boolean notation: \( A + B \) means "A OR B", \( A \cdot B \) means "A AND B", and a bar, \( \overline{A} \), means "NOT A".
| A | B | OR \( A + B \) | AND \( A \cdot B \) | NAND \( \overline{A \cdot B} \) | NOR \( \overline{A + B} \) |
|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 | 1 |
| 0 | 1 | 1 | 0 | 1 | 0 |
| 1 | 0 | 1 | 0 | 1 | 0 |
| 1 | 1 | 1 | 1 | 0 | 0 |
- NOT gate: one input; output is the opposite, \( Y = \overline{A} \).
- OR: 1 if any input is 1. AND: 1 only if all inputs are 1.
- NAND = AND then NOT: 0 only when all inputs are 1. NOR = OR then NOT: 1 only when all inputs are 0.
Try it: a scooter that starts only on brake AND button.
Try it: a NAND gate guarding a bank locker.
Combinations NEET loves
Shortcuts
- NAND or NOR with both inputs joined acts as a NOT gate.
- NOT on both inputs, then AND: \( \overline{A} \cdot \overline{B} = \overline{A + B} \), a NOR gate.
- NOT on both inputs, then OR: \( \overline{A} + \overline{B} = \overline{A \cdot B} \), a NAND gate.
- NOT on both inputs, then NAND gives OR; then NOR gives AND.
- \( Y = A \cdot \overline{B} + \overline{A} \cdot B \) is 1 only when the inputs differ: the XOR (exclusive OR) gate.
- NAND and NOR are universal gates: any other gate can be built from just one of them.
Try it: test any gate, then solve the combinations.
To solve a gate puzzle, write the four input rows, work out each gate's output column step by step, and compare the last column with the options.
Try it: draw a gate's output for pulse inputs.
Try it. The output of an AND gate is fed into a NOT gate. Write the truth table. Which single gate is this?
Answer
AND gives 0, 0, 0, 1 for inputs 00, 01, 10, 11; NOT flips it to 1, 1, 1, 0. That is a NAND gate.
- Transistor (BJT)
- An n-p-n or p-n-p sandwich where a small base current controls a large collector current.
- Emitter, base, collector
- Heavily doped source, thin lightly doped middle, and large collecting region.
- Current gain \( \beta \)
- \( I_C/I_B \) in the common emitter arrangement.
- Logic gate
- A circuit giving a 0 or 1 output from 0/1 inputs by a fixed rule.
- Truth table
- A table of a gate's output for every combination of inputs.
- Universal gate
- NAND or NOR: either alone can build every other gate.
Words to know
For transistor action, which must be true?
- All three regions have the same doping.
- Both junctions are forward biased.
- The base is very thin and lightly doped.
A gate gives output 1 only when both inputs are 0. It is
- NAND
- NOR
- AND
A CE amplifier has current gain 100, \( R_C = 2 \) k\( \Omega \) and \( R_B = 1 \) k\( \Omega \). Its voltage gain is
- 100
- 200
- 20 000
Picture and video credits