Lessons and the learning game

Discrete transistor design

The building blocks inside every op-amp, built from single transistors: sources, mirrors, diff pairs, push-pull, ending in a headphone amp.

What the course covers

Discrete transistor design is seven lessons, one chapter each, with a quiz after every chapter. It follows Transistors and op-amps for real, which owns diode curves, bias and the single common-emitter stage.

  1. Current sources: diode bias and an emitter resistor that set a current whatever the load, compliance, and a 1 mA source designed from scratch.
  2. Current mirrors: a diode-connected reference and its copy, the Early effect, a mismatched pair, and emitter degeneration.
  3. Darlington and Sziklai: gains multiplied, two Vbe drops, a Darlington that cannot saturate hard, and the pair that keeps one Vbe.
  4. Differential pair: a shared tail, gain from 5 mV, full steering, and common-mode rejection.
  5. Push-pull: the class B dead zone, class AB bias with two diodes, the idle current, and a clean sine into a load.
  6. Thermal stability: fixed bias that runs away with beta, divider bias that holds, Vbe drift and thermal runaway.
  7. Boss: a discrete headphone amp: a gain stage into a class AB pair, a centered output, measured gain and power, and where it starts to distort.

How it checks your work

There is no microcontroller in the course. The simulator solves each circuit on the vendors' own transistor model cards, and steps check a transistor's collector current, a meter, or the oscilloscope.

What the simulation is and is not

  • Simulated transistors do not heat themselves. The thermal lesson plays a hot part by changing its beta and vbe properties; a real amplifier has to be tested hot, with a heatsink.
  • A headphone earpiece is a 32 ohm resistor and the music is a sine from a function generator.
  • Matched pairs on one chip are two parts of the same model here; real loose parts vary more.

Op-amp cookbook for the op-amps these blocks build, and SPICE simulation for the engine underneath.