Author Topic: MOSFET keeps failing  (Read 5274 times)

0 Members and 1 Guest are viewing this topic.

Offline timdriedgerTopic starter

  • Contributor
  • Posts: 10
MOSFET keeps failing
« on: October 27, 2017, 10:21:35 pm »
Hi Everyone,

Looking for some advise on the attached schematic.

The MOSFET in the design keeps failing. I suspect some type of transient voltage. How could I better protect the MOSFET?

D5 is connected to an Atmega. Supply is 12VDC. The motor draws about 2A max. PWM duty cycle about 50-70%.

Thanks!
 

Offline tatus1969

  • Super Contributor
  • ***
  • Posts: 1273
  • Country: de
  • Resistance is futile - We Are The Watt.
    • keenlab
Re: MOSFET keeps failing
« Reply #1 on: October 27, 2017, 10:26:07 pm »
most probably overvoltage at the gate, try adding a 4v7 zener.
We Are The Watt - Resistance Is Futile!
 

Online wraper

  • Supporter
  • ****
  • Posts: 16792
  • Country: lv
Re: MOSFET keeps failing
« Reply #2 on: October 27, 2017, 10:34:12 pm »
most probably overvoltage at the gate, try adding a 4v7 zener.
Atmega cannot output more than 5V. I think that Atmega has too weak output to charge/discharge gate capacitance fast enough. So at such PWM frequency mosfet stays in linear range big portion of time, exceeds safe operation area and fails. Use proper MOSFET driver IC or make driver from discrete components.
 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: MOSFET keeps failing
« Reply #3 on: October 27, 2017, 10:35:08 pm »
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 

Offline suicidaleggroll

  • Super Contributor
  • ***
  • Posts: 1453
  • Country: us
Re: MOSFET keeps failing
« Reply #4 on: October 27, 2017, 10:44:06 pm »
You mentioned the PWM duty cycle, but not the PWM frequency.  How fast are you trying to run this?
 

Offline timdriedgerTopic starter

  • Contributor
  • Posts: 10
Re: MOSFET keeps failing
« Reply #5 on: October 27, 2017, 10:45:52 pm »
32KHz
 

Online wraper

  • Supporter
  • ****
  • Posts: 16792
  • Country: lv
Re: MOSFET keeps failing
« Reply #6 on: October 27, 2017, 10:49:23 pm »
32KHz
Atmega certainly is too weak to directly drive gate of this MOSFET at such frequency.
 

Offline rx8pilot

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
Re: MOSFET keeps failing
« Reply #7 on: October 27, 2017, 10:49:47 pm »
That 100k resistor is pretty slow....keeping the GET linear and hot.

The 32khz is way fast for the available drive current.

Sent from my SM-G892A using Tapatalk

Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 

Offline Dave

  • Super Contributor
  • ***
  • Posts: 1352
  • Country: si
  • I like to measure things.
Re: MOSFET keeps failing
« Reply #8 on: October 27, 2017, 10:51:24 pm »
You're cooking them to death.
You need a proper gate driver that can switch the transistor in a respectable amount of time. A higher drive voltage would also be nice, but not crucial.
<fellbuendel> it's arduino, you're not supposed to know anything about what you're doing
<fellbuendel> if you knew, you wouldn't be using it
 

Online wraper

  • Supporter
  • ****
  • Posts: 16792
  • Country: lv
Re: MOSFET keeps failing
« Reply #9 on: October 27, 2017, 10:53:29 pm »
That 100k resistor is pretty slow....keeping the GET linear and hot.

The 32khz is way fast for the available drive current.

Sent from my SM-G892A using Tapatalk
there is 100R , not 100k. And gate resistor is not the major part of the problem, although should be reduced IMO. But only with conjunction of using proper gate driver.
 

Offline rx8pilot

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
Re: MOSFET keeps failing
« Reply #10 on: October 27, 2017, 11:24:46 pm »
That 100k resistor is pretty slow....keeping the GET linear and hot.

The 32khz is way fast for the available drive current.

Sent from my SM-G892A using Tapatalk
there is 100R , not 100k. And gate resistor is not the major part of the problem, although should be reduced IMO. But only with conjunction of using proper gate driver.
The 100k is the only path to discharge the gate it seems. Not sure if the PWM is able to sink current.

Sent from my SM-G892A using Tapatalk

Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 

Offline timdriedgerTopic starter

  • Contributor
  • Posts: 10
Re: MOSFET keeps failing
« Reply #11 on: October 27, 2017, 11:28:54 pm »
Here is the signal at the gate pin.
 

Online wraper

  • Supporter
  • ****
  • Posts: 16792
  • Country: lv
Re: MOSFET keeps failing
« Reply #12 on: October 27, 2017, 11:31:14 pm »
The 100k is the only path to discharge the gate it seems. Not sure if the PWM is able to sink current.

Sent from my SM-G892A using Tapatalk
atmega certainly can pull the current. But resistor is good for cases when MCU output is in high impedance state. Although 100k is not enough if pull-up in MCU is enabled. But I don't remember if default state of atmegas is with or without pull-ups enabled.
 

Offline timdriedgerTopic starter

  • Contributor
  • Posts: 10
Re: MOSFET keeps failing
« Reply #13 on: October 27, 2017, 11:32:22 pm »
I don't have the atmega pullups enabled.
 

Online wraper

  • Supporter
  • ****
  • Posts: 16792
  • Country: lv
Re: MOSFET keeps failing
« Reply #14 on: October 27, 2017, 11:32:38 pm »
Here is the signal at the gate pin.
These are not fast enough transitions.
 

Online wraper

  • Supporter
  • ****
  • Posts: 16792
  • Country: lv
Re: MOSFET keeps failing
« Reply #15 on: October 27, 2017, 11:38:26 pm »
I don't have the atmega pullups enabled.
I was meaning default state after reset before pins are configured.
 

Offline timdriedgerTopic starter

  • Contributor
  • Posts: 10
Re: MOSFET keeps failing
« Reply #16 on: October 27, 2017, 11:44:29 pm »
I believe the default state is hi-Z.
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 12805
Re: MOSFET keeps failing
« Reply #17 on: October 27, 2017, 11:45:49 pm »
At 14V Vdd, its only got about 8nC of gate charge.  Even if the Atmega + the 100R resistor limits the average gate current during transition to around 10mA, its unlikely to be spending over 1us in the linear region, and for sub-10us pulses its good for around 70A.  It shouldn't be running hot either unless you've skimped on the copper area - worst case it should be dissipating an average of under a watt due to transition losses, and a couple of hundred mW in I2R losses during the PWM on period.

However a 2A motor could easily have a stall current of around 30A (see: Getting a handle on brushed DC motor current @ EDN, and take several ms for the current to decrease to within the MOSFET's DC SOA rating. and the 1ms curve on the SOA diagram shows its only good for 15A at 12V Vds, rising to a peak of 30A as Vds drops to 4V.   I suspect its either going to need a *MUCH* beefier MOSFET, active current limiting, or a soft start, ramping up the PWM from zero duty cycle to cure this one.

Edit: while I was typing this the O.P.'s posted a scope trace of the gate waveform that confirms its sub-1us rise and fall.  Stiffer gate drive would be nice, as there appears to be some oscillation on the rising edge, but I wouldn't call it essential.

Insert 0.01R (or a 50A rated current probe) between source and ground, and do a one-shot capture of the current waveform for the first 10 PWM cycles from stopped, with the full mechanical load on the motor.  I suspect you'll see a grossly excessive current peak.   
 

Offline DrGeoff

  • Frequent Contributor
  • **
  • Posts: 793
  • Country: au
    • AXT Systems
Re: MOSFET keeps failing
« Reply #18 on: October 27, 2017, 11:59:43 pm »
most probably overvoltage at the gate, try adding a 4v7 zener.
Atmega cannot output more than 5V. I think that Atmega has too weak output to charge/discharge gate capacitance fast enough. So at such PWM frequency mosfet stays in linear range big portion of time, exceeds safe operation area and fails. Use proper MOSFET driver IC or make driver from discrete components.

Improper Vgs clamping/driving is one of the most common causes of MOSFET destruction.
It's not usually the drive voltage that is the culprit but the inductance in the drive circuit (including pcb traces) and failure to adequately snub switching transients (Vds).
A clamping zener is a good start, like 12V or so, to clamp transients. A good low impedance drive is also required, as the energy stored in Cgs needs to be removed quickly when switching off.
Was it really supposed to do that?
 

Offline timdriedgerTopic starter

  • Contributor
  • Posts: 10
Re: MOSFET keeps failing
« Reply #19 on: October 28, 2017, 12:05:15 am »
Images attached to show more detail on the rising/falling edges of the gate signal.

I am ramping up the PWM duty cycle when stating the motor over ~1 second.

The motor runs for about 45 seconds every 2 -3 minutes.

We've run cycle testing for weeks at a time with no thermal issues. We've also passed all the EMC immunity testing including static discharge testing.

When a customer reports an issue (motor turning continuously with now software control) I replace the MOSFET and everything is back up and running.

 

Offline timdriedgerTopic starter

  • Contributor
  • Posts: 10
Re: MOSFET keeps failing
« Reply #20 on: October 28, 2017, 12:25:21 am »
Image of Vgs and motor current attached.
 

Offline rx8pilot

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
Re: MOSFET keeps failing
« Reply #21 on: October 28, 2017, 01:07:15 am »
Curious how you are measuring the motor current.

Sent from my SM-G892A using Tapatalk

Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 12805
Re: MOSFET keeps failing
« Reply #22 on: October 28, 2017, 01:13:12 am »
We need the scale for the current.  How many mV per Amp?
Also its the startup transient that's of interest, not the steady state current triangle wave.

A further thought - if the customer has loose connections to the motor or a brush stuck in its holder, it could be causing a startup surge outside your 1 second PWM ramp-up period, that you just aren't getting with your (presumably) well maintained test jig.
 

Offline timdriedgerTopic starter

  • Contributor
  • Posts: 10
Re: MOSFET keeps failing
« Reply #23 on: October 28, 2017, 03:05:19 am »
We need the scale for the current.  How many mV per Amp?
Also its the startup transient that's of interest, not the steady state current triangle wave.

A further thought - if the customer has loose connections to the motor or a brush stuck in its holder, it could be causing a startup surge outside your 1 second PWM ramp-up period, that you just aren't getting with your (presumably) well maintained test jig.

Hantek current clamp. Scale is 1mA/1mV (1:1)

 

Offline KL27x

  • Super Contributor
  • ***
  • Posts: 4099
  • Country: us
Re: MOSFET keeps failing
« Reply #24 on: October 28, 2017, 05:03:10 am »
What is D4? It's drawn in there like a zener. Google search returns a shottky.

Ahh, neermind. I see it's just snubber. Shottky. And I now realize I have never used the proper symbol for a shottky nor put a motor snubber in my schematic.

Did you check the snubber to see if it is still alive when you changed the FET?

I'll be checking back to see what went wrong. Sounds like it could be pretty interesting to know... the mysterious things that happen so fast they can't be scoped. Unless Ian is right. Then it's just boring, lol.

I don't get how transient from the motor or VDS would get all the way to the gate, though. Why we have a few folks suggesting a zener or crowbar on the gate. The ucontroller pin has an ESD diode between its pin and Vdd, already... Is there a way for the transient to occur on the GATE side of the 100R resistor? I have never blown a FET with too much gate voltage... And I have never blown a gate without also killing the micro.
« Last Edit: October 28, 2017, 05:39:41 am by KL27x »
 

Online xavier60

  • Super Contributor
  • ***
  • Posts: 2783
  • Country: au
Re: MOSFET keeps failing
« Reply #25 on: October 28, 2017, 11:31:04 am »
I would also like to see the Drain voltage waveform.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: MOSFET keeps failing
« Reply #26 on: October 28, 2017, 12:13:45 pm »
Transients on Drain get coupled back to gate via Cgd.


http://www.ti.com/lit/ml/slua618/slua618.pdf


Regards, Dana.
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 

Offline IanMacdonald

  • Frequent Contributor
  • **
  • Posts: 943
  • Country: gb
    • IWR Consultancy
Re: MOSFET keeps failing
« Reply #27 on: October 28, 2017, 07:19:02 pm »
I'm just wondering if there is a problem with the peak current draw at startup, or perhaps if it's a commutator motor, with momentary shorting of the segments drawing a huge pulse per revolution.

Something of that kind could certainly explain why they work for a good while, then pop.
 

Offline Bootalito

  • Supporter
  • ****
  • Posts: 116
  • Country: us
    • EasyEda.com/TerryJMyers
Re: MOSFET keeps failing
« Reply #28 on: October 29, 2017, 11:48:37 am »
As a minor problem, 100R resistor is too low. Atmega2560 can output 40ma. At 5v this is 120R.
And as other people have said you cant charge and discharge the gate capacitor at those speeds. I made a spreadsheet a while back to help me quickly calculate the max frequency given a particular mosfets specs. I'll see if I can dig it up

Sent from my VS990 using Tapatalk

 

Offline Dave

  • Super Contributor
  • ***
  • Posts: 1352
  • Country: si
  • I like to measure things.
Re: MOSFET keeps failing
« Reply #29 on: October 29, 2017, 12:20:41 pm »
The output resistance of the pins is roughly 40 ohms, so it's fine.
<fellbuendel> it's arduino, you're not supposed to know anything about what you're doing
<fellbuendel> if you knew, you wouldn't be using it
 

Offline Bootalito

  • Supporter
  • ****
  • Posts: 116
  • Country: us
    • EasyEda.com/TerryJMyers
Re: MOSFET keeps failing
« Reply #30 on: October 29, 2017, 12:54:16 pm »
The output resistance of the pins is roughly 40 ohms, so it's fine.
Oh okay I didn't know that was a thing. But yeah I looked at some data sheets and there it is! :)

Sent from my VS990 using Tapatalk

 

Offline tatus1969

  • Super Contributor
  • ***
  • Posts: 1273
  • Country: de
  • Resistance is futile - We Are The Watt.
    • keenlab
Re: MOSFET keeps failing
« Reply #31 on: October 30, 2017, 09:32:20 am »
most probably overvoltage at the gate, try adding a 4v7 zener.
Atmega cannot output more than 5V. I think that Atmega has too weak output to charge/discharge gate capacitance fast enough. So at such PWM frequency mosfet stays in linear range big portion of time, exceeds safe operation area and fails. Use proper MOSFET driver IC or make driver from discrete components.
There are basically only two failure modes of a MOSFET, thermal overstress and Vgs overvoltage. Modern MOSFETs can handle Vds overvoltage well, they simply avalanche and act as a zener diode. However, this can again lead to thermal overstress.

Your oscilloscope shots seem to show the motor running in steady state, right? Parasitic effects will exaggerate at higher currents, I would go to the extreme there and drive a blocked motor for a short time, and check the waveforms (and the MOSFET temperature rise) then.

EDIT: how is your 12V supply bypassed right on the freewheeling diode? You need low ESR capacitors with substantial capacitance there, the freewheeling current must have a good (AC) return path to ground. I suggest to monitor the 12V on a scope with that blocked motor as well.
« Last Edit: October 30, 2017, 09:38:07 am by tatus1969 »
We Are The Watt - Resistance Is Futile!
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19342
  • Country: gb
  • 0999
Re: MOSFET keeps failing
« Reply #32 on: October 31, 2017, 09:21:59 am »
if it's a commutator motor, with momentary shorting of the segments drawing a huge pulse per revolution.
That's possible. Check for swarf shorting the commutator contacts, although I would have thought the high current would vaporise it. Another possibility is a shorted turn, in which case the motor should be replaced, if it can't be economically rewound.
 

Offline bson

  • Supporter
  • ****
  • Posts: 2265
  • Country: us
Re: MOSFET keeps failing
« Reply #33 on: October 31, 2017, 10:30:32 pm »
What's the breakdown of D4?  If it's anywhere around 12V or less you could be shorting to ground when fully open.

Also, the body zener's purpose seems to be mainly to keep static Vds buildup under control, not to dump several amps of reverse current - so I'd give it a proper external protective diode.
« Last Edit: October 31, 2017, 10:34:11 pm by bson »
 

Offline timdriedgerTopic starter

  • Contributor
  • Posts: 10
Re: MOSFET keeps failing
« Reply #34 on: October 31, 2017, 10:56:00 pm »
Did you check the snubber to see if it is still alive when you changed the FET?

I have two failed boards here on the bench. After removing the bad MOSFETs, D4 snubber tests okay with the DMM.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf