Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulation wrong for reverse diode? #75

Open
smd100 opened this issue Feb 27, 2024 · 1 comment
Open

Simulation wrong for reverse diode? #75

smd100 opened this issue Feb 27, 2024 · 1 comment

Comments

@smd100
Copy link

smd100 commented Feb 27, 2024

Hi. I am teaching electricity to my high school students.
I tried connecting 3 circuits to a 5V DC voltage source (attached as images).
The first has a resistor, an red LED and a 1N4004 diode in series (forward biased). Voltage drops look fine.
The second is the same but the LED is reversed. Voltage drops look fine still.
The third is the same as the first one, but this time the diode is reversed. This time, there is only 4.488 volts across the reversed diode, not 5 volts as I would expect (like we get in circuit 2).
Am I missing something, or is the simulation wrong?
Thanks,
Steve

circuit1
circuit2
circuit3

@smd100 smd100 changed the title Simulation wrong for reverse LED? Simulation wrong for reverse diode? Feb 27, 2024
@pfalstad
Copy link
Owner

So in the 3rd one, the LED is forward biased, and the diode is reversed?

It seems right. The saturation current of the diode (roughly, its reverse-bias current) is 18nA. With the LED model I'm using, it has 512mV of voltage across it when passing 18nA of current. So the diode has to make up the difference.

I wouldn't expect the diode to be at exactly 5 V. Then the LED would have 0V across it, and there wouldn't be any current at all.

The diode LED model could be a bit simplified, or may not match the LED you're using, but you can replace it with another one that matches your device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants