# Determine MOSFET switching speed

How can I determine the switching speed of a MOSFET, with given Qg (gate charge), Vgs (G-S junction voltage) and gate resistor ? How should I determine the required value of the gate resistor?

From the point of view of the driving circuit, the gate looks like a capacitor to the source. It actually has some capacitance to the drain too, but that has been taken into account in the total gate charge figure. You know the voltage the gate must change and the charge that must be transferred to accomplish that. From there it's simple to compute the equivalent capacitance: Farads = Couloumbs / Volt. Once you have the capacitance, The R*C time constant gives you some idea how fast the gate will slew given a step input on the other side of the gate resistor. To reach 90% of the final gate voltage, for example, takes 2.3 time constants.

When the FET actually "switches" is more tricky. The FET won't suddenly go from full off to full on at a particular gate voltage, but there is a gate voltage at which a small incremental change will make the most difference in the FET output characteristic. You have to decide how full on and how full off "switching" really means, and then decide what gate voltage range that represents. Then you can use the equivalent R-C model to decide how quickly a step input will cause it to slew accross this region. For example, if you decide most of the switching happens between 20% and 80% of the gate voltage, then that would be 1.4 time constants.

• Awesome answer, thank you. Why wouldn't one use a gate resistor with zero resistance?
– Dor
Commented Oct 5, 2011 at 20:37
• Olin: this isn't quite right; the gate capacitance varies nonlinearly with voltage and is very difficult to compute. Commented Oct 6, 2011 at 13:24
• @Jason: Yes, the actual capaciticance varies by conditions, but the manufacturer tells you the worst case. I should have made this more clear. Commented Oct 8, 2011 at 13:20

The bulk of the switching action happens when the gate voltage plateaus at the threshold voltage Vgsth, at which point the drain voltage drops quickly and the so-called Miller effect keeps the threshold there until the drain reaches its minimum:

Just for a practical example, let's say you have an IRL540N that you are driving with a 5V source with 100 ohms series resistance.

Gate threshold is spec'd at between 1 and 2 V. This means that the gate charging current would be 30-40mA. Total gate charge is spec'd at <74nC, so you're talking about a max switching time of t = Qmax/Imin = 74nC/30mA = 2.47usec.

Why wouldn't one use a gate resistor with zero resistance?

Several reasons:

• parasitic source inductance in the MOSFET can cause high-frequency oscillations, or at least a highly underdamped turnon

• You generally want to tune the turn-on time appropriately for EMI reasons.

• And in a half-bridge gate drive, you usually use a diode in parallel with the turn-on resistor so that the turn-off is quick but turn-on is slow. Otherwise you can get shoot-through, for reasons beyond the scope of this post. (If I have time, I'll write a blog entry about that and post a link to it.)

• Great & detailed answer, thank you. "If I have time, I'll write a blog entry about that and post a link to it" - sure :). One thing - why the gate charging current is 30-40mA ? Why not 5v/100ohm = 50mA ?
– Dor
Commented Oct 7, 2011 at 7:26
• because I = (Vs=5V - Vgate)/R, and most of the time the gate sits at Vgsth = 1-2V. Commented Oct 7, 2011 at 11:56
• (1) OK but why would you like to drive the source? Why not driving the drain, which is more common? (2) As can be seen from the graphs, Vgs = Vgsth for a moment, but continues to rise to the applied Vgs voltage (which is higher). It stays there until Vds equals zero. What am I missing here? :s
– Dor
Commented Oct 8, 2011 at 23:45
• you don't want to drive the MOSFET source, you want to control Vgs using a voltage source (not to be confused with the MOSFET source pin) via a series resistor. Commented Oct 9, 2011 at 1:31
• @JasonS The link of the note from TI, slup097 is dead. Care to share an updated source? I am unable to find it. Commented Feb 22, 2020 at 14:22