+ Reply to Thread
Results 1 to 9 of 9

Thread: Dc motor controller(forward reverse)

  1. #1
    ppcandieq Newbie
    Join Date
    Nov 2009
    Posts
    4

    Dc motor controller(forward reverse)

    Hi all..

    need some advice..now,i'm doing a project using PLC..i've to control 4 power window motor using PLC as a controller..I have problem with how to make a forward reverse circuit using relay 24V without a switch coz output from PLC act as a switch..need some advice how to design the controller circuit coz relay is 24v(output from PLC) but power window motor only 12V..i just need forward reverse controller n relay contact wiring(12v) to power window motor..

    Plz help me..
    Next monday is my presentation..

    Thanks...


  2. #2
    Boncuk Excellent Boncuk Excellent Boncuk Excellent Boncuk Excellent Boncuk Excellent Boncuk Excellent Boncuk Excellent
    Join Date
    Nov 2007
    Location
    Phetchabun,Thailand
    Posts
    3,302

    Hi ppcandieq,

    use an L298 (ST-semiconductor dual full bridge). It works up to 46V with an output of 4A.

    You must have three output signals from the PLC, two for direction and one to enable/disable the outputs for braking.

    Here is the functional table.

    Boncuk
    Attached Images
    Last edited by Boncuk; 11th November 2009 at 03:35 AM.
    Proper Planning Prevents Piss Poor Performance

  3. #3
    tcmtech Excellent tcmtech Excellent tcmtech Excellent tcmtech Excellent tcmtech Excellent tcmtech Excellent tcmtech Excellent tcmtech Excellent
    Join Date
    Feb 2009
    Location
    Sawyer, North Dakota, USA
    Posts
    3,033
    Blog Entries
    2

    You could just use two outputs per motor to drive two SPDT relays so that when both are off the motor is off and when each is activated they either tell it to go forward or reverse.
    "Issue a general safety warning. Then look the other way and allow stupidity the chance to eliminate itself." -- tcmtech
    "Those who can, Will. Those who can't, will achieve positions of power over those who can and then promptly stop them." -- tcmtech
    "Your impossibility may just be my day to day routine." -- tcmtech

  4. #4
    ppcandieq Newbie
    Join Date
    Nov 2009
    Posts
    4

    Hi Boncuk,

    I dun understand bout ur suggestion..can u help me give the detail information???

    tcmtech,

    can u explain me the detail of your suggestion??

  5. #5
    Boncuk Excellent Boncuk Excellent Boncuk Excellent Boncuk Excellent Boncuk Excellent Boncuk Excellent Boncuk Excellent
    Join Date
    Nov 2007
    Location
    Phetchabun,Thailand
    Posts
    3,302

    Hi ppcandieq,

    I also don't understand how a PLC can output 24V. PLC are logic devices operating at 5 respectively 3.3V.

    To control a motor the supply voltage of the PLC has no effect on the motor drive circuit which must accept logic level control though.

    You can either use relays via transistors to be connected to the I/O pins of the PLC or use a full H-bridge.

    Relays get annoying when used frequently because of their clicking noise. An H-bridge does the switching (silently) using internal power MosFet transistors.

    Using relays or an H-bridge you must take care that both outputs have the same level to stop the motor and reverse direction after it has come to a full stop.

    Otherwise you might burn up the relays and/or the motor.

    Boncuk
    Proper Planning Prevents Piss Poor Performance

  6. #6
    ppcandieq Newbie
    Join Date
    Nov 2009
    Posts
    4

    hi boncuk..

    from the output of PLC,it use to ON the relay..
    n as i know,power window motor is 12V right?
    So,i use the 12V power supply to the contacter of the relay..
    But,i forgot the circuit controller already..
    thats why i need a forward reverse controller circuit..

  7. #7
    tcmtech Excellent tcmtech Excellent tcmtech Excellent tcmtech Excellent tcmtech Excellent tcmtech Excellent tcmtech Excellent tcmtech Excellent
    Join Date
    Feb 2009
    Location
    Sawyer, North Dakota, USA
    Posts
    3,033
    Blog Entries
    2

    To do the two relay method you connect the motor leads one to each common of each relay. Then connect the normally open contacts of each relay to positive and the normally closed contact to the negative.

    When one relay is activated it takes that motor lead from negative to positive. When the other is activated it takes the other lead from negative to positive thusly reversing the motor in reference to the other relay.

    Most commercial PLC system I have ever been around used either 24 VDC or 120 VAC for the outputs. Or just a basic isolated relay unless it was an application specific output device. But yes there are probably many other styles as well.
    "Issue a general safety warning. Then look the other way and allow stupidity the chance to eliminate itself." -- tcmtech
    "Those who can, Will. Those who can't, will achieve positions of power over those who can and then promptly stop them." -- tcmtech
    "Your impossibility may just be my day to day routine." -- tcmtech

  8. #8
    ppcandieq Newbie
    Join Date
    Nov 2009
    Posts
    4

    tcmtech..

    thanks 4 ur advise..can you give me the wiring circuit???

  9. #9
    Boncuk Excellent Boncuk Excellent Boncuk Excellent Boncuk Excellent Boncuk Excellent Boncuk Excellent Boncuk Excellent
    Join Date
    Nov 2007
    Location
    Phetchabun,Thailand
    Posts
    3,302

    Hi ppcandieq,

    here are a circuit diagram and a PCB layout.

    Function table is printed in the schematic.

    The PCB design is single sided and measures 2.4875X1.65inches. Relays are capable of 8A. Relay brand is "FINDER".

    Boncuk
    Attached Images
    Proper Planning Prevents Piss Poor Performance

+ Reply to Thread

Similar Threads

  1. Design of controlling motor in forward / reverse
    By Maferic in forum Electronic Projects Design/Ideas/Reviews
    Replies: 1
    Latest: 21st July 2009, 11:18 PM
  2. washer motor forward reverse motion with pic
    By abel2b in forum Micro Controllers
    Replies: 24
    Latest: 2nd June 2008, 06:24 PM
  3. DC motor that can turn forward and reverse direction.
    By xiaobai00 in forum Electronic Projects Design/Ideas/Reviews
    Replies: 15
    Latest: 30th November 2007, 06:34 PM
  4. H Bridge forward/reverse power.
    By 2camjohn in forum General Electronics Chat
    Replies: 8
    Latest: 2nd December 2006, 11:35 AM
  5. 12vdc Motor operation forward and reverse
    By WERESCUE in forum Electronic Projects Design/Ideas/Reviews
    Replies: 2
    Latest: 18th October 2003, 11:33 PM

Tags for this Thread