Loading simulator…
A Zener shunt regulator must tolerate changing load current, including a disconnected load. The resistor needs to leave enough Zener current under heavy loading without exceeding the diode’s power rating when the load disappears.
Check the heaviest load. With R_LOAD = 330 Ω, a 5.1 V output needs:
The Zener also requires at least 2 mA, so the series current must be at least 17.45 mA.
R1 = 390 Ω. At VIN = 12 V, it supplies .LOAD_ENABLE open, essentially all 17.69 mA flows through DZ1. Its approximate power becomes , below the 100 mW ceiling. The supplied adjustable R_LOAD and LOAD_ENABLE remain in the load branch.At VIN = 12 V, test LOAD_ENABLE ON with R_LOAD = 330 Ω and 1 kΩ, then OFF. Expect approximately 5.1 V in each case, at 330 Ω, and Zener power below 100 mW when disconnected.