Beginner circuits

Power supply circuits you can simulate

A fixed supply and an adjustable one, explained in plain words. Each runs on this page and opens in the simulator, where you can change parts and watch the output.

  • Runs in your browser. Nothing to install, no account.
  • A voltmeter and an ammeter are already in each circuit.
  • Built from a Zener diode and a transistor, from a 9 V source.

Start safe

Build these from a low-voltage DC source, such as a 9 V battery or a 9 V DC adapter. Never connect them to mains (wall) power.

The simulator's parts do not include a regulator chip, so both circuits are built from a 5.6 V Zener diode and an NPN transistor. That is a Zener reference with a transistor that follows it. It is not a model of any regulator chip, but it shows the idea one is built on.

The two circuits

1. A fixed supply, a little under 5 V

  • A 9 V source feeds a 1 kΩ resistor and a 5.6 V Zener diode. The Zener holds its own voltage near 5.6 V as long as some current flows through it.
  • The transistor's base sits at the Zener's voltage. Its emitter follows about 0.7 V lower, and the transistor passes the current the load needs.
  • The load is a 470 Ω resistor, with an ammeter in series and a voltmeter across it.

When we ran it, the voltmeter read about 4.9 V and the ammeter about 10.5 mA. At 12 V in, the output was still about 4.9 V.

Try this

  • Double-click the 9 V source, change it to 12 V and press OK. The voltmeter barely moves: that is the regulation.
  • Double-click the 470 Ω load, change its resistance and press OK. Read both meters again.

2. An adjustable supply

  • The same circuit, with a 10 kΩ potentiometer across the Zener diode.
  • The potentiometer's wiper picks a voltage between 0 V and the Zener's voltage, and the transistor's base follows the wiper.
  • The output follows the base, about 0.7 V lower, so it can be turned down to 0 V.

Try this

  • Move the slider labelled Voltage, beside the circuit, and read the voltmeter.
  • When we ran it, the output went from 0 V near one end of the slider to about 4.6 V near the other.

Next steps

Questions

Are these models of a regulator chip?
No. The simulator's parts do not include a regulator chip, so both circuits use a 5.6 V Zener diode and an NPN transistor. They show the idea behind a regulator: hold a reference voltage steady, and let a transistor supply the current.
Can I plug these into the wall?
No. Power them from a low-voltage DC source, such as a 9 V battery or a 9 V DC adapter. Mains power can kill, and these circuits are not built for it.
Why is the output a little under 5 V, not 5.6 V?
The transistor's emitter sits about 0.7 V below its base, and the base sits at the Zener's voltage.
Do I need an account to open them?
No. Both open in the simulator in your browser. You can change them and share a link to your version without signing in.
Will the real circuit match the simulator?
Close, but not exactly. Real parts vary, and a real Zener diode may not hold exactly 5.6 V. Measure your build with a multimeter.