You will write four functions that describe a silicon diode, from the diode equation to a diode in series with a resistor.
The idea. The diode equation is , with . In a circuit, a conducting silicon diode drops about V. The dynamic resistance is .
Your tasks.
thermal_voltage, return in V for a temperature in K, using K_OVER_E = 8.617e-5 V/K.diode_current, return the current in A for a voltage in V, a saturation current in A and a temperature in K.series_current, return the current in A for a battery voltage, a resistance and a diode drop (default V).dynamic_resistance, return in ohm for a forward current in A and a temperature in K.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…