Lessons and the learning game

Linear power supplies

An intermediate course on turning a transformer's AC into clean, regulated DC, ending in a dual bench supply you design down to every part.

What the course covers

Linear power supplies is seven lessons, one chapter each, with a quiz after every chapter:

  1. Transformer to DC: a 12 V secondary, a bridge rectifier, its two diode drops, and the smoothing capacitor that charges to the peak.
  2. Ripple: reading it on an AC range and a scope, the I / (2 f C) rule, a bigger capacitor and a heavier load.
  3. Zener regulators: a resistor and a 5.1 V Zener, the current they waste, and the load they cannot carry.
  4. LM317: two resistors set the output, a new voltage from a new resistor, ripple rejection, and headroom.
  5. LDO dropout: a 7805 that falls out 2 V short, an AMS1117, and an MCP1700 that runs a 3.3 V board from one lithium cell.
  6. Heatsinks: (Vin - Vout) x I, junction temperature from degrees per watt, and cutting the heat at the source.
  7. Boss: a bench supply: a 24 V transformer, a bridge and reservoir, an adjustable LM317 output and a fixed 5 V output behind a Zener pre-rail. You set it, load it and give it the voltage your next project needs.

Safety

Lessons 1 and 7 drive a transformer's primary from a generator standing in for the wall socket, so the arithmetic is right. In real life the mains side lives inside a sealed, listed transformer or wall adapter, and any mains wiring is work for someone qualified. Lessons 2 to 6 start from a 12 V AC wall adapter, which keeps everything you touch at low voltage.

What the simulation is and is not

  • Parts have no temperature, so the heatsink lesson works the junction temperature by hand: the one manual check in the course.
  • The regulators are behavioral models with their datasheet dropout, 1.25 V reference and bias current; they do not model thermal shutdown.
  • Ripple readings come from a meter that averages over a quarter second, so give each change a moment to settle.

Transformers in practice, Power and batteries, Power electronics for switching regulators, and Low-power products for choosing an LDO by its quiescent current.