Turning diode (and LED) datasheet IV plots into SPICE models

The SPICE models released by vendors are often really bad, producing results that do not anywhere near match the behaviour described in the datasheet. A recent example I ran into was for the CREE XLamp XP-E2 series LEDs, where the provided models underestimated the forward diode current by a factor of 6 compared to the… Read More Turning diode (and LED) datasheet IV plots into SPICE models