0
\$\begingroup\$

I just want to use a BJT transistor to act as a interface between a microcontroller and a MOSFET. I need to turn on and off an N-Channel MOSFET for controlling a much higher current on high voltage. A power N-channel mosfet, as far as I know, requires at least 10V Gate to Source voltage to achieve the minimum On resistance. I have 12V on my board so I decided to use that 12V for turning the MOSFET on. The schematic is shown below.It seems that this BJT won't switch on that way?

It seems that this BJT won't switch on that way?

How can I use NPN Transistor to turn on and off the MOSFET without inverting the signal?

Thanks!

\$\endgroup\$
6
  • 2
    \$\begingroup\$ what is the voltage on the control line ? \$\endgroup\$
    – matzeri
    Aug 9, 2016 at 19:23
  • \$\begingroup\$ What's the voltage on your control line? Your NPN is acting as an emitter follower in this case and the voltage on the gate will be the control voltage minus a diode drop. 5V control line=4.3V on the gate. So there is no inversion but also no level shift in the way that you want. If the control line has sufficient voltage to turn the FET on you might be able to use it directly. \$\endgroup\$
    – John D
    Aug 9, 2016 at 19:35
  • \$\begingroup\$ "A power N-channel mosfet, as far as I know, requires at least 10V Gate to Source voltage to achieve the minimum On resistance" ... You really should look at the datasheet for the AP9477GK. How much current will you be driving? And again, what is the voltage on the control line? \$\endgroup\$
    – Tut
    Aug 9, 2016 at 19:52
  • \$\begingroup\$ Possibly related: link \$\endgroup\$
    – bitsmack
    Aug 9, 2016 at 19:55
  • \$\begingroup\$ 3.3V is the voltage on the Control Line. I will be driving about 2A of current. I have to look at Vgs=10V, Id=4A Rds(on)=90mOhms right? So to achieve the minimum Rds(on) I need to apply at least 10V gate to source voltage? \$\endgroup\$
    – Angel
    Aug 10, 2016 at 13:18

2 Answers 2

3
\$\begingroup\$

Impossible. You have to use one more PNP transistor for that. You cannot turn N-MOSFET only by NPN transistor without inverting input signal.

This is modified circuit that should work.

schematic

simulate this circuit – Schematic created using CircuitLab

When the input signal is 0V: Q2 is off, base of Q1 is pulled high, so Q1 is off. And M1 is pulled low, so mosfet is off.

When the input signal is 5V: Q2 is on, base of Q1 is pulled low, so Q1 is on. And M1 is pulled high, so mosfet is on.

Problem with your original circuit is that Q31 can be on only when emitter has lower voltage than base. But when you send 5V to input, Q31 is open and emitter is pulled to 12V and so turns Q31 off. Your circuit cannot work.

\$\endgroup\$
6
  • \$\begingroup\$ Where does the inversion come from in that circuit? To me it looks as if "Control Line" is low, the mosfet is off. If "Control Line" is high, mosfet is on. I'm a beginner so please excuse the simple questions... \$\endgroup\$
    – bitshift
    Aug 9, 2016 at 19:18
  • \$\begingroup\$ Thanks! Can I use 3.3V as an input signal for controlling Q2? \$\endgroup\$
    – Angel
    Aug 9, 2016 at 19:49
  • \$\begingroup\$ Yes. You can use any voltage above 0.7V or so. Just modify R4 to make sure base current is high enough to saturate Q2. \$\endgroup\$ Aug 9, 2016 at 19:54
  • \$\begingroup\$ Is the original schematic failing just because of the two voltage drops (after the transistor and after the R70 (2.2 k) resistor)? Would it work with a higher voltage going into the NPN collector? (Not that it would be a better design, but I want to be sure I understand.) \$\endgroup\$
    – piojo
    Jan 20, 2018 at 5:43
  • 1
    \$\begingroup\$ @piojo control signal goes from microcontroller, so say it is between 0V and 5V. If you want Q31 to be open then voltage at base must be higher by 0.7V then voltage at emitter. So when voltage at base is 5V, voltage at emitter can be maximally 4.3V (or less). But now think about that, what will happen to voltage at emitter when you try to open Q31? \$\endgroup\$ Jan 20, 2018 at 7:44
0
\$\begingroup\$

This is an answer, but also a follow-on question. If you are willing to use a MOSFET instead of a BJT, and if you are willing to drive the gate high to turn it off, and low to turn it on, then you can drastically simplify the circuit. After all, why do you care if the control signal is inverted?

Here I show a 2n7000 with a single 10k pullup resistor. If you drive the gate low, it drives the power MOSFET to 12V through the pullup resistor. If you drive the gate to 5V, it will bring the gate of the MOSFET to 0V.

You can do this using a BJT as well, but you need the extra resistor to the base, and it uses more current. I assume you do this if you happen to have a BJT lying around, but don't have a cheap MOSFET. Looking for comments from the other answerers whether you think this approach is not good for some reason?

enter image description here

\$\endgroup\$

Your Answer

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

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