Author Topic: pwm control reversible direction DC motor  (Read 9034 times)

kenobe

  • Jr. Member
  • Posts: 66
  • I'm a llama!
    • View Profile
pwm control reversible direction DC motor
« on: September 30, 2008, 01:34:55 AM »
Hi
I am using the T100MD 888 trying to run a DC motor in forword and reverse directions using the pwm function.
But I can not figure out how to do it
How should I connect the hardware?
now I can only control one direction but not bothpls help!

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3171
    • View Profile
    • Internet Programmable PLCs
Re:pwm control reversible direction DC motor
« Reply #1 on: September 30, 2008, 11:30:08 AM »
In order to run the motor bi-directionally you need a bi-polar driver which is not possible on the PLC's built-in NPN only output. You need to build a "H-bridge" so that the current can flow in either direction. The H-bridge could be built using an external relay with dual-pole, dual-throw contacts and you wire it in such a way that a single PLC output can select the direction that the current would flow through the load in the H-bridge. In order to use the NPN PWM outputs you connect the ground return path of the H-bridge to the PLC's output instead of to "0V" directly, and in that case the current that flows through the load in either direction will be chopped wave (PWM) since the PWM out driver would be controlling the current path being returned to 0V terminal.

The following website has good explanations of how a H-bridge works:

http://www.dprg.org/tutorials/1998-04a/
« Last Edit: September 30, 2008, 11:34:53 AM by support »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

kenobe

  • Jr. Member
  • Posts: 66
  • I'm a llama!
    • View Profile
Re:pwm control reversible direction DC motor
« Reply #2 on: October 01, 2008, 12:14:08 AM »
Hi
Your reply is very helpful, I sincerely thank you for that.
my problem now looks like resulting to finding a high current ie:10A H-bridge module.
thanks! Thanks!