Author Topic: MOSFET gate resistor  (Read 4099 times)

0 Members and 1 Guest are viewing this topic.

Offline jshonwTopic starter

  • Contributor
  • Posts: 19
MOSFET gate resistor
« on: December 04, 2011, 10:41:02 pm »
I want to control a resistive type dc heater with a N-channel mosfet from a microcontroller using PWM, but I am not sure if a resistor at the gate is necessary?  The rate at which I am driving the mosfet will be slow at maybe about 20hz from 0-100 duty cycle.  If one is necessary, how do you select a value?
 

Online Psi

  • Super Contributor
  • ***
  • Posts: 10412
  • Country: nz
Re: MOSFET gate resistor
« Reply #1 on: December 04, 2011, 10:56:14 pm »
Yeah, you should always have one.
In this case it's more to protect the mcu though.

So if your mcu port is 30mA max,  5v / 0.03A =  166R,  so say 180R or no less than that.
Note, this wont protect the mcu from a failed fet that has shorted drain to base if you have a drain voltage above 5V.
It's more to stop the fet trying to pull more than 30mA in normal switching operations.

If your driving a fets base pin from a mcu you want to select a fet with logic level gate drive.
That way you can be sure your mcu will be able to turn the fet fully on.

« Last Edit: December 04, 2011, 11:09:32 pm by Psi »
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline jshonwTopic starter

  • Contributor
  • Posts: 19
Re: MOSFET gate resistor
« Reply #2 on: December 05, 2011, 12:54:51 am »
Thanks, I am going try that.  I am using a logic level fet, so it should fully turn on from the micro. 
 

Offline Short Circuit

  • Frequent Contributor
  • **
  • Posts: 439
  • Country: nl
    • White Bream electronics R&D
Re: MOSFET gate resistor
« Reply #3 on: December 06, 2011, 01:17:39 pm »
However, this might give you a dissipation problem, if the currents are high;
Assuming a 1nF gate capacitance, this 180E resistor results in a linear operation of the mosfet for about 0.7uSec on each edge. This does not sound like much, but often this linear switching is the main contributor of total mosfet power dissipation.

With the mosfet directly to the CPU, this high valued resistor does not really matter because the current sourcing capability of the uC is limited anyway.
All that the resistor adds is a current limit to a more precise value (which is usefull from EMC perspective), and said cpu pin protection of course.

When currents increase, this dissipation can be a huge problem, so that's where mosfet drivers come in. These devices are just simple push/pull drivers, but with serious current capabilities, often like 1amp or more. With such drivers, you're usually dealing with gate resistors much lower in value, often between a few and 10 ohms.

So if the mosfet gets hot, you should consider a part with much lower gate capacitance or an external mosfet driver. Lower capacitance usually goes hand in hand with higher on-resistance, so that's not very helpfull usually, although there's an optimum between switching losses and conduction losses. Also the better the capacitance vs resistance ratio, the more expensive the mosfet gets.
 

Online Psi

  • Super Contributor
  • ***
  • Posts: 10412
  • Country: nz
Re: MOSFET gate resistor
« Reply #4 on: December 07, 2011, 01:41:41 am »
yeah

You can also get logic opto isolators with push/pull high current outputs (1A)
They can be useful to both isolate your fet from the micro and provide high current drive for the fet, all one package.
Greek letter 'Psi' (not Pounds per Square Inch)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf