Electronic – arduino – MOSFET started to smoke when switching a 12V bulb – how can I troubleshoot the cause

12varduinoledmosfet

This is the case: 12V bench power supply (current limited to 3A) wired to a 30W LED bulb (H7 bulb for vehicles), controlled by an Arduino via the gate of the 2SK1363.

The signal from the Arduino was sent to the gate by a pushbutton, it was a simple sequence of flashing the LED on and off quickly, 20 times in a 2 seconds or so. Also, the default initial state of the LED was controlled by the code as well, with digitalWrite high or low. This would put the bulb in a "solid state", on or off, and then the pushbutton would initiate fast flashing for 2 seconds.

I used INPUT_PULLUP on the pushbutton pin and everything worked fine but the MOSFET got very hot, and after running the pushbutton flashing on the LED for couple of times in a row, it started to smoke.

I'm a newbie and the only rating I asked for when buying this mosfet was "N-type" and "gate threshold 5V" because of the Arduino.

I later discovered that my particular MOSFET has an Rds rating of 1.4 ohm. When working with my 2.5A bulb it rounds up to 9W, but on the spec sheet I see that "Maximum Power Dissipation" (Pd) is 90 W.

Can someone enlighten me and point me in the correct direction for me to learn proper way of working with MOSFETs? Why did my MOSFET smoke? How can I pick a proper one for my application? What things should I consider?

Best Answer

9W with no heatsinking will cook!

Note that that 90W rating is with Tcase held at 25 degrees C, you are not doing anything like that!

Also, the threshold voltage is below 5V, but that is at 1mA Id, to fully enhance the device you need 10V on the gate, this is not a logic level mosfet in any sense that matters.

What you have there is a fairly old high voltage part made for the primary side of switched mode supplies, there are FAR better choices today.

Try something like a IRLZ34PBF 0.05ohms at 5V on the gate, it will probably not even need heatsinking.