34. Regulate changing load

A 12 V supply VIN must provide a regulated VOUT ≈ 5.1 V as load resistance R_LOAD changes or is disconnected using LOAD_ENABLE.

Using the provided Zener diode DZ1, design the regulator so that:

  • VOUT ≈ 5.1 V for all load conditions.
  • Zener current I_Z ≥ 2 mA at R_LOAD = 330 Ω.
  • Zener power remains below 100 mW, even when the load is disconnected.

Use only one resistor selected from:

270 Ω, 330 Ω, 390 Ω, 470 Ω, 560 Ω.

Example test cases:

R_LOADLOAD_ENABLEExpected Result
330 ΩONVOUT ≈ 5.1 V, I_Z ≥ 2 mA
1 kΩONVOUT ≈ 5.1 V
DisconnectedOFFVOUT ≈ 5.1 V

Zener power must remain below 100 mW in every condition.