1
\$\begingroup\$

I know I can use a driver chip to simplify this a lot, but I just want to make sure that I have the concept of H-Bridges down.

Here they are: enter image description here

I have two motors, and each have 4 N-MOSFETs (https://www.sparkfun.com/products/10213). These N-MOSFETs will turn on with just 5v from the Arduino. I have added diodes for when the supply is cut off and the motor produces a voltage.

To move Motor 1 in one direction, I would write HIGH for Digital Pin 1 (D1) and Digital Pin 3 (D3), and so on.

Any feedback would be appreciated.

\$\endgroup\$
  • \$\begingroup\$ The MOSFETs already have diodes going that way. Did you mean for them to be Zener diodes, or even a TVS directly across the motor? \$\endgroup\$ – Ignacio Vazquez-Abrams Oct 14 '14 at 17:23
  • 3
    \$\begingroup\$ @Ignacio MOSFET body diode may or may not have sufficient rating. They also may or may not be fast enough. So, a faster and beefier external Schottky diode may still be called for. \$\endgroup\$ – Nick Alexeev Oct 14 '14 at 17:35
  • 1
    \$\begingroup\$ True, but this one's pretty beefy, and decently fast. \$\endgroup\$ – Ignacio Vazquez-Abrams Oct 14 '14 at 17:37
  • 2
    \$\begingroup\$ @Michael, Just as a matter of style, it's nicer to show all ground symbols as "pointing down". Showing your battery symbol and the ground upside-down like that makes me start to tip my head sideways to read the circuit. \$\endgroup\$ – Dan Laks Oct 14 '14 at 17:45
  • 1
    \$\begingroup\$ No need to send the ground line all the way around the circuit. You could just put a couple of bends in the wire around the battery and ground symbol to make everything "upright" right there at the top. Check out Olin's excellent answer (specifically part 3) about schematic layout: electronics.stackexchange.com/questions/28251/… \$\endgroup\$ – Dan Laks Oct 14 '14 at 17:57
9
\$\begingroup\$

"These N-MOSFETs will turn on with just 5v from the Arduino."

Are you sure? Do you expect them to conduct 60A with an Fds of 0.05 Ohm with 5V at the gate? (Just checking your understanding of the datasheet. They will switch on with 5V at the gate, but they will do less well than with the 'normal' gate voltage of 10V.)

But your top mosfets have a problem. To turn them on their gates must be 5 Volt positive with respect to their sources. When conducting, their sources will be at +7.2V (minus a small drop), so their gates must be at ~ 12V.

Their are specialized chips that can do this for you (google "high side mosfet driver"), or you can use P mosfets at the top. But note that for such a P fet to turn off, its gate voltage must be 7.2V (with respect to ground), so you will need a 5v->7V level translation. This can be done by some transistors, or use a dedicatet chip (google mosfet driver).

You say you want to drive the mosfets from an arduino. I hope you are not going to use PWM? An Arduino output is bit to weak to drive a mosfet gate quickly. This is not a big problem if you switch the fet occasionally, but for PWM you'd better use driver chips.

\$\endgroup\$
  • 1
    \$\begingroup\$ Someone in the comments section of the product page said "These mosfets are logic level mosfets and they have something similar to a charge pump built into them already, these will turn fully on when applying a 5v signal from a microcontroller," so I figured that it would work fine with my setup. \$\endgroup\$ – Michael Oct 14 '14 at 17:50
  • \$\begingroup\$ That person was unfortunately incorrect. There's no charge pump built into this MOSFET. I'm not sure I've ever seen a MOSFET with a built-in charge pump. It is, however, typical to see charge pumps built-in to MOSFET drivers. \$\endgroup\$ – Dan Laks Oct 14 '14 at 18:06
  • 1
    \$\begingroup\$ (extending Dan's comment) A typical high-side mosfet driver has such a charge pump built in. But do check: typically it must be used with PWM: it cannot just switch the top fet on continuously. \$\endgroup\$ – Wouter van Ooijen Oct 14 '14 at 18:15
  • 1
    \$\begingroup\$ @WoutervanOoijen ah true, every word counts when the poor guy is so confused. I shall edit! Oh no, it's too late. But yes, usually the high side FETs are P channel in lower voltage H bridges so that it can run off nice low voltages. Driver ICs can have internal high side gate drivers for N channel FETs by using charge pumps. \$\endgroup\$ – KyranF Oct 14 '14 at 20:41
  • 1
    \$\begingroup\$ puu.sh/ccn3t/f587840192.jpg The motor here is connected to a 9V battery, and a regular N-MOSFET is used. Why isn't there a driver needed in this case? \$\endgroup\$ – Michael Oct 14 '14 at 21:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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