41
\$\begingroup\$

I have an N-MOSFET gate connected to a 4043 logic. Id is about 100 mA. Both the 4043 and MOSFET have +5 V. I plan to use a 2N7000.

  • How large a gate resistor do I need between the 4043 and MOSFET? The logic output is sometimes switched rapidly. How fast? A motherboard HDD LED controls it.

  • Do I need to place pull down resistor from logic to 0 V, between the 4043 and the MOSFET?

\$\endgroup\$
3
  • 1
    \$\begingroup\$ The answers by jippie and PhilFrost are good, but if you would like to get a more quantitative view of gate resistance in MOSFETs you could look at this post (electronics.stackexchange.com/questions/60427/…). \$\endgroup\$
    – gsills
    May 11, 2013 at 20:20
  • \$\begingroup\$ It also depends what the MOSFET's load is: irf.custhelp.com/app/answers/detail/a_id/215 \$\endgroup\$
    – Fizz
    Nov 8, 2015 at 13:45
  • \$\begingroup\$ If the logic never gets abruptly disconnected from the MOSFET, such as when having two instruments connected with a cable, you can do without any resistors here. The CMOS 4000 line is push-pull, so no pull-up/down resistors are needed. And unless your MOSFET is used on the edge of its capabilities, you don't need to worry about the added cable capacity either. \$\endgroup\$
    – Zdenek
    Nov 10, 2017 at 20:35

3 Answers 3

48
\$\begingroup\$

It is generally a good idea to include a gate resistor to avoid ringing. Ringing (parasitic oscillation) is caused by the gate capacitance in series with the connecting wire's inductance and can cause the transistor to dissipate excessive power because it doesn't turn on quickly enough and hence the current through drain/source in combination with the somewhat high'ish drain-source impedance will heat the device up. A low ohm resistor will solve (dampen) the ringing.

As @PhilFrost mentiones, a high value resistor to ground is a good idea to avoid capacitive coupling driving the transistor when it is otherwise not connected.

schematic

simulate this circuit – Schematic created using CircuitLab

At all times keep the wiring between logic output, transistor gate, transistor source and ground as short as possible. This will ensure fast turn on/off.

\$\endgroup\$
8
  • 8
    \$\begingroup\$ A trivial observation: I would put the pull-down resistor before the gate limiting resistor - that way, the two resistors do not form a voltage divider (however minor), and thus the input voltage is fully expressed at the gate. \$\endgroup\$ May 10, 2013 at 5:52
  • 1
    \$\begingroup\$ @AnindoGhosh This was discussed in an answer to one of my questions. supercat noted that putting R2 before R1 creates a voltage divider when the G-D is shorted in case of MOSFET failure and thus, protect the driver a little. Of course, the values should be selected appropriately and there is a power consumption trade-off. \$\endgroup\$ May 10, 2013 at 6:31
  • 4
    \$\begingroup\$ @abdullahkahraman The driver would be protected in either case, R2 before or after - the protection is courtesy the R1. \$\endgroup\$ May 10, 2013 at 6:40
  • 2
    \$\begingroup\$ @Anindo I actually prefer the series resistor near the source and let it double as source terminator. The voltage divider is a non-issue (100/1M = 0.01%, not even 1mV for a 5V driver). \$\endgroup\$ May 12, 2013 at 6:14
  • 1
    \$\begingroup\$ @apalopohapa True for the values in the current design, but not necessarily true for a lower value pull-down or a higher value limiting resistor. I have had occasion to apply either or both those cases. YMMV, of course :-) \$\endgroup\$ May 12, 2013 at 6:27
21
\$\begingroup\$

You do not strictly need a base resistor. Not only do MOSFETs not have bases (they have gates), but the gate is (very) high impedance. Except when the MOSFET is changing states, the gate current is essentially zero.

Sometimes, a gate resistor is prudent to reduce ringing, especially if the trace driving the gate is long, or if you are concerned with generating electromagnetic interference. A higher value dampens ringing but also slows switching times: the appropriate value depends on how bad the ringing could potentially be and what switching times are required.

It is common practice to place a resistor (the value isn't terribly critical -- anything between \$ 1k\Omega \$ and \$1M\Omega\$ will do) from the gate to ground, just to be sure the MOSFET will be off if the thing driving it (the 4043 in your case) is letting the output float. Otherwise, very small currents from your finger, capacitive coupling, inductive coupling, or other things you'd rather not worry about can change the gate voltage of the MOSFET, resulting in unintended behavior.

\$\endgroup\$
12
  • 3
    \$\begingroup\$ I think to limit the inrush current, one should put a series resistor, when working with microcontrollers. Or is it just overkill ? \$\endgroup\$ May 9, 2013 at 17:15
  • 1
    \$\begingroup\$ @abdullahkahraman I/O ports are generally not stiff sources and sinks, so I don't see a need for a series resistor. \$\endgroup\$ May 9, 2013 at 17:20
  • 2
    \$\begingroup\$ Sometimes you do put a small (100-200 ohms) resistor, or maybe a ferrite bead, in series with a MOSFET gate in order to kill the gain at high frequencies (RF) if it is showing signs of instability. \$\endgroup\$
    – Dave Tweed
    May 9, 2013 at 18:16
  • 11
    \$\begingroup\$ I'd like to remind everyone that we are talking about driving a 2N7000 with a 4043. Neither is the 2N7000 a high gate charge device nor is the 4043 capable of high drive currents. I seriously doubt this combination requires a gate resistor any more than all the MOSFETs in a CPU require gate resistors. \$\endgroup\$
    – Phil Frost
    May 9, 2013 at 19:12
  • 4
    \$\begingroup\$ @Madmanguruman -- Your conclusion is correct given your assumptions, but your assumptions don't apply in most consumer-grade MCU's. (1) You can (and will) exceed rated I/O current if you short the output driver. (2) The driver will behave as if driving into a short circuit if the switching frequency is high -- the input can switch at high frequency independently from the output. The output won't climb much in response resulting in a sustained short-like condition. However, Phil is correct, that isn't the case here, but your generalization deserved this qualification. \$\endgroup\$ May 10, 2013 at 7:06
0
\$\begingroup\$

A MOSFET gate acts as a capacitor, and charging currents can exceed 200ma. A 100 ohm (3v) to 200 ohm (5v) series resistor keeps this around the 20ma mark. A 10k pulldown resistor ensures shutoff if gate floats.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.