0

I've fried 3 MOSFETs today, quite frustrating.

When I connect the gate directly to positive, it's pretty happy, the motor runs and the FET temp stays below 40 deg C.

MOSFET with gate to positive

When I connect the gate to negative, the motor turns off, and it still stays below 40 deg C, great!

I measured the gate voltage with a multimeter and noticed that when I connect gate to positive, the voltage is between around 0.01V and 0.001V (fluctuates a lot.) This doesn't make much sense to me, as I thought the gate had to be at least 4.5V to trigger. When connected to negative it's -0.01V.

MOSFET with gate to negative

When I connect it to the Arduino, the MOSFET temperature explodes and reaches over 100 deg C in no time. If I'm quick I can cut the power and save the MOSFET, but I've managed to fry 3 of them today.

Arduino Uno connected to gate

When the Arduino is in the circuit, the multimeter shows the Arduino giving the gate 5V when digitalWrite uses HIGH and around 0V when digitalWrite uses LOW. So, I'm wondering if I need to get the Arduino to match the voltages in the non-Arduino scenario to avoid frying the MOSFET. But, apparently it isn't possible to get the Arduino to produce a negative voltage on the pins.

Here's the Arduino code:

void setup() {
  pinMode(LED_BUILTIN, OUTPUT);
  pinMode(11, OUTPUT);
}

void loop() {
  
  digitalWrite(LED_BUILTIN, LOW);
  digitalWrite(11, LOW);
  delay(5000);
  
  digitalWrite(LED_BUILTIN, HIGH);
  digitalWrite(11, HIGH);
  delay(5000);
}

Edit: The multimeter is in series from the gate. Full part number is IRLB8721, which is N-chan.

Edit 2: Though the fan is a 12V 200W motor, I'm driving this from a bench power supply at about 5V 5A. I tried driving it from a 12V 20A power supply, but it apparently trips the overcurrent protection. Maybe it's a +240W fan.

JRE
  • 67,678
  • 8
  • 104
  • 179
Nick Bolton
  • 2,043
  • 8
  • 31
  • 2
    Your multimeter result sounds wrong -- how did you hook it up? – DamienD Jul 01 '21 at 21:38
  • 6
    My guess would be that the MOSFET isn't fully on at 5V, hence the heating up. What's the part reference? – DamienD Jul 01 '21 at 21:38
  • What’s the Vgsth of your MOSFET? – winny Jul 01 '21 at 21:39
  • @Nick What is your mosfet model number? – Voltage Spike Jul 01 '21 at 21:47
  • 2
    **Edit your question** to show how you hooked up the multimeter, and the *full* part number of the MOSFET. Typical MOSFETs these days want 12V on their gate; "logic level" MOSFETs will work with 5V or 3.3V, at reduced performance. – TimWescott Jul 01 '21 at 22:40
  • Ok, will edit, multimeter is in series from the gate. Full part number is IRLB8721, which is N-chan. – Nick Bolton Jul 01 '21 at 23:30
  • @DamienD Actually its fine when I supply 5V to the gate. The temp doesn't go beyond 40 deg C. The issue is when I try to close the gate with `digitalWrite` with `LOW` param; here it only supplies 0V to the gate and it heats up. Without the Arduino, if I connect the gate to negative/ground, it supplies -0.001V which seems to close the gate successfully. – Nick Bolton Jul 01 '21 at 23:40
  • 7
    You need to measure the voltage between gate and source. Inserting a voltmeter in series with the gate lead will not tell you anything. – Peter Bennett Jul 02 '21 at 00:38
  • @PeterBennett Thanks, this has helped. Apparently I get confused about multimeters. "One of the most common mistakes made by novice physics students in the lab is getting confused about how to measure voltage and current..." youtube.com/watch?v=WGBcM5YmtR4 – Nick Bolton Jul 02 '21 at 09:18
  • This video may be helpful to solve your application challenges Designing Power MOSFET Circuits - Circuit Tips and Tricks: https://youtu.be/56p3_aORiJ0. – SystemTheory Jul 02 '21 at 20:02

5 Answers5

7

Sounds like you need a bigger MOSFET or a higher gate voltage. 200W at 12V is 16A. The RDSon for that MOSFET is 13.1 milliohms at 4.5Vgs, let's be generous and call it 10 milliohms at 5V, so you're trying to dissipate 2.6W. The thermal resistance to ambient is 62C/W which is optimistic since that assumes you're on a 1 square inch footprint. All together, your junction temperature should rise at least 158C which puts you above the absolute maximum of 175C starting from room temperature. RDSon drops to 6.5 milliohms at 10Vgs so I'd drive your gate with the convenient 12V you have already (and know works), or find a MOSFET that has a RDSon of ~5 milliohms at a Vgs of 5V.

vir
  • 14,718
  • 13
  • 28
2

multimeter is in series from the gate

That's not how you measure voltage. Voltage is a difference in potential.

All you're doing is inserting a couple tens or hundreds of MegaOhms of the multimeter input impedance between the driving voltage and the gate. The situation is static, so those are all DC impedances.

Since the gate's input impedance is orders of magnitude higher than that of the multimeter, the multimeter is relatively speaking a short, and the gate is relatively speaking an open circuit. The multimeter will measure zero - it's not really connected to anything (gate is an open!), and there's a short across it.

The voltage that actually turns on an N-MOS is between the source and the gate. So you have to connect one lead of the multimeter to the source, another to the gate.

Also: there shouldn't be such direct connections between the high power circuitry and the microcontroller. I bet that you'll destroy the Arduino many times while you experiment like this - as soon as you start PWM-ing the motor, and put some load on it so the currents get serious.

In your circuit, at this point, the most important part is the physical layout and protection features. You absolutely have to show us a picture of how you put it together. My assumption is that:

  1. You don't nearly provide enough heat sinking for the MOSFET, since you don't run the motor at full load.

  2. You have thin wires/traces and way too much parasitic inductance that will ring like crazy and kill everything on your board over and over.

Also: motor drivers must measure motor current. You must be in fact actively limiting the motor current, in software.

Once you do that, the typical way to test MOSFETs in motor drivers for overheating is to lock the rotor, so that the motor can be actually driven at its full rated current. I bet you that your MOSFET will release the magic smoke soon enough.

To get your design going along, I'd start with an off-the-shelf PWM motor driver module - you can buy them on eBay, Alibaba, etc. It will have a proper MOSFET driver and optical isolation, and will be safe to use with your Arduino without much worry.

Many such cheap driver modules only provide an adjustable hardware current limit, but no current feedback to the controller. You could then use a separate current measurement module, transfer the current limiting responsibility to software, and "peg" the current limit on the driver at maximum.

You'll need the current feedback to implement reasonably decent velocity control loops.

  • 1
    "One of the most common mistakes made by novice physics students in the lab is getting confused about how to measure voltage and current..." https://www.youtube.com/watch?v=WGBcM5YmtR4 – Nick Bolton Jul 02 '21 at 09:01
2

The FET needs a higher gate-source voltage (Vgs) than the Ardiuno is providing to fully turn on at minimum Rds(on).

Even with proper drive, with a 200W motor it's at the limits of its thermal capability and so needs better cooling.

It's not a happy FET. It needs some help.

First, the drive is inadequate.

The IRLB8721 gives the following Rds(on) values at different Vgs drive:

  • Vgs=4.5V: Rds(on) = 13.1 to 16 milli-ohm
  • Vgs=10V: Rds(on) = 6.5 to 8.7 milli-ohm

What you're seeing is that the lower drive coming from the Arduino results in a higher ON resistance, and that's making the FET heat up. The dissipation at worst-case current (16.7A for 200W @ 12V) we get:

  • Vgs=4.5V: Rds(on) = 13.1 to 16 milli-ohm, FET dissipation at 16.7A is 3.7 to 4.5W
  • Vgs=10V: Rds(on) = 6.5 to 8.7 milli-ohm, FET dissipation at 16.7A is 1.8 to 2.4W

Big picture: driving higher (10V or greater) reduces the FET dissipation by more than half.

You can add a level shifter to make a higher Vgs drive to turn the FET on harder.

Example:

schematic

simulate this circuit – Schematic created using CircuitLab

Second, the FET thermal limits aren't being met.

Thermal resistance for that part (TO-220) package is 62 deg.C/W in free air. Max junction temp is 175C, so this limits the allowed rise to 150C (25C ambient.) Taken together, this effectively limits the power to 150C/62C/W = 2.4W. That matches the dissipation at your worst-case current and Vgs=10V, so it's barely adequate which is why it doesn't blow up immediately when you connect the gate to 12V.

For better results consider adding a heatsink to keep its junction temp under 175C. Consider also using two devices in parallel.

hacktastical
  • 49,832
  • 2
  • 47
  • 138
1

IRLB8721PbF Datasheet

https://cdn-shop.adafruit.com/datasheets/irlb8721pbf.pdf

Figure 6 shows Typical Gate Charge vs.Gate-to-Source Voltage.

Figure 8 shows Maximum Safe Operating Area.

Figure 12 shows On-Resistance vs. Gate Voltage.

It is not clear to me how to interpret the SOA graph or how it relates to operation with or without a heat sink.

As the Gate charge increases this induces an electric field in the channel between Drain and Source which increases the population of charge carriers in the semiconductor materials which decreases the on-resistance. When switching the MOSFET "On" the design goal is to rapidly increase the Gate charge to rapidly minimize the on resistance. When switching the MOSFET "Off" the design goal is to rapidly drain the Gate charge. The Gate to Source equivalent circuit looks like a capacitor and it takes time to charge or discharge this capacitance through the resistance in the circuit (RC time constant).

The Gate-Source voltage does not have to go below zero to turn-off the MOSFET. In your Arduino drive circuit the 10k resistor from Gate to ground could be reduced in value to allow the gate charge to flow off the Gate more rapidly so the transistor spends less time conducting current with relatively high on-resistance. Heat sink would increase the safe operating area for the device and proper On-Off drive circuit are necessary to keep the power MOSFET from dissipating extra power when it operates in between the On (saturated) and Off states.

Fundamentals of MOSFET and IGBT Gate Driver Circuits

https://www.ti.com/lit/ml/slua618a/slua618a.pdf?ts=1625178399487&ref_url=https%253A%252F%252Fwww.google.com%252F

enter image description here

This reference describes the turn-on and turn-off behavior of the MOSFET in terms of the Gate charge and device parameters. Figure 10 shows the bipolar totem-pole driver which may be useful in your application. I plan to build one of these soon from discrete components to perform low side driver experiments using a 7.4 volt battery powered hand held vaccuum as the motor and load with a so-called logic level power MOSFET.

Gate-Source Equivalent Capacitor

The figure below, taken from this question:

Why doesn't shoot-through occur on totem-pole structure?

shows Cg as the equivalent capacitor storing the gate charge while driven by the so-called totem-pole circuit.

enter image description here

Based on comments below it may be true that Vgs is still limited by the logic level voltage output used as input to the driver circuit. However this driver circuit still might improve the switch time On/Off using the same logic levels and MOSFET as applied in the question.

SystemTheory
  • 821
  • 4
  • 8
  • Your "Totem Pole" driver still won't allow the gate voltage to exceed the input logic levels which won't help the OP. –  Jul 02 '21 at 10:41
  • @user_1818839 The Figure 10 shown above has V_DRV distinct from V_BIAS where V_DRV would be above the logic level output of the PWM controller or microcontroller output pin. However if the application is limited to logic level power supply Vcc then I agree an integrated circuit MOSFET driver or perhaps a discrete component charge pump would be necessary to fully turn on the MOSFET at higher gate voltage. Heat sink might still be necessary based on thermal analysis. – SystemTheory Jul 02 '21 at 17:20
  • However V_DRV supplies a couple of emitter followers, thus the gate drive is limited to < VBIAS whatever the value of VDRV. –  Jul 02 '21 at 17:53
1

Only use Logic level FETs with Vt around 1V for this and use PWM to vary speed.

You were making the FET into a big resistor that would share the motor power dissipation.

Always use a FET with a Vt=Vgs(th)max < 1/2 of Vdd for Vgs.

Tony Stewart EE75
  • 1
  • 3
  • 54
  • 182