2.1 Why FETs matter in digital electronics
Bipolar Junction Transistors (BJTs) were the first switching devices and still dominate older TTL ICs. Modern digital ICs — including almost every microcontroller, FPGA and memory you will use — are built from Field Effect Transistors (FETs). The reason is one number: input current.
A BJT draws base current the whole time it is "on". A FET, by contrast, is controlled by voltage on a capacitor-like gate, so its steady-state input current is essentially zero. That single fact is what makes very large CMOS chips like multi-billion-transistor SoCs possible.
2.2 The FET family tree
| Device | Channel control | Typical use |
|---|---|---|
| JFET (Junction FET) | Reverse-biased PN junction depletes the channel | Analog amplifiers, voltage-controlled resistors |
| MOSFET (Metal-Oxide-Semiconductor FET) | Voltage on a metal gate, insulated by SiO₂ | Almost every digital IC today |
| CMOS (Complementary MOS) | NMOS and PMOS used together in pairs | Logic, memory, microprocessors |
2.3 NMOS / PMOS as switches
A MOSFET operates in three regions, but for digital logic we only care about two of them:
- Cut-off:
Vgs < Vth→ the channel does not exist → the transistor is essentially an open switch. - Saturation (deep triode for logic):
Vgs >> Vth→ the channel is fully formed → the transistor is essentially a closed switch with a small on-resistance.
In digital design we deliberately avoid the linear/active region in between, where the transistor would behave like a controlled resistor and dissipate power.
NMOS truth table (as a switch)
| Vgs | Channel | Drain-Source | Logic interpretation |
|---|---|---|---|
| 0 (LOW) | No channel | Open (Z) | OFF |
| Vdd (HIGH) | Channel formed | Short (≈ 0 Ω) | ON — connects D to S |
PMOS truth table (as a switch)
| Vgs | Channel | Source-Drain | Logic interpretation |
|---|---|---|---|
| Vdd (HIGH) | No channel | Open (Z) | OFF |
| 0 (LOW) | Channel formed | Short (≈ 0 Ω) | ON — connects S to D |
Key insight: NMOS turns ON for a HIGH input, PMOS turns ON for a LOW input. They are complementary — exactly what makes CMOS work.
2.4 The CMOS inverter — the canonical building block
| Vin | PMOS Mp | NMOS Mn | Vout |
|---|---|---|---|
| 0 (LOW) | ON | OFF | Vdd (HIGH) |
| Vdd (HIGH) | OFF | ON | 0 (LOW) |
At any given moment only one of the two networks conducts, so almost no static current flows from Vdd to GND. That is why CMOS has near-zero static power dissipation — a defining feature.
2.5 What "digital IC characteristics" means
When you read a digital IC datasheet, the same dozen parameters keep appearing. These are the figures of merit you must be able to define, compare across families, and use to predict whether a circuit will actually work.
Voltage levels
| Symbol | Meaning |
|---|---|
| V_IH (min) | Minimum input voltage that the IC will guarantee to read as a logic 1 |
| V_IL (max) | Maximum input voltage that the IC will guarantee to read as a logic 0 |
| V_OH (min) | Minimum output voltage the IC promises when driving a 1 |
| V_OL (max) | Maximum output voltage the IC produces when driving a 0 |
Noise-margin diagram
The "safety zone" between what an output produces and what the next input is willing to accept:
NM_H = V_OH(min) − V_IH(min) // safety margin for logic 1
NM_L = V_IL(max) − V_OL(max) // safety margin for logic 0
A larger noise margin means the chip is more tolerant of supply ripple, ground bounce and EMI. CMOS typically has a noise margin around 30 % of Vdd; standard TTL has only ~0.4 V at the low side — which is exactly why CMOS is preferred in noisy industrial environments.
Fan-in and fan-out
- Fan-in: Number of inputs a single gate has. Limited by the way pull-up/pull-down stacks add up.
- Fan-out: Number of similar gate inputs a single output can drive without leaving its valid logic range.
For TTL, typical fan-out is 10. For CMOS, fan-out is effectively unlimited at DC (gates draw no static current) but drops at high frequency because every driven gate adds capacitance to the output.
Propagation delay (t_pd)
The time between a change at the input and the resulting change at the output, measured at the 50 % crossing point. Often broken into:
- t_PHL — delay when output goes from HIGH to LOW
- t_PLH — delay when output goes from LOW to HIGH
Total propagation delay through a chain of N gates ≈ N × t_pd. This is what limits the maximum clock frequency of a circuit.
Power dissipation
- Static power: drawn even when nothing is switching. Negligible for pure CMOS; significant for TTL.
- Dynamic power:
P = C × Vdd² × f— proportional to switching frequency. Dominates in modern high-speed CMOS.
Speed-power product
Single figure of merit that combines speed and power:
Speed × Power product = t_pd × P_d (units: pJ)
Lower is better. Used to compare logic families across very different operating points.
2.6 Comparison snapshot
| Family | Typ. V_dd | t_pd | Fan-out | Power / gate | Noise margin |
|---|---|---|---|---|---|
| Standard TTL (74xx) | 5 V | 10 ns | 10 | 10 mW | 0.4 V |
| Schottky TTL (74S) | 5 V | 3 ns | 10 | 19 mW | 0.3 V |
| Low-power Schottky (74LS) | 5 V | 9 ns | 20 | 2 mW | 0.3 V |
| Advanced Low-power Schottky (74ALS) | 5 V | 4 ns | 20 | 1 mW | 0.3 V |
| CMOS (4000 series) | 3–15 V | 50 ns | ~50 | 0.001 mW (static) | 30 % of Vdd |
| HCMOS (74HC) | 2–6 V | 8 ns | ~50 | 0.001 mW (static) | 30 % of Vdd |
| AC-CMOS (74AC) | 2–6 V | 5 ns | ~50 | 0.001 mW (static) | 30 % of Vdd |
| ECL (10K) | -5.2 V | 2 ns | 10 | 25 mW | 0.2 V |
These four numbers are what you should remember as a "smell test" the next time you see an IC: family, speed, noise margin, power.