Skip to main content

Transistors

Learning Objectives

By the end of this page, you should be able to:

  • Explain what a transistor does and why it replaced the vacuum tube
  • Distinguish BJTs from FETs by structure and how each is controlled
  • Identify the three terminals of a BJT (emitter, base, collector) and describe their roles
  • Explain the active, saturation, and cut-off regions of BJT operation and when each is used
  • Describe how a MOSFET's enhancement mode works and why it's preferred in digital logic
  • Design a simple transistor switch circuit and calculate an appropriate base resistor

Quick Answer

A transistor is a semiconductor device that amplifies or switches electronic signals, and it's the building block underlying almost all modern electronics, from microprocessors to audio amplifiers. There are two major families: the Bipolar Junction Transistor (BJT), controlled by a small base current that lets a much larger collector current flow, and the Field-Effect Transistor (FET), controlled by a gate voltage rather than a current, giving it very high input impedance. Transistors replaced bulky, power-hungry vacuum tubes after their invention in 1947, enabling the miniaturization that led to integrated circuits. Whether used as a switch (fully on or off) or an amplifier (proportional response), a transistor's core job is letting a small control signal manage a much larger signal.

What Is a Transistor?

A transistor is a three-terminal semiconductor device that can either amplify a signal (make it bigger while preserving its shape) or act as an electronically controlled switch. Both uses rely on the same underlying idea: a small input (current for a BJT, voltage for a FET) controls a much larger output current.

Transistors were invented in 1947 by John Bardeen, Walter Brattain, and William Shockley at Bell Labs. Their invention replaced vacuum tubes, which were bulky, fragile, power-hungry, and slow to warm up — the shift to transistors is what made pocket radios, and eventually the entire integrated-circuit revolution, possible.

Bipolar Junction Transistor (BJT)

A BJT is built from two p-n junctions arranged back-to-back, forming three regions:

  • Emitter (E): Heavily doped region that "emits" charge carriers into the base
  • Base (B): Very thin, lightly doped region that controls the flow of carriers between emitter and collector
  • Collector (C): Moderately doped region that collects the charge carriers that cross the base

In an NPN transistor (the more common type), a small current flowing from base to emitter allows a much larger current to flow from collector to emitter — the ratio between them is the current gain, β (beta), often 50–300 for small-signal transistors.

BJT Operating Regions

  • Active region: Used for amplification. A small change in base current produces a proportionally large change in collector current (I_C ≈ β × I_B). This is where audio amplifiers and analog signal processing happen.
  • Saturation region: The transistor is fully "on," acting like a closed switch with a small residual voltage drop between collector and emitter (typically 0.1–0.3 V). Used for switching applications.
  • Cut-off region: The transistor is fully "off," with essentially no current flowing from collector to emitter — the switch is open.

Field-Effect Transistor (FET)

A FET controls current using an electric field created by a voltage at the gate terminal, rather than a base current. This gives FETs a very high input impedance — they draw almost no current at the control input, unlike a BJT's base current requirement.

  • Junction FET (JFET): Controlled by narrowing a conducting channel with a reverse-biased gate junction.
  • Metal-Oxide-Semiconductor FET (MOSFET): The gate is insulated from the channel by a thin oxide layer, giving even higher input impedance. MOSFETs dominate modern digital logic and power switching because of their efficiency and the ease of fabricating millions of them on a single chip.

MOSFET Operating Modes

  • Enhancement mode: The device is normally off; applying a sufficient gate voltage creates (enhances) a conducting channel, turning it on. This is the type used in virtually all digital logic (CMOS) circuits.
  • Depletion mode: The device is normally on; applying a gate voltage depletes the channel, turning it off. Less common, used in some analog and RF applications.

Real-World Example

In a smartphone's processor, billions of MOSFETs act as microscopic switches, each representing a 0 or 1 in digital logic. A gate voltage above a threshold turns a MOSFET on (conducting), representing one logic state; below threshold, it's off, representing the other. This switching happens billions of times per second, and it's fundamentally the same enhancement-mode MOSFET behaviour used in a simple transistor switch circuit on a breadboard, just scaled down to nanometers.

Transistor as a Switch

To use a BJT as a switch: connect the load (say, an LED with its own current-limiting resistor, or a relay coil) between the supply and the collector, and the emitter to ground. Applying a high logic signal through a base resistor drives the transistor into saturation, turning the load fully on; a low signal (0 V) cuts the transistor off, turning the load off. The base resistor value is chosen so that base current is enough to guarantee saturation: R_B = (V_in − V_BE) / I_B, where I_B is chosen as I_C / β with some safety margin (often using a smaller β than the datasheet typical value).

Applications of Transistors

  • Amplifiers: Boosting audio, RF, or sensor signals in the active region
  • Switching: Driving relays, LEDs, motors, and digital logic gates from a low-power control signal
  • Oscillators: Providing the active gain element in feedback oscillator circuits
  • Voltage regulation: Pass transistors in linear voltage regulators
  • Digital logic: MOSFETs forming the AND, OR, and NOT gates inside every microprocessor

Key Terms

TermDefinitionRelated Concept
BJTBipolar Junction Transistor; controlled by base currentCurrent gain (β)
FETField-Effect Transistor; controlled by gate voltageHigh input impedance
Beta (β)Current gain of a BJT; ratio of collector current to base currentAmplification
Active regionBJT region used for amplification; proportional responseAnalog amplifiers
Saturation regionBJT fully "on," minimal voltage drop; used for switchingTransistor switches
Cut-off regionBJT fully "off," no current flowTransistor switches
MOSFETMetal-Oxide-Semiconductor FET; gate insulated by oxide layerDigital logic (CMOS)
Enhancement modeMOSFET normally off; gate voltage creates conducting channelDigital switching
Threshold voltage (Vth)Minimum gate voltage needed to turn on an enhancement MOSFETMOSFET switching
Base resistor (R_B)Resistor limiting base current when driving a BJT switchSwitch circuit design

Common Mistakes

Misconception: A transistor amplifies by creating extra energy out of nothing. Why it's wrong: A transistor doesn't generate energy; it uses a small control signal to modulate a much larger current drawn from the power supply. The "amplification" is really the supply's energy being shaped by the small input, not manufactured by the transistor. Correct understanding: Amplification means a small input signal controls a proportionally larger output drawn from an external power source — the transistor is a controlled valve, not an energy source.


Misconception: BJTs and FETs are controlled the same way — by an input current. Why it's wrong: A BJT is a current-controlled device: base current sets collector current. A FET is a voltage-controlled device: gate voltage (not current) sets the channel conductivity, and in steady state, gate current is nearly zero. Correct understanding: Think of BJTs as "current in, current out" devices and FETs (especially MOSFETs) as "voltage in, current out" devices — this changes how you calculate and design driving circuits for each.


Misconception: A transistor used as a switch is either "fully on" or "fully off" instantaneously, with no in-between behaviour. Why it's wrong: A transistor switch must pass through the active region briefly while transitioning between cut-off and saturation, and if driven too slowly or with insufficient base drive, it can linger in the active region, dissipating significant power as heat instead of switching cleanly. Correct understanding: Design switching circuits (base resistor value, drive speed) to move the transistor through the active region quickly, minimizing time spent in that lossy intermediate state.

Comparison and Connections

FeatureBJTJFETMOSFET
Control inputBase currentGate voltageGate voltage
Input impedanceModerate (current-driven)Very highExtremely high
Typical useAnalog amplification, switchingAnalog/RF applicationsDigital logic, power switching
Switching speedModerateFastVery fast
Common package contextDiscrete audio/power circuitsAnalog front endsNearly all modern ICs

Practice Questions

Recall

  1. What are the three terminals of a BJT, and what is the primary role of each? Answer guidance: Emitter (emits charge carriers), Base (thin control region), Collector (collects charge carriers that cross the base).

  2. What are the two main operating modes of a MOSFET? Answer guidance: Enhancement mode (normally off, turned on by gate voltage) and depletion mode (normally on, turned off by gate voltage).

Understanding

  1. Why does a FET have much higher input impedance than a BJT? Answer guidance: A BJT requires a continuous base current to sustain collector current, drawing power from the control input. A FET's gate is either reverse-biased (JFET) or insulated by an oxide layer (MOSFET), so essentially no steady current flows into the gate — control is by voltage/electric field, not current.

  2. Why is the saturation region, not the active region, used when a transistor acts as a switch? Answer guidance: In saturation, the transistor has minimal voltage drop and maximal current flow, closely mimicking a closed switch with low power loss. The active region gives a proportional, not binary, response and would dissipate more power as heat in a switching application.

Application

  1. A BJT switch needs to drive a relay coil requiring 100 mA of collector current. The transistor has β = 100, and the control signal is 5 V. What minimum base current is needed (with no safety margin), and roughly what base resistor value would you use if V_BE = 0.7 V? Answer guidance: I_B = I_C / β = 100 mA / 100 = 1 mA. R_B = (V_in − V_BE) / I_B = (5 − 0.7) / 0.001 = 4300 Ω ≈ 4.3 kΓ (in practice, use a smaller resistor to ensure adequate saturation margin, e.g. half this value).

  2. A digital logic gate needs extremely low power consumption and high switching speed for a battery-powered device. Which transistor type would you choose and why? Answer guidance: Enhancement-mode MOSFET (CMOS technology) — its high input impedance means negligible static gate current, and MOSFETs can switch very fast with low power dissipation compared to BJTs, which is why virtually all modern digital ICs use CMOS.

Analysis

  1. Compare what happens to a BJT switch if the base resistor is made too large versus far too small, in terms of circuit behaviour and component stress. Answer guidance: Too large a base resistor limits base current below what's needed for saturation, leaving the transistor in the active region with a larger collector-emitter voltage drop and higher power dissipation (possible overheating), and the load may not receive full voltage/current. Too small a base resistor allows excessive base current, which can exceed the transistor's maximum base current rating and damage the base-emitter junction, though it does ensure saturation.

  2. Explain why the invention of the transistor was a bigger leap for electronics than simply making vacuum tubes smaller would have been. Answer guidance: Vacuum tubes require a heated filament, consume significant power even when idle, are fragile (glass envelope), and have a limited lifespan due to filament burnout. Transistors are solid-state, need no heating, consume far less power, are physically robust, and — crucially — can be fabricated in enormous numbers on a single chip, enabling integrated circuits, something no amount of vacuum tube miniaturization could achieve.

FAQ

Why do some circuits use PNP transistors instead of NPN? NPN transistors conduct with a positive base current when the collector is more positive than the emitter, which fits naturally with a ground-referenced, positive-supply circuit. PNP transistors conduct with current flowing in the opposite direction and are used when you need to switch or amplify signals referenced to the positive supply rail, or in complementary push-pull output stages paired with an NPN.

Is a MOSFET always better than a BJT? Not universally — it depends on the application. MOSFETs excel in digital switching and low static power consumption, but BJTs can have lower saturation voltage in some power applications and are sometimes cheaper or easier to bias for simple analog designs. High-power switching applications often favor MOSFETs for their fast switching and low on-resistance, but plenty of analog audio and RF designs still use BJTs deliberately for their characteristic sound or gain behaviour.

What does "current gain" actually mean for a transistor? Current gain (β, also called h_FE) is the ratio of collector current to base current in a BJT's active region. A β of 100 means 1 mA of base current can control 100 mA of collector current. It's not a fixed universal constant — it varies with temperature, collector current level, and even between individual transistors of the same part number, which is why circuit designs shouldn't rely on a precise β value for critical behaviour.

Why does a transistor get warm during normal amplifier operation? Any current flowing through the collector-emitter junction while there's a voltage drop across it dissipates power as heat (P = V_CE × I_C). In the active region used for amplification, this voltage drop is often substantial, so amplifier transistors routinely need heat sinks, especially in higher-power audio or power supply designs.

How is a transistor different from a simple mechanical relay if both can act as switches? A relay uses an electromagnet to physically move metal contacts, which is relatively slow (milliseconds) and wears out mechanically over time. A transistor switches electronically with no moving parts, operating in nanoseconds to microseconds and lasting essentially indefinitely under proper operating conditions — though a relay can handle certain high-voltage/high-current loads and provides true electrical isolation that a simple transistor switch does not.

Quick Revision

  • A transistor is a three-terminal device that amplifies or switches signals
  • BJTs (bipolar junction transistors) are current-controlled: I_C ≈ β × I_B
  • BJT terminals: emitter, base, collector; regions: active (amplify), saturation (on), cut-off (off)
  • FETs are voltage-controlled with very high input impedance
  • MOSFETs use an insulated gate; enhancement mode is normally off, depletion mode is normally on
  • CMOS digital logic is built almost entirely from enhancement-mode MOSFETs
  • A transistor switch uses saturation (full on) and cut-off (full off), avoiding the lossy active region
  • Base resistor sizing: R_B = (V_in − V_BE) / I_B, with I_B derived from the required I_C and β
  • Transistors replaced vacuum tubes because they are smaller, faster, more efficient, and solid-state
  • Power dissipation in a transistor: P = V_CE × I_C — significant in the active region, minimal in saturation

Prerequisites: Diodes and p-n junctions; Ohm's law; basic semiconductor concepts

Related Topics: Diodes (building blocks of BJT junctions); integrated circuits (transistors as the base unit); oscillators (transistors as the active gain element); relays (alternative switching mechanism)

Next Topics: Integrated circuits; amplifier design; digital logic gates; oscillator circuits