You will write four functions that describe a Zener regulator and its limits.
The idea. The series resistor carries . The load takes and the Zener diode takes the rest. The limits on come from the worst cases of the input and of the load.
Your tasks.
zener_current, return the Zener current in A for an input vin, a series resistor rs, a Zener voltage vz and a load rl.max_series_resistor, return the largest in ohm from vin_min, vz, iz_min and il_max.min_series_resistor, return the smallest in ohm from vin_max, vz, iz_max and il_min.regulates, return True if the Zener current is at least iz_min, and False if it is not.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…