With DC motors, it is common to put a freewheel diode and/or a capacitor in order to protect the equipment as the motor can induce current into the system.

I plan to use this board to control a 24V DC motor with a Arduino-like microcontroler. In an example in their documentation, they don't put such protection, so I wanted to know if it's unsafe, or is it that the board already protects the system?

The example in question: enter image description here


The motor driver board is bidirectional: it uses a transistor arrangement called a H-bridge to drive the motor.


The N-type MOSFETs being used as switches in that board inherently contain a "body diode" as a side effect of their construction. That diode is shown as part of the schematic symbol of the transistors. Normally the transistors will take care of the inductive current, but the body diodes will provide a path for the inductive spikes if something goes wrong with the circuitry that controls the transistors.

If you were to add a diode in parallel with the motor that diode would not only be unnecessary, but it would short out the power supply trough the diode when you reverse the motor.

  • \$\begingroup\$ Thanks a lot for the explanation. Where did you see the part about body diodes on this board? \$\endgroup\$ – jonathanGB Feb 8 '16 at 23:25
  • \$\begingroup\$ They state in the manual you linked "Fully NMOS H-Bridge for better efficiency and no heat sink is required". Practically all powers MOSFETs have a body diode, the reason is a bit complicated but you can read this section on wikipedia. \$\endgroup\$ – jms Feb 8 '16 at 23:40
  • \$\begingroup\$ @jms MOSFET body diodes tend to be too slow for freewheel diode duties. Additional Schottky diodes in parallel with the MOSFET body diodes are called for. (There are specialized MOSFETs with built-in Schottky diodes, but those are relatively uncommon.) \$\endgroup\$ – Nick Alexeev Feb 8 '16 at 23:44
  • \$\begingroup\$ @NickAlexeev True, but as I stated the body diodes will not conduct under normal operating conditions, and the board in question lacks external diodes. When the motor is pulse-width modulated one side of the bridge is usually held at either the supply rail or ground and the other side quickly alternates between a conducting high side and low side, allowing the current to flow continously without going trough the body diodes. The body diodes only take a role when the dead time is too long or when the motor is abruptly stopped. \$\endgroup\$ – jms Feb 8 '16 at 23:53
  • 1
    \$\begingroup\$ @NickAlexeev: When you say "Additional Schottky diodes in parallel with the MOSFET body diodes are called for.", it sounds like you are recommending that the Orginal Poster somehow additionally attach additional diodes to the board he already has. How do you propose the OP do that? \$\endgroup\$ – davidcary Feb 11 '16 at 18:06


You should make sure a 0.1 uF capacitor is connected directly to the motor. A properly-designed motor driver board handles everything else.


The only component the user might need to add when using a (properly-designed) motor driver board is a EMI-supression cap attached directly to the motor. Why is this capacitor hooked up to a 9volt electric motor? ; Why connect capacitors to motor body? ; Capacitors and motors ; Dealing with Motor Noise ; etc.

As jms already mentioned, a properly-designed motor driver board already includes the freewheel diode(s).

"For output voltages above ten volts or so, ordinary silicon diodes are commonly used. For lower voltages, Schottky diodes are commonly used as the rectifier elements." -- Wikipedia: switched-mode power supply.

(Modern "super barrier rectifier" diodes are technically better in many cases).

A properly-designed motor driver board already includes (a) the protection capacitor or other component used to absorb energy from the motor during regenerative breaking, and (b) the capacitor used to supply quick pulses of energy that cannot be supplied through the inductance+resistance of the available battery connection. Often (a) and (b) are the same capacitor.


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.