electricpy.zener_diode_required_resistor

electricpy.zener_diode_required_resistor(Vin, Vo, I)[source]

Zener diode required resistance function .

A zener diode is uses to allow current to flow “backwards” when the zener voltage is reached. This function use to calculate the required resistor value following below formula:

\[R = \frac{V_{in(min)} - V_{out}}{I_{load}+0.01}\]
../_images/zenerdiode.png
Parameters:
Vin : float

Minimum input Voltage in Volt

Vo : float

Output Voltage in Volt

I : float

Load Current in Ampere

Returns:

R – Load Resistance in Ohm

Return type:

float